Thread: Errors
View Single Post
Old 11-11-2010, 02:28 PM   #1
Caitlin
Junior Member
Caitlin began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2010
Device: Sony P650 Touch edition
Errors

Hi there..first I want to say thnx for this nice program. But since yesterday after i installed the latest update(already un-installed it) i have a problem. When I start Calibre and the connection with my Sony P650 is made i receive an error:
Failed to make connection.
All strings must be XML compatible: Unicode or ASCII, no NULL bytesTraceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 69, in run
File "site-packages\calibre\gui2\device.py", line 311, in _books
File "site-packages\calibre\devices\prs505\driver.py", line 139, in books File "site-packages\calibre\devices\usbms\driver.py", line 164, in books File "site-packages\calibre\devices\prs505\driver.py", line 164, in sync_booklists
File "site-packages\calibre\devices\prs505\sony_cache.py", line 417, in update
File "site-packages\calibre\devices\prs505\sony_cache.py", line 657, in update_text_record File "lxml.etree.pyx", line 634, in lxml.etree._Element.set (src/lxml/lxml.etree.c:31548)
File "apihelpers.pxi", line 487, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:13896)
File "apihelpers.pxi", line 1242, in lxml.etree._utf8 (src/lxml/lxml.etree.c:19848) ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes


I know for sure that my Sony is connected cause the Original program that comes with the sony works

And when i try to send a book to the device this message shows up and i am not able to transfer books:

AttributeError: 'list' object has no attribute 'add_book'
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 298, in dispatch
File "site-packages\calibre\gui2\device.py", line 1370, in books_uploaded
File "site-packages\calibre\gui2\device.py", line 387, in add_books_to_metadataFile "site-packages\calibre\devices\usbms\driver.py", line 247, in add_books_to_metadata
AttributeError: 'list' object has no attribute 'add_book'


ALso, all the collections(about 12) i have made on the device are gone. the books are still there.
I hope you can help me out with this problem. I made no changes, it just happend.

Thnx in advance for helping me out,
MCait
Caitlin is offline   Reply With Quote