![]() |
#1 |
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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,201
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have fixed the second error you report, which was a simple typo, but for the others you should open a bug report and attach the book files that cause the errors.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Introducing New tool: "Polish" Books | kovidgoyal | Calibre | 134 | 10-12-2024 03:02 AM |
"Polish Books" Should Be Renamed | bbildman | Library Management | 2 | 03-01-2013 01:58 PM |
"Errors" Purchasing Books from Kobo | Jesslynne | Kobo Reader | 10 | 12-29-2012 07:43 PM |
KT "Ghost covers/files" again at 670 books, "stale" image entries in firmware | VirgoGirl | Kobo Reader | 4 | 04-06-2012 02:10 PM |
Used "That Plugin" Now My Kindle Books... | Anarel | Plugins | 3 | 06-02-2010 01:32 PM |