Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-06-2022, 06:04 AM   #1
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Problem with Android 11 and Calibre Companion

With 2 different Android 11 devices and Calibre Companion (wireless device), the following error occurs (sometimes) for more than approximately 16,000 books
Code:
calibre, version 6.9.0
FEHLER: Fehler: Fehler beim Kommunizieren mit dem Gerät

There was a timeout while communicating with the device in function: Device did not respond in reasonable time

Traceback (most recent call last):
  File "calibre\devices\smart_device_app\driver.py", line 678, in _receive_from_client
  File "calibre\devices\smart_device_app\driver.py", line 594, in _read_string_from_net
  File "calibre\devices\smart_device_app\driver.py", line 579, in _read_binary_from_net
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 88, in run
  File "calibre\gui2\device.py", line 540, in _books
  File "calibre\devices\smart_device_app\driver.py", line 59, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 1299, in books
  File "calibre\devices\smart_device_app\driver.py", line 59, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 658, in _call_client
  File "calibre\devices\smart_device_app\driver.py", line 690, in _receive_from_client
calibre.devices.errors.TimeoutError: There was a timeout while communicating with the device in function: Device did not respond in reasonable time
Not with other devices and not when there are fewer books.
And it happens on different networks.

Last edited by ottischwenk; 12-06-2022 at 06:06 AM.
ottischwenk is online now   Reply With Quote
Old 12-06-2022, 07:13 AM   #2
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,043
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Moderator Notice
Moved to CC forum
chaley is offline   Reply With Quote
Advert
Old 12-06-2022, 07:14 AM   #3
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,043
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
CC has been abandoned and is no longer supported.
chaley is offline   Reply With Quote
Old 12-06-2022, 07:23 AM   #4
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by chaley View Post
Moved to CC forum
But it is a Calibre timeout problem
ottischwenk is online now   Reply With Quote
Old 12-06-2022, 07:26 AM   #5
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,043
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ottischwenk View Post
But it is a Calibre timeout problem
You don't know that. It is probably caused by CC timing out or sleeping or being pushed to background or some other Android battery saver thing. There is no way to debug it without source for CC, which is not available.
chaley is offline   Reply With Quote
Advert
Old 12-06-2022, 02:40 PM   #6
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by chaley View Post
You don't know that. It is probably caused by CC timing out or sleeping or being pushed to background or some other Android battery saver thing. There is no way to debug it without source for CC, which is not available.
Are you sure, that this is a Calibre Companion problem?
It works everytime, when using in Calibre a virtual library with app 6000 (from my more than 16.000) books and ending it when connection is completed.
So, I know a workaround.

Last edited by ottischwenk; 12-06-2022 at 02:43 PM.
ottischwenk is online now   Reply With Quote
Old 12-06-2022, 02:51 PM   #7
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,043
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ottischwenk View Post
Are you sure, that this is a Calibre Companion problem?
It works everytime, when using in Calibre a virtual library with app 6000 (from my more than 16.000) books and ending it when connection is completed.
So, I know a workaround.
I am 99% sure. The calibre exception (timeout) says "Device did not respond in reasonable time" which means calibre was waiting for the device. There isn't anything the calibre driver can do if the device doesn't answer.

Back when I owned CC, these situations arose when the device put itself to sleep during a connection. Later versions of android are extremely aggressive about shutting down apps that appear to be doing "background" things. The more books on the device, the longer the "background" task runs. If I were you I would try turning off battery optimization for CC, and possibly extend the screen "sleep timer" to very long.
chaley is offline   Reply With Quote
Old 12-06-2022, 03:10 PM   #8
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by chaley View Post
If I were you I would try turning off battery optimization for CC, and possibly extend the screen "sleep timer" to very long.
Battery optimization is off and sleep timer is off and background activity is allowed.
It depends on how many books are in the (virtual) library in Calibre.
When activating a small virtual library in Calibre, which is terminated after the connection is complete, it always works.
ottischwenk is online now   Reply With Quote
Old 12-14-2022, 04:53 AM   #9
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by chaley View Post
You don't know that. It is probably caused by CC timing out or sleeping or being pushed to background or some other Android battery saver thing.
No - its a file system problem with many books (16500) of Android 11 Boox Devices - Tab Ultra needs to open this folder 7 minutes 20
ottischwenk is online now   Reply With Quote
Old 12-14-2022, 05:39 PM   #10
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,043
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ottischwenk View Post
No - its a file system problem with many books (16500) of Android 11 Boox Devices - Tab Ultra needs to open this folder 7 minutes 20
Perhaps this is a manifestation of Android's FAT32 problem.

Does this old CC FAQ help?
chaley is offline   Reply With Quote
Old 12-15-2022, 02:50 AM   #11
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by chaley View Post
Perhaps this is a manifestation of Android's FAT32 problem.
No, because it works.
And I can add books with cloud or server connection.
The problem is with wireless device.
Quote:
Does this old CC FAQ help?
No - when I tried the last, it started with a timeout (wireless device - no books)

Last edited by ottischwenk; 12-15-2022 at 06:42 AM.
ottischwenk is online now   Reply With Quote
Old 12-17-2022, 01:51 PM   #12
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by ottischwenk View Post
No - when I tried the last, it started with a timeout (wireless device - no books)
This message is wrong!
The last
{first_author:%1.1s}/{first_author}/{title} - {authors}
dit it!
ottischwenk is online now   Reply With Quote
Old 12-26-2022, 12:31 PM   #13
vikarti
Groupie
vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.
 
Posts: 184
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
Quote:
Originally Posted by ottischwenk View Post
This message is wrong!
The last
{first_author:%1.1s}/{first_author}/{title} - {authors}
dit it!
I thought everybody with large library uses something like it (I do, performance was terrible without it on top devices and it timeouted on less than top ones)
vikarti is offline   Reply With Quote
Old 12-26-2022, 01:59 PM   #14
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by vikarti View Post
I thought everybody with large library uses something like it (I do, performance was terrible without it on top devices and it timeouted on less than top ones)
Yes - but this wasn't that which caused the problem.
It is a bug in the Tab Ultra file system that is only triggered by a single book transfer from Calibre Companion.

Last edited by ottischwenk; 12-26-2022 at 04:11 PM.
ottischwenk is online now   Reply With Quote
Old 01-29-2023, 04:18 AM   #15
ottischwenk
Wizard
ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.ottischwenk ought to be getting tired of karma fortunes by now.
 
ottischwenk's Avatar
 
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
Quote:
Originally Posted by ottischwenk View Post
Yes - but this wasn't that which caused the problem.
It is a bug in the Tab Ultra file system that is only triggered by a single book transfer from Calibre Companion.
In addition, under Android 11 "get list of books on device" is often delivered too slowly, so that the timeout set to 5 minutes in Calibre takes effect.
This bug is known and triaged.
ottischwenk is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Android] Calibre Companion Noob, Need Help Making Calibre Library Show Up on Shelf bookiebabe Calibre Companion 4 02-10-2017 10:37 PM
Calibre Companion on Android Joltin Calibre Companion 1 05-10-2014 07:03 AM
[Android App] Problem with Calibre Companion vadiml Calibre Companion 4 01-06-2013 07:42 AM
[Android App] Best Android reader software for use with Calibre / Calibre Companion ellett Devices 11 12-16-2012 05:27 PM
Calibre (or Calibre Companion) For Fetching News Directly Onto Android Tablets? mojumoka Devices 2 12-11-2012 01:18 PM


All times are GMT -4. The time now is 12:04 PM.


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