Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2013, 04:09 PM   #1
MelBr
Zealot
MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.
 
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.
MelBr is offline   Reply With Quote
Old 03-04-2013, 11:27 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,867
Karma: 22666666
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.
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Introducing New tool: "Polish" Books kovidgoyal Calibre 131 01-29-2023 04:41 PM
"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


All times are GMT -4. The time now is 09:10 PM.


MobileRead.com is a privately owned, operated and funded community.