Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
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
Old 05-04-2013, 11:20 AM   #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: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://bugs.launchpad.net/calibre/+bug/1176314
kovidgoyal is offline   Reply With Quote
Advert
Old 05-04-2013, 11:24 AM   #3
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
Thanks for your quick reply Kovid!
K8HW is offline   Reply With Quote
Old 05-04-2013, 12:04 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,688
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Interesting Side effect.

I previously had the K4NT side connected.
When I started the Wireless server, and received that error message (I cleared):
Calibre showed a device connected.
When I switched to Device, I saw the books that were on the K4NT that had been previously attached.
theducks is offline   Reply With Quote
Old 05-04-2013, 05:37 PM   #5
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,243
Karma: 7400001
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Forma, Libra 2, Clara 2E, Kindle Oasis3, Voyage
Thanks for fixing this.
Skydog is offline   Reply With Quote
Advert
Old 05-04-2013, 06:07 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,688
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
A re-download and install now Works
theducks is offline   Reply With Quote
Old 05-04-2013, 06:43 PM   #7
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,243
Karma: 7400001
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Forma, Libra 2, Clara 2E, Kindle Oasis3, Voyage
Quote:
Originally Posted by theducks View Post
A re-download and install now Works
Thanks for that!
Skydog is offline   Reply With Quote
Old 05-12-2013, 08:39 AM   #8
Madmik
Junior Member
Madmik began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2011
Device: Sony T1, Samsung Galaxy SIII
I am terribly sorry, but issue is not fixed completely - I have 0.9.30 (both 32bit and 64 bit versions on Win 7) - 64 bit version still displays communication error, 32 but version connects after few attempts and takes forever to synch (metadata is being sent back and forth between Calibre and Companion...). Kindly take a deeper look on what happened.
Madmik is offline   Reply With Quote
Old 05-12-2013, 11:27 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Madmik View Post
I am terribly sorry, but issue is not fixed completely - I have 0.9.30 (both 32bit and 64 bit versions on Win 7) - 64 bit version still displays communication error, 32 but version connects after few attempts and takes forever to synch (metadata is being sent back and forth between Calibre and Companion...). Kindly take a deeper look on what happened.
One thread is enough. See my answer in https://www.mobileread.com/forums/sho...76#post2511876.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't connect to iTunes (OS X) Devon Devices 73 11-26-2014 05:32 PM
[Android App] Can't get Calibre Companion to connect theangelicious1 Devices 2 09-01-2012 04:09 AM
Help!! My Kobo Ereader Won't Connect to Calibre Manish00333 Devices 4 08-30-2012 05:33 PM
Calibre won't connect to Stanza Mikki_102 Calibre 2 06-15-2012 08:04 AM
Calibre won't connect to iTunes bookcroc Devices 17 02-05-2011 02:11 PM


All times are GMT -4. The time now is 06:02 AM.


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