View Single Post
Old 04-14-2017, 05:07 AM   #20
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: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Steve_Haley View Post
Upon further examination I can see that it does report an error later on.

Spoiler:
SMART_DEV ( 142.34: 0.000) _receive_from_client protocol error -- empty json string
SMART_DEV ( 142.36: 0.000) _call_client other exception
Traceback (most recent call last):
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 615, in _call_client
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 657, in _receive_from_client
ControlError: Device responded with incorrect information
That is probably CC disconnecting. I made a mistake when I designed the protocol, not including an explicit disconnect sequence. Instead, one end or the other simply closes the socket. The connection partner sees that as a network error and then closes its side of the connection.
chaley is offline   Reply With Quote