-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
File "/Users/Downloads/epub-to-pdf/epub2pdf/build/lib/epub2pdf.py", line 261, in <module>
main()
~~~~^^
File "/Users/Downloads/epub-to-pdf/epub2pdf/build/lib/epub2pdf.py", line 258, in main
converter.convert()
~~~~~~~~~~~~~~~~~^^
File "/Users/Downloads/epub-to-pdf/epub2pdf/build/lib/epub2pdf.py", line 156, in convert
page_index = self.extract_epub_index(epub, page_names, ncx_name)
File "/Users/Downloads/epub-to-pdf/epub2pdf/build/lib/epub2pdf.py", line 94, in extract_epub_index
with epub.open(nav_text) as xhtml_file:
~~~~~~~~~^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/zipfile/__init__.py", line 1639, in open
zinfo = self.getinfo(name)
File "/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/zipfile/__init__.py", line 1567, in getinfo
raise KeyError(
'There is no item named %r in the archive' % name)
KeyError: "There is no item named '/OEBPS/cover.xhtml' in the archive"
It seems that the epub2pdf needs to have something cover.xhtml to be able to further proceed to pdf conversion
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels