Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2017, 08:06 PM   #1
loviedovie
Addict
loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.loviedovie ought to be getting tired of karma fortunes by now.
 
Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
ValueError: strings can't contains control characters; use plistlib.Data instead

I get infinite pop up thing (error unhandled exception) when I try to match a book with illegal characters (from a device) and I cant get rid of the cancel window I am not sure what it is called. But here is the log.

Maybe it is already fixed in v3 but I just want to make sure the dev knows about it in case it is not fixed in v3.


Traceback (most recent call last):
File "site-packages/calibre/gui2/dialogs/match_books.py", line 218, in reject
File "site-packages/calibre/gui2/dialogs/match_books.py", line 195, in close
File "site-packages/calibre/gui2/dialogs/match_books.py", line 192, in save_state
File "site-packages/calibre/gui2/widgets.py", line 677, in save_history
File "site-packages/calibre/utils/config.py", line 353, in set
File "site-packages/calibre/utils/config.py", line 350, in __setitem__
File "site-packages/calibre/utils/config.py", line 371, in commit
File "site-packages/calibre/utils/config.py", line 305, in to_raw
File "plistlib.py", line 110, in writePlistToString
File "plistlib.py", line 94, in writePlist
File "plistlib.py", line 252, in writeValue
File "plistlib.py", line 281, in writeDict
File "plistlib.py", line 258, in writeValue
File "plistlib.py", line 287, in writeArray
File "plistlib.py", line 239, in writeValue
File "plistlib.py", line 172, in simpleElement
File "plistlib.py", line 215, in _escapeAndEncode
ValueError: strings can't contains control characters; use plistlib.Data instead

Last edited by loviedovie; 06-28-2017 at 08:59 PM.
loviedovie is offline   Reply With Quote
Old 06-28-2017, 11:47 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: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This should fix it: https://github.com/kovidgoyal/calibr...ebc3eba3e1a3d6
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
(Change icon theme) ValueError: No JSON object could be decoded chaot Devices 3 09-30-2015 12:22 PM
ValueError vikischeldrup Library Management 1 01-02-2015 07:26 AM
Understanding bidirectional Unicode control characters PoP Workshop 9 04-27-2013 11:01 AM
Saving to disk -> ValueError: I/O operation on closed file Backi Calibre 2 05-05-2012 02:29 PM
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL by nimblebooks Conversion 5 11-04-2011 12:38 PM


All times are GMT -4. The time now is 11:42 PM.


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