Zealot
Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
|
"Polish books" plugin errors...
I'm going through my books and cleaning up cruft from them and I've had numerous failures of "Polish books" plugin. They're mostly of three types. I've included error messages below.
Anyone else encountered these issues? I basically have UpdateMetadata/UpdateCover/RemoveJacket options selected.
-------------------------
calibre, version 0.9.21 (darwin, isfrozen: True)
Conversion Error: Failed: Polish The Deeper Meaning
Polish The Deeper Meaning
Python function terminated unexpectedly: 'NoneType' object has no attribute 'startswith'
Found existing cover page
Existing cover page is a simple wrapper, removing it
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 189, in main
File "site-packages/calibre/ebooks/oeb/polish/main.py", line 186, in gui_polish
File "site-packages/calibre/ebooks/oeb/polish/main.py", line 167, in polish
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 550, in commit
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 426, in commit
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 404, in commit_item
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 393, in serialize_item
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 383, in format_opf
AttributeError: 'NoneType' object has no attribute 'startswith'
-------------------
calibre, version 0.9.21 (darwin, isfrozen: True)
Conversion Error: Failed: Polish The Artful
Polish The Artful
Python function terminated unexpectedly: 'builtin_function_or_method' object has no attribute 'remove'
Found existing cover page
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 189, in main
File "site-packages/calibre/ebooks/oeb/polish/main.py", line 186, in gui_polish
File "site-packages/calibre/ebooks/oeb/polish/main.py", line 135, in polish
File "site-packages/calibre/ebooks/oeb/polish/cover.py", line 40, in set_cover
File "site-packages/calibre/ebooks/oeb/polish/cover.py", line 237, in set_epub_cover
File "site-packages/calibre/ebooks/oeb/polish/cover.py", line 195, in remove_cover_image_in_page
AttributeError: 'builtin_function_or_method' object has no attribute 'remove'
-----------------
Polish Johnny
Python function terminated unexpectedly: u'Johnny_and_split_000.html'
Found existing cover page
Initial parse failed, using more forgiving parsers
Parsing Johnny_and_split_002.html as HTML
Existing cover page is a simple wrapper, removing it
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 189, in main
File "site-packages/calibre/ebooks/oeb/polish/main.py", line 186, in gui_polish
File "site-packages/calibre/ebooks/oeb/polish/main.py", line 135, in polish
File "site-packages/calibre/ebooks/oeb/polish/cover.py", line 40, in set_cover
File "site-packages/calibre/ebooks/oeb/polish/cover.py", line 262, in set_epub_cover
File "site-packages/calibre/ebooks/oeb/polish/replace.py", line 50, in replace_links
File "site-packages/calibre/ebooks/oeb/polish/container.py", line 213, in parsed
KeyError: u'Johnny_and_split_000.html'
Last edited by MelBr; 03-04-2013 at 04:25 PM.
|