View Single Post
Old 10-04-2014, 07:30 AM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by aluisscp View Post
Sorry, I have been away for a while.

So I've tried everything you asked, and nothing worked. I've got the debug file PeterT asked.
Thank you so much for your help by the way.

Code:
Started up in 3.86 seconds with 6 books
Worker Launch took: 0.197999954224
Job: 1 Converter livros 1 de 1 (As cidades invisíveis) finished
Converter livros 1 de 1 (As cidades invisíveis)
	C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
	Resolved conversion options
	calibre version: 2.3.0


Copying file 'c:\calibreTemp\calibre_uq9wzi\kepub_vqzdm__hyphenate' to 'c:\calibreTemp\calibre_uq9wzi\t7s73k_epub_container' as 'kte-css/hyphenation.css'
Adding reference to kte-css/hyphenation.css to file 2000/@public@vhost@g@gutenberg@html@files@2000@2000-h@2000-h-0.htm.html
C:\Program Files\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
  All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (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 195, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 1195, in run
  File "calibre_plugins.koboconversion.conversion.kepub_output", line 98, in convert
  File "calibre_plugins.koboconversion.common", line 73, in modify_epub
  File "calibre_plugins.koboconversion.container", line 158, in add_content_file_reference
  File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
  File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
  File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
  File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
  File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
  File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
The log didn't add much. The only extra is that first line marked in red. Something is producing that when comparing a date. Unfortunately, I can't see where that is coming from.

I can't see why the error you are seeing is happening. It's something about the path or file name. I have attached a test version of the plugin that adds some extra output. It should show the file name that is causing the problem and prove that it is happening where I think it is happening. Can you try this and post the log?
Attached Files
File Type: zip KePub Output-test.zip (26.2 KB, 228 views)
davidfor is offline   Reply With Quote