![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2022
Device: none
|
trouble opening epub
Moderator: if this is not the correct place to post this please feel free to move this post to the appropriate forum.
Hello, I finally made it here after using Calibre for a while (5+ years). But I have a general question. There are books in epub format that I can't seem to open in Calibre, but I can in fbreader. It is an epub file and not a zip file. I can tell you that some of the fonts are missing when I open it in fbreader. Could this be due to missing fonts? I'm using Debian Bookworm on a i7-8550U, if that helps. Without telling you which book it is, I can give you the output of the error: calibre, version 5.37.0 ERROR: Loading book failed: Failed to open the book at ... Click "Show details" for more info. Failed to convert book: ... with error: InputFormatPlugin: EPUB Input running on ... EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main() Traceback (most recent call last): File "calibre/ebooks/conversion/plugins/epub_input.py", line 259, in convert File "calibre/utils/zipfile.py", line 774, in __init__ File "calibre/utils/zipfile.py", line 809, in _GetContents File "calibre/utils/zipfile.py", line 824, in _RealGetContents calibre.utils.zipfile.BadZipfile: File is not a zip file During handling of the above exception, another exception occurred: Traceback (most recent call last): File "runpy.py", line 194, in _run_module_as_main File "runpy.py", line 87, in _run_code File "site.py", line 45, in <module> File "site.py", line 41, in main File "calibre/utils/ipc/worker.py", line 196, in main File "<string>", line 1, in <module> File "calibre/srv/render_book.py", line 823, in viewer_main File "calibre/srv/render_book.py", line 814, in render_for_viewer File "calibre/srv/render_book.py", line 791, in render File "calibre/ebooks/oeb/iterator/book.py", line 62, in extract_book File "calibre/customize/conversion.py", line 242, in __call__ File "calibre/ebooks/conversion/plugins/epub_input.py", line 266, in convert File "calibre/utils/localunzip.py", line 252, in extractall File "calibre/utils/localunzip.py", line 234, in _extractall File "calibre/utils/localunzip.py", line 177, in copy_compressed_file ValueError: Invalid ZIP file, local header is damaged Last edited by jloh; 02-28-2022 at 10:53 PM. Reason: incorrect debian version |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Those errors you posted indicate the filesyoua re trying to open are damaged/not actual epub files.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2022
Device: none
|
ok thank you. I'll just use fbreader on them then.
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@jloh - FTR: EPUBs are rebadged ZIPS with some rules about internal contents
BR |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Perhaps the file is actually some other ebook format with an incorrect .epub extension and fbreader is opening it based on the content rather than the file name.
That is just a guess. I don’t know anything about fbreader. |
![]() |
![]() |
Advert | |
|
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Having trouble with Calibre not opening | DragoLord19d | Devices | 9 | 03-02-2020 08:44 AM |
Trouble opening file on kindle | sly_skittle | Calibre | 1 | 03-28-2012 02:52 PM |
trouble opening calibre | rhd1884 | Calibre | 3 | 05-07-2011 04:30 PM |
Trouble opening NY Times in sony ereader | ebeach | Sony Reader | 1 | 09-15-2009 04:52 AM |