Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2018, 08:02 AM   #1
Lizj1
Enthusiast
Lizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileRead
 
Posts: 39
Karma: 65576
Join Date: May 2012
Location: Glasgow, Scotland
Device: Kindle Fire HDX 8.9, Kindle 3, Kobo H20
Question Failed: Polish

Hi,

Polish is failing on every book I try it on. I updated Calibre and all plugins, but no luck.

I notice that the error log mentions win32, although I downloaded and installed the 64-bit version, and I am running the 64 bit version on Win 10.

None of the books I have tried has a kepub version, but I do have the kepub plugins installed.

Any ideas?

Spoiler:
calibre, version 3.26.1 (win32, embedded-python: True)
Conversion error: Failed: Polish At Peace

Polish At Peace
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Output.zip'
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Metadata Writer.zip'
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Metadata Reader.zip'
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Input.zip'
Python function terminated unexpectedly
coercing to Unicode: need string or buffer, list found (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 270, in gui_polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 248, in polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 165, in polish_one
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 143, in update_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 113, in set_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 56, in set_metadata_opf2
File "site-packages\calibre\ebooks\metadata\opf2.py", line 1341, in smart_update
File "site-packages\calibre\ebooks\metadata\book\base.py", line 562, in smart_update
TypeError: coercing to Unicode: need string or buffer, list found


Liz
Lizj1 is offline   Reply With Quote
Old 06-17-2018, 12:21 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: 33,384
Karma: 10205094
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Start calibre from a commadn prompy with

calibre.exe --ignore-plugins

and see if it helps.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-19-2018, 12:56 PM   #3
Lizj1
Enthusiast
Lizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileRead
 
Posts: 39
Karma: 65576
Join Date: May 2012
Location: Glasgow, Scotland
Device: Kindle Fire HDX 8.9, Kindle 3, Kobo H20
hmm, I did as you suggested Kovid, and I was able to polish a book. But then I tried 1 where I had changed the cover, and it failed again.


Spoiler:
calibre, version 3.26.1 (win32, embedded-python: True)
Conversion error: Failed: Polish Creed

Polish Creed
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Output.zip'
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Metadata Writer.zip'
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Metadata Reader.zip'
Failed to initialize plugin: u'C:\\Users\\lizjo\\AppData\\Roaming\\calibre\\plu gins\\KePub Input.zip'
Parsing all content...
Parsing text/part0024.html ...
Parsing text/part0019.html ...
Parsing text/part0025.html ...
Parsing text/part0018.html ...
Parsing text/part0026.html ...
Parsing text/part0027.html ...
Parsing text/part0028.html ...
Parsing text/part0008.html ...
Parsing text/part0012.html ...
Parsing text/part0017.html ...
Parsing text/part0011.html ...
Parsing text/part0013.html ...
Parsing text/part0010.html ...
Parsing text/part0007.html ...
Parsing text/part0001.html ...
Parsing text/part0000.html ...
Parsing text/part0014.html ...
Parsing text/part0002.html ...
Parsing text/part0003.html ...
Parsing text/part0004.html ...
Parsing text/part0015.html ...
Parsing text/part0005.html ...
Parsing text/part0020.html ...
Parsing text/part0009.html ...
Parsing text/part0021.html ...
Parsing text/part0006.html ...
Parsing text/part0016.html ...
Parsing text/part0022.html ...
Parsing text/part0023.html ...
Reading TOC from NCX...
Serializing resources...
Creating KF8 output
Generating KF8 markup...
Compressing markup...
Creating indices...
Python function terminated unexpectedly
coercing to Unicode: need string or buffer, list found (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 270, in gui_polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 248, in polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 165, in polish_one
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 143, in update_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 113, in set_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 56, in set_metadata_opf2
File "site-packages\calibre\ebooks\metadata\opf2.py", line 1341, in smart_update
File "site-packages\calibre\ebooks\metadata\book\base.py", line 562, in smart_update
TypeError: coercing to Unicode: need string or buffer, list found


The error log still mentions kepub plugins, so I removed them and tried again, but still no joy.

Spoiler:
calibre, version 3.26.1 (win32, embedded-python: True)
Conversion error: Failed: Polish Creed

Polish Creed
Parsing all content...
Parsing text/part0020.html ...
Parsing text/part0003.html ...
Parsing text/part0021.html ...
Parsing text/part0004.html ...
Parsing text/part0022.html ...
Parsing text/part0005.html ...
Parsing text/part0023.html ...
Parsing text/part0006.html ...
Parsing text/part0024.html ...
Parsing text/part0025.html ...
Parsing text/part0012.html ...
Parsing text/part0026.html ...
Parsing text/part0013.html ...
Parsing text/part0008.html ...
Parsing text/part0027.html ...
Parsing text/part0014.html ...
Parsing text/part0028.html ...
Parsing text/part0015.html ...
Parsing text/part0007.html ...
Parsing text/part0016.html ...
Parsing text/part0011.html ...
Parsing text/part0017.html ...
Parsing text/part0018.html ...
Parsing text/part0019.html ...
Parsing text/part0010.html ...
Parsing text/part0002.html ...
Parsing text/part0009.html ...
Parsing text/part0001.html ...
Parsing text/part0000.html ...
Reading TOC from NCX...
Serializing resources...
Creating KF8 output
Generating KF8 markup...
Compressing markup...
Creating indices...
Python function terminated unexpectedly
coercing to Unicode: need string or buffer, list found (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 270, in gui_polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 248, in polish
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 165, in polish_one
File "site-packages\calibre\ebooks\oeb\polish\main.py", line 143, in update_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 113, in set_metadata
File "site-packages\calibre\ebooks\metadata\opf.py", line 56, in set_metadata_opf2
File "site-packages\calibre\ebooks\metadata\opf2.py", line 1341, in smart_update
File "site-packages\calibre\ebooks\metadata\book\base.py", line 562, in smart_update
TypeError: coercing to Unicode: need string or buffer, list found


I'm going to try complete uninstall and reinstall, see if that works.

Liz
Lizj1 is offline   Reply With Quote
Old 06-19-2018, 01:00 PM   #4
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: 33,384
Karma: 10205094
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In that case attach one of these books that is failing even with --ignore-plugins
kovidgoyal is offline   Reply With Quote
Old 06-19-2018, 04:48 PM   #5
Lizj1
Enthusiast
Lizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileReadLizj1 has read every ebook posted at MobileRead
 
Posts: 39
Karma: 65576
Join Date: May 2012
Location: Glasgow, Scotland
Device: Kindle Fire HDX 8.9, Kindle 3, Kobo H20
Thanks Kovid,

So after I reinstalled, it seemed like only books by one author had a problem. I deleted the epbub and azw3 formats, reconverted them from mobi, and after that, they polish ok.

If I find more that still won't polish, I'll come back.

Thanks again,
Liz
Lizj1 is offline   Reply With Quote
Advert
Reply

Tags
fail, polish

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Polish svda Library Management 3 06-06-2018 07:01 AM
Polish dictionary San Zamoyski Kindle Developer's Corner 18 05-25-2016 06:44 AM
GUI [Polish] vs. CLI ebook-polish phossler Calibre 6 10-01-2015 08:27 AM
Failed feed: Tips_<urlopen error [Errno 11004] getaddrinfo failed> Danesh Recipes 4 03-19-2015 03:45 AM
polish book - failed to initialise... messages ? cybmole Calibre 3 05-02-2014 05:19 AM


All times are GMT -4. The time now is 02:59 AM.


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