View Single Post
Old 05-04-2013, 09:59 AM   #1
K8HW
Connoisseur
K8HW began at the beginning.
 
K8HW's Avatar
 
Posts: 90
Karma: 10
Join Date: Aug 2012
Location: Westland, MI
Device: Galaxy A03s, Galaxy Tab A, Kindle Paperwhite (10th Gen), Nexus 7
Unhappy Calibre 0.9.29 won't connect with Calibre Companion

I just upgraded to Calibre 0.9.29 and find that Calibre Companion will no longer connect. Here is the error:

calibre, version 0.9.29
ERROR: Error: Error communicating with device

Assigning to this object is forbidden

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 470, in _books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 49, in _synchronizer
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1043, in books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 716, in _set_known_metadata
File "site-packages\calibre\ebooks\metadata\book\base.py", line 182, in deepcopy
File "copy.py", line 163, in deepcopy
File "copy.py", line 257, in _deepcopy_dict
File "copy.py", line 190, in deepcopy
File "copy.py", line 334, in _reconstruct
File "copy.py", line 163, in deepcopy
File "copy.py", line 257, in _deepcopy_dict
File "copy.py", line 190, in deepcopy
File "copy.py", line 358, in _reconstruct
File "site-packages\calibre\library\field_metadata.py", line 427, in __setitem__
AttributeError: Assigning to this object is forbidden

Here is the error log:

calibre Debug log
calibre 0.9.29 Portable isfrozen: True is64bit: False
Windows-Vista-6.0.6002-SP2 Windows ('32bit', 'WindowsPE')
('Windows', 'Vista', '6.0.6002')
Python 2.7.3
Windows: ('Vista', '6.0.6002', 'SP2', 'Multiprocessor Free')
Starting up...
Started up in 28.06 seconds with 1630 books
SMART_DEV ( 0.02: 0.017) _attach_to_port try ip address "" on port 9090
SMART_DEV ( 2.07: 0.810) startup_on_demand listening on port 9090
SMART_DEV ( 2.52: 0.010) _attach_to_port try ip address "" on port 54982
SMART_DEV ( 2.98: 0.000) startup_on_demand broadcast socket listening on port 54982
SMART_DEV ( 4.43: 1.009) run All IP addresses {'{C328FED4-6A85-11DB-9FBD-806E6F6E6963}': [{'broadcast': '127.255.255.255', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'}], '{359343B6-A71B-4780-B7D0-2AE4A7C42E68}': [{'broadcast': '192.168.1.255', 'netmask': '255.255.255.0', 'addr': '192.168.1.70'}]}
SMART_DEV ( 9.52: 5.009) run received broadcast ('localhost', ('192.168.1.71', 54982)) calibre wireless device client (on Mr-Bill);8080,9090
SMART_DEV ( 12.61: 3.000) run attempt to open device socket
SMART_DEV ( 13.67: 0.977) reset
SMART_DEV ( 13.83: 0.000) set_progress_reporter
SMART_DEV ( 14.03: 0.000) open
SMART_DEV ( 14.25: 0.021) _call_client GET_INITIALIZATION_INFO wfr True
SMART_DEV ( 14.73: 0.296) open App version #: 38
SMART_DEV ( 14.90: 0.000) open Device can stream books True
SMART_DEV ( 15.10: 0.000) open Device can stream metadata True
SMART_DEV ( 15.29: 0.000) open Device can receive book binary True
SMART_DEV ( 15.44: 0.000) open Device can delete multiple books True
SMART_DEV ( 15.60: 0.000) open Client device kind NookColor
SMART_DEV ( 15.77: 0.000) open max_book_packet_len 4096
SMART_DEV ( 15.93: 0.000) open Device wants UUID file names False
SMART_DEV ( 16.21: 0.086) open selected formats [u'epub', u'mobi', u'pdf']
SMART_DEV ( 16.40: 0.000) open extension path lengths {u'pdf': 30, u'mobi': 30, u'epub': 30}
SMART_DEV ( 16.56: 0.000) open cover height 160
SMART_DEV ( 16.72: 0.002) card_prefix
SMART_DEV ( 17.96: 0.968) set_progress_reporter
Job: 1 Get device information started
SMART_DEV ( 18.34: 0.000) get_device_information
SMART_DEV ( 18.84: 0.013) _call_client GET_DEVICE_INFORMATION wfr True
SMART_DEV ( 19.66: 0.357) _call_client SET_CALIBRE_DEVICE_INFO wfr True
SMART_DEV ( 20.26: 0.414) card_prefix
SMART_DEV ( 20.42: 0.001) free_space
SMART_DEV ( 20.59: 0.008) _call_client FREE_SPACE wfr True
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
SMART_DEV ( 21.20: 0.415) set_progress_reporter
Job: 2 Get list of books on device started
SMART_DEV ( 21.50: 0.000) books None
SMART_DEV ( 21.91: 0.022) _call_client GET_BOOK_COUNT wfr True
Job: 1 Get device information finished
No details available.
SMART_DEV ( 28.15: 5.728) books getting book metadata. Done 0 of 1597
DeviceJob: 2 Get list of books on device done, calling callback
Assigning to this object is forbidden

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 470, in _books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 49, in _synchronizer
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1043, in books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 716, in _set_known_metadata
File "site-packages\calibre\ebooks\metadata\book\base.py", line 182, in deepcopy
File "copy.py", line 163, in deepcopy
File "copy.py", line 257, in _deepcopy_dict
File "copy.py", line 190, in deepcopy
File "copy.py", line 334, in _reconstruct
File "copy.py", line 163, in deepcopy
File "copy.py", line 257, in _deepcopy_dict
File "copy.py", line 190, in deepcopy
File "copy.py", line 358, in _reconstruct
File "site-packages\calibre\library\field_metadata.py", line 427, in __setitem__
AttributeError: Assigning to this object is forbidden

DeviceJob: 2 Get list of books on device callback returned
SMART_DEV ( 28.57: 0.245) _call_client NOOP wfr True
Job: 2 Get list of books on device finished
Assigning to this object is forbidden

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 470, in _books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 49, in _synchronizer
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1043, in books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 716, in _set_known_metadata
File "site-packages\calibre\ebooks\metadata\book\base.py", line 182, in deepcopy
File "copy.py", line 163, in deepcopy
File "copy.py", line 257, in _deepcopy_dict
File "copy.py", line 190, in deepcopy
File "copy.py", line 334, in _reconstruct
File "copy.py", line 163, in deepcopy
File "copy.py", line 257, in _deepcopy_dict
File "copy.py", line 190, in deepcopy
File "copy.py", line 358, in _reconstruct
File "site-packages\calibre\library\field_metadata.py", line 427, in __setitem__
AttributeError: Assigning to this object is forbidden

SMART_DEV ( 30.97: 2.047) _call_client NOOP wfr True
SMART_DEV ( 33.21: 2.045) _call_client NOOP wfr True
SMART_DEV ( 35.47: 2.045) _call_client NOOP wfr True
SMART_DEV ( 37.73: 2.053) _call_client NOOP wfr True
SMART_DEV ( 40.31: 2.175) _call_client NOOP wfr True
SMART_DEV ( 42.78: 2.134) _call_client NOOP wfr True
SMART_DEV ( 45.36: 2.341) _call_client NOOP wfr True
SMART_DEV ( 48.20: 2.041) _call_client NOOP wfr True
SMART_DEV ( 50.73: 2.327) _call_client NOOP wfr True
SMART_DEV ( 53.25: 2.048) _call_client NOOP wfr True
SMART_DEV ( 55.48: 2.044) _call_client NOOP wfr True
SMART_DEV ( 55.67: 0.003) _send_byte_string socket error [Errno 10054] An existing connection was forcibly closed by the remote host 10054
SMART_DEV ( 55.88: 0.000) _call_client device went away
SMART_DEV ( 56.08: 0.000) post_yank_cleanup
READING LIST: Device disconnected

I downgraded to version 0.9.28 of Calibre and everything works just fine. Any help with this would be greatly appreciated.

~Dave
K8HW is offline   Reply With Quote