View Single Post
Old 01-14-2017, 08:04 PM   #208
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 Leonatus View Post
I just connected the Kobo to the computer to download the News I usually receive via Calibre, but today the same error as at kepub conversion is shown. Would it be worth while de- and reinstalling Calibre?
The error Code referrs to the Kobo Touch Extended Driver:
Code:
calibre, version 2.77.0
FEHLER: Fehler: Fehler bei der Kommunikation mit dem Gerät

Fehler beim Einfügen 'kath.net [Sa, 14 Jan 2017]' von 'calibre' mit Fehler: 'All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters' (file: calibre_plugins.kobotouch_extended.container, line: 178)

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 88, in run
  File "site-packages\calibre\gui2\device.py", line 587, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 335, in upload_books
  File "site-packages\calibre\devices\kobo\driver.py", line 1950, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 245, in _modify_epub
InvalidEPub: Fehler beim Einfügen 'kath.net [Sa, 14 Jan 2017]' von 'calibre' mit Fehler: 'All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters' (file: calibre_plugins.kobotouch_extended.container, line: 178)
After uninstalling Kobo Touch Extended Driver, transferring of the newspaper was possible, but trying to convert an epub to kepub showed the same error message.
That error is exactly the same error you saw with the conversion. As you were using the extended driver, it was doing the work of changing the epub to a kepub. The driver and kepub output plugin share code, and the error occurred in exactly the same line.

To test if this is the temporary directory, open a command prompt and do the following:

Code:
SET CALIBRE_TEMP_DIR=C:\TEMP
calibre-debug -g
You will need to create the directory or change it to one that already exists. The seconds command runs calibre in debug mode. You can then try the conversion and see what happens.
davidfor is offline   Reply With Quote