Failure to create catalog

Bug #1463004 reported by Paul on 2015-06-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

version 2.30 Windows 8.1

I am getting SerialisationError: IO_ENCODER when I create a epub catalog. The library is large. I have attempted to create catalogs with smaller parts of the library and they do not get errors. So I all the books are in at least one smaller successful catalogs.
From reading other bug reports, it looks like I have a malformed description. But I can not find out what eBook is causing the error.

...
Looking for large trees in content/book_1658.html...
 No large trees found
 Looking for large trees in content/book_1829.html...
 No large trees found
Python function terminated unexpectedly
  IO_ENCODER (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 132, in main
  File "site.py", line 109, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 193, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 68, in gui_catalog
  File "site-packages\calibre\library\catalogs\epub_mobi.py", line 479, in run
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 1198, in run
  File "site-packages\calibre\ebooks\conversion\plugins\epub_output.py", line 248, in convert
  File "site-packages\calibre\ebooks\conversion\plugins\oeb_output.py", line 48, in convert
  File "lxml.etree.pyx", line 3157, in lxml.etree.tostring (src\lxml\lxml.etree.c:69346)
  File "serializer.pxi", line 135, in lxml.etree._tostring (src\lxml\lxml.etree.c:114380)
  File "serializer.pxi", line 195, in lxml.etree._raiseSerialisationError (src\lxml\lxml.etree.c:115052)
SerialisationError: IO_ENCODER

Paul (pgo) wrote :
Paul (pgo) wrote :
Download full text (6.1 KiB)

I did some additional testing. I was able to create the catalog with first half of the data and create another catalog with the second half. So it looks like there is nothing wrong with the individual items.
I then created the full catalog with (1) descriptions and Genres, (2) description and Authors, (3) description and Series, descriptions and titles, & (4) descriptions, Authors, Genres. All 4 worked on the complete library.
I then tried to create a catalog with descriptions, titles, series, authors & Genres. That failed. So I suspect the failure has to do either with the size of the EPUB catalog or some combination of things in descriptions, titles, series, authors & Genres. that is causing the problem.
Error Message:
descriptions, titles, series, authors & Genres.

 Looking for large trees in content/book_1646.html...
 No large trees found
 Looking for large trees in content/book_1767.html...
 No large trees found
 Looking for large trees in content/book_52.html...
 No large trees found
 Looking for large trees in content/book_6363.html...
 No large trees found
 Looking for large trees in content/book_775.html...
 No large trees found
 Looking for large trees in content/book_2861.html...
 No large trees found
 Looking for large trees in content/book_5388.html...
 No large trees found
 Looking for large trees in content/book_8.html...
 No large trees found
 Looking for large trees in content/book_5901.html...
 No large trees found
 Looking for large trees in content/Genre_intelligenceAMPERSANDespionage.html...
 No large trees found
 Looking for large trees in content/book_3501.html...
 No large trees found
 Looking for large trees in content/book_2221.html...
 No large trees found
 Looking for large trees in content/book_6171.html...
 No large trees found
 Looking for large trees in content/book_3171.html...
 No large trees found
 Looking for large trees in content/book_1303.html...
 No large trees found
 Looking for large trees in content/Genre_interactiveadventures.html...
 No large trees found
 Looking for large trees in content/book_1919.html...
 No large trees found
 Looking for large trees in content/book_3156.html...
 No large trees found
 Looking for large trees in content/book_5401.html...
 No large trees found
 Looking for large trees in content/book_6061.html...
 No large trees found
 Looking for large trees in content/book_6908.html...
 No large trees found
 Looking for large trees in content/book_3157.html...
 No large trees found
 Looking for large trees in content/book_5897.html...
 No large trees found
 Looking for large trees in content/book_6907.html...
 No large trees found
 Looking for large trees in content/book_1988.html...
 No large trees found
 Looking for large trees in content/book_5044.html...
 No large trees found
 Looking for large trees in content/book_246.html...
 No large trees found
 Looking for large trees in content/book_4180.html...
 No large trees found
 Looking for large trees in content/book_5873.html...
 No large trees found
 Looking for large trees in content/book_671.html...
 No large trees found
 Looking for large trees in content/book_5043.html...
 No large trees found
 Looking for large tree...

Read more...

Changing the component for this bug.

 assignee griker
 tag catalogs
 status triaged

Changed in calibre:
assignee: nobody → GRiker (griker)
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments