View Single Post
Old 11-23-2022, 09:22 PM   #17
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,792
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Nsomniak6 View Post
I created them with either the "anthology" option in FFF or Epubmerge plugin but they were separate books from the same series and I was able to keep updating them so probably FFF. I was playing around with one of them and found that I could open it as a mobi but not an epub. I still don't understand why that is though.
OK, I just renamed a genuine MOBI to .EPUB, and opened it in the viewer and got the same error.

Spoiler:
calibre, version 6.8.0
ERROR: Loading book failed: Failed to open the book at C:\_Sandpit\author A - Another Book.epub. Click "Show details" for more info.

Failed to convert book: C:\_Sandpit\author A - Another Book.epub with error:
Traceback (most recent call last):
File "calibre\ebooks\metadata\epub.py", line 160, in get_zip_reader
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 "calibre\customize\ui.py", line 435, in get_file_type_metadata
File "calibre\customize\builtins.py", line 175, in get_metadata
File "calibre\ebooks\metadata\epub.py", line 237, in get_quick_metadata
File "calibre\ebooks\metadata\epub.py", line 216, in get_metadata
File "calibre\ebooks\metadata\epub.py", line 163, in get_zip_reader
File "calibre\utils\localunzip.py", line 263, in __init__
File "calibre\utils\localunzip.py", line 239, in _extractall
ValueError: Not a ZIP file
InputFormatPlugin: EPUB Input running
on C:\_Sandpit\author A - Another Book.epub
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 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 821, in viewer_main
File "calibre\srv\render_book.py", line 812, in render_for_viewer
File "calibre\srv\render_book.py", line 789, 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 239, in _extractall
ValueError: Not a ZIP file


Conclusion: some-one/thing created the file Spoils Anthology - not_poignant.MOBI and some-one/thing renamed the file to Spoils Anthology - not_poignant.EPUB.

BR
BetterRed is offline   Reply With Quote