Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPUB parsing error - file not found in archive #115

Open
throwaway972 opened this issue Sep 22, 2024 · 0 comments
Open

EPUB parsing error - file not found in archive #115

throwaway972 opened this issue Sep 22, 2024 · 0 comments

Comments

@throwaway972
Copy link

throwaway972 commented Sep 22, 2024

Начинаю генерацию книги "https://bookmate.ru/books/Arr7bgRC"
Загружаю картинку https://api.bookmate.ru/assets/books-covers/e9/db/Arr7bgRC-ipad.jpeg?image_hash=bfdda65a77da031f4a7ddc0b235bf3d6
Загружена картинка https://assets-ru.bookmate.yandex.net/assets/books-covers/e9/db/Arr7bgRC-ipad.jpeg?image_hash=bfdda65a77da031f4a7ddc0b235bf3d6
Генерация книги https://bookmate.ru/books/Arr7bgRC завершилась с ошибкой. EpubSharp.EpubParseException: EPUB parsing error: OEBPS/j9a4bl41pn5.jpeg file not found in archive.
   at EpubSharp.Extensions.ZipArchiveExt.GetEntryImproved(ZipArchive archive, String entryName)
   at EpubSharp.EpubReader.LoadResources(ZipArchive epubArchive, EpubBook book)
   at EpubSharp.EpubReader.Read(Stream stream, Boolean leaveOpen, Encoding encoding)
   at Core.Logic.Getters.GetterBase.FillChaptersFromEpub(TempFile shortFile) in D:\a\Elib2Ebook\Elib2Ebook\Core\Logic\Getters\GetterBase.cs:line 170
   at Core.Logic.Getters.GetterBase.FillChaptersFromEpub(TempFile shortFile) in D:\a\Elib2Ebook\Elib2Ebook\Core\Logic\Getters\GetterBase.cs:line 186
   at Core.Logic.Getters.BookmateGetter.Get(Uri url) in D:\a\Elib2Ebook\Elib2Ebook\Core\Logic\Getters\BookmateGetter.cs:line 59
   at Elib2EbookCli.Program.<>c__DisplayClass0_0.<<Main>b__2>d.MoveNext() in D:\a\Elib2Ebook\Elib2Ebook\Elib2EbookCli\Program.cs:line 35

Версия 2.3.1 Windows portable. С другими рассказами из этого сборника проблем нет, очевидно, все указанные файлы на месте. Можно добавить возможность проигнорировать подобную ошибку?

Edit: вопрос решился с помощью ключа --save-temp. Наверное, можно закрывать.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant