08-05-2020, 12:32 PM | #1 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2020
Device: Moon+
|
Error communicating with device
I keep getting the following:
Device closed the network connection Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 90, in run File "site-packages\calibre\gui2\device.py", line 594, in _upload_books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1493, in upload_books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 710, in _put_file File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 648, in _call_client File "site-packages\calibre\devices\smart_device_app\driver.p y", line 684, in _receive_from_client ControlError: Device closed the network connection How do I fix this? |
08-05-2020, 01:10 PM | #2 | |
Groupie
Posts: 195
Karma: 103650
Join Date: Feb 2020
Device: kindle
|
Quote:
Can you send us a debug log? Also is this happening on wireless connection? Thanks, Alex |
|
08-05-2020, 05:09 PM | #3 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2020
Device: Moon+
|
Hi. Yes its on wireless connection.
|
08-05-2020, 06:07 PM | #4 |
Groupie
Posts: 195
Karma: 103650
Join Date: Feb 2020
Device: kindle
|
|
08-06-2020, 12:14 AM | #5 |
Groupie
Posts: 195
Karma: 103650
Join Date: Feb 2020
Device: kindle
|
|
08-06-2020, 11:27 AM | #6 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2020
Device: Moon+
|
Here you go.
Edit: Now I sometimes get the error message host machine closed connection. It seems to happen with my picture heavy books which are large in szie and transfer slower. [Errno 10053] An established connection was aborted by the software in your host machine Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 90, in run File "site-packages\calibre\gui2\device.py", line 594, in _upload_books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1493, in upload_books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 728, in _put_file File "site-packages\calibre\devices\smart_device_app\driver.p y", line 610, in _send_byte_string error: [Errno 10053] An established connection was aborted by the software in your host machine Edit 2: calibre, version 4.22.0 ERROR: Error: Error communicating with device [Errno 10054] An existing connection was forcibly closed by the remote host Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 90, in run File "site-packages\calibre\gui2\device.py", line 594, in _upload_books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1493, in upload_books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 728, in _put_file File "site-packages\calibre\devices\smart_device_app\driver.p y", line 610, in _send_byte_string error: [Errno 10054] An existing connection was forcibly closed by the remote host Last edited by thegameksk; 08-07-2020 at 12:05 AM. |
08-10-2020, 04:14 AM | #7 |
Groupie
Posts: 180
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
|
This sometimes (on normal android devices, a lot of likebook mars with eInk) happens for me too.
Calibre's error message calibre, version 4.22.0 ОШИБКА: Ошибка: Ошибка подключения к устройству There was a timeout while communicating with the device in function: Device did not respond in reasonable time Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 90, in run File "site-packages\calibre\gui2\device.py", line 513, in _books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1295, in books File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 648, in _call_client File "site-packages\calibre\devices\smart_device_app\driver.p y", line 680, in _receive_from_client TimeoutError: There was a timeout while communicating with the device in function: Device did not respond in reasonable time companion log sent via e-mail ~7k books in sync list/on device. Last edited by vikarti; 08-10-2020 at 01:52 PM. |
08-17-2020, 11:13 AM | #8 |
Groupie
Posts: 159
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
Any updates? calibre suddenly couldn't connect to my Kobo device after I installed the latest version of firmware(Kobo Firmware 4.23.15505) days ago.
Here is the error message when trying to connect: ``` calibre, version 4.22.0 ERROR: Error: Error communicating with device CorruptError: database disk image is malformed Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 90, in run File "site-packages\calibre\gui2\device.py", line 543, in _sync_booklists File "calibre_plugins.kobotouch_extended.device.driver" , line 483, in sync_booklists File "site-packages\calibre\devices\kobo\driver.py", line 970, in sync_booklists File "site-packages\calibre\devices\kobo\driver.py", line 2485, in update_device_database_collections File "site-packages\calibre\devices\kobo\driver.py", line 2973, in set_bookshelf File "c:\t\t\apsw-47cp24d7\src\cursor.c", line 236, in resetcursor CorruptError: CorruptError: database disk image is malformed ``` And it failed to backup my database too since it failed to connect: ``` On tree page 425139 cell 61: 2nd reference to page 396348 row 2309 missing from index shelfcontent_datemodified_index row 2309 missing from index sqlite_autoindex_ShelfContent_1 wrong # of entries in index shelfcontent_datemodified_index wrong # of entries in index sqlite_autoindex_ShelfContent_1 Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 90, in run File "calibre_plugins.koboutilities.jobs", line 197, in do_device_database_backup Exception: *** in database main *** On tree page 425139 cell 61: 2nd reference to page 396348 row 2309 missing from index shelfcontent_datemodified_index row 2309 missing from index sqlite_autoindex_ShelfContent_1 wrong # of entries in index shelfcontent_datemodified_index wrong # of entries in index sqlite_autoindex_ShelfContent_1 ``` BUT it actually successfully sent books to my Kobo Forma. Last edited by codychan; 08-17-2020 at 11:20 AM. |
08-17-2020, 01:25 PM | #9 | |
Groupie
Posts: 180
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
|
Quote:
Try with new Calibre library. |
|
08-18-2020, 12:44 AM | #10 |
Groupie
Posts: 159
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
|
10-03-2020, 05:23 PM | #11 |
Connoisseur
Posts: 60
Karma: 10
Join Date: Oct 2010
Location: Texas
Device: Galaxy Tab 3, nook, Nexus 7, iPad
|
I'm getting a similar error message (see below). I was able to connect wirelessly with my Samsung Tablet just fine, but received the error message when trying to connect wirelessly to my Samsung S9 phone. Any brains out there bigger than mine that can offer assistance? TIA.
Device closed the network connection Traceback (most recent call last): File "site-packages\calibre\devices\smart_device_app\driver.p y", line 649, in _call_client File "site-packages\calibre\devices\smart_device_app\driver.p y", line 614, in _send_byte_string ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 89, in run File "site-packages\calibre\gui2\device.py", line 542, in _sync_booklists File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1425, in sync_booklists File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 660, in _call_client calibre.devices.errors.ControlError: Device closed the network connection |
10-04-2020, 02:24 AM | #12 | |
Groupie
Posts: 180
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
|
Quote:
Or just don't change e-mail in this dialog but add some words about what you did and send it to CC's developers. If you decide to post this log here - better check it doesn't containt something you don't want other to see (like books you hve) |
|
10-09-2020, 04:57 PM | #13 |
Connoisseur
Posts: 60
Karma: 10
Join Date: Oct 2010
Location: Texas
Device: Galaxy Tab 3, nook, Nexus 7, iPad
|
Thanks vikarti; prior to reading your response I tried the old standby of rolling back Calibre to v4.23. That solved the problem I posted about above. Now I've got a problem with the count pages plugin, but that's another thread.
Thanks again. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura One: Input/Output error - Error communicating with device | bearymore | Devices | 2 | 07-13-2020 12:37 PM |
Error communicating with device, Cannot write to file, Unspecified error | sunishun | Devices | 6 | 02-04-2019 09:37 PM |
Error: Error communicating with device message | techie6 | Devices | 5 | 04-02-2018 09:25 PM |
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: | e-bookuser | Devices | 1 | 07-03-2011 04:09 PM |
ver 0.6.3 error: Error communicating with device PRS-505 | scripo | Calibre | 4 | 08-01-2009 10:38 PM |