View Single Post
Old 08-11-2018, 04:09 PM   #303
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,839
Karma: 8006346
Join Date: Mar 2015
Device: Kindle, iOS
Greetings! I've been using ePub3-itizer successfully, but ran across an error message with one book:

Code:
..converting: OEBPS/content.opf
..parsing: OEBPS/toc.ncx
Traceback (most recent call last):
File "/Applications/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 135, in launch
self.exitcode = target_script.run(container)
File "/Users/J/Library/Application Support/sigil-ebook/sigil/plugins/ePub3-itizer/plugin.py", line 251, in run
doctitle, toclist, pagelist = parse_ncx(bk, temp_dir)
File "/Users/J/Library/Application Support/sigil-ebook/sigil/plugins/ePub3-itizer/plugin.py", line 564, in parse_ncx
toclist.append((lvl, navlabel, href))
UnboundLocalError: local variable 'navlabel' referenced before assignment
Error: local variable 'navlabel' referenced before assignment
Thank you for any help!

ETA: I created a new toc.ncx (using Sigil's "Generate Table of Contents"), after which the ePub3-itizer plug-in succeeded in converting to ePub3. But I'm still curious as to what went wrong since the epub2 validated.

Last edited by odamizu; 08-11-2018 at 04:21 PM. Reason: more info
odamizu is offline   Reply With Quote