08-20-2017, 02:25 PM | #1 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
[Android] CC Log
Hello.
Can I have some help understanding what's going on in CC from the attached log? I had a problem last year with CC. It wouldn't connect to Calibre. For months now, it's been that way again. I haven't had time to do anything about it until now. I've had to resort to using the Content Server connection. Today, I connected via USB. I sent a book to my device successfully but it wasn't showing up in CC. That's gonna make it hard to keep track of my books. I don't want to have to go searching in my books folder for what isn't showing up. I might as well not use CC at all. So far the wireless connection has proved to be the most ideal for me, but it constantly messes up. Is the problem from my end? My connection? I mean, I can connect via USB and content server without any headache (other than the books not showing up in CC when it's USB). I'd appreciate any help, please. |
08-21-2017, 04:39 AM | #2 |
Grand Sorcerer
Posts: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It would help if you provided a complete debug log. If you don't want to post it here, send it to the email address that CC wants to use.
The fragment you provided says that calibre responded to an "Are you there?" query but did not respond to a connection request in the 1/2 second that CC is willing to wait. The reasons main reasons this can happen are:
As for USB connections, CC does not see books that arrive on the device "by magic" (USB, some reader app, etc). It sees only those books that it fetches over one of its connection types. |
08-21-2017, 06:29 AM | #3 | ||
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
Quote:
I just dunno why I can't connect via Wireless. I mean, if CC can connect to the Content Server, there should be no problem, right? Content server is on 8080, Wireless is 9090. But those are just the default. And changing them fixes nothing. Quote:
The content server works very well, but it's not quite what I need. I have to remove books from CC, then re-add them, or manually set metadata in Calibre, to keep both synced. Lest I forget, I've sent the full debug log through CC. Thanks for the assist. |
||
08-21-2017, 06:49 AM | #4 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
By the way, after the recent update, if I minimize CC, or my screenlight (backlight, I think) goes off, while books are downloading to my device (via Content Server), they stop downloading.
I get this message that the books could not be stored in my device. And then unless I re-connect, I could be there for hours trying to resend. That little circly thing (the one that becomes a check mark once the book is on the device, I'm not very good with names) keeps turning and turning like it's sending, but it isn't. |
08-21-2017, 06:57 AM | #5 |
Grand Sorcerer
Posts: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
08-21-2017, 07:11 AM | #6 | ||
Grand Sorcerer
Posts: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The folder device isn't an MTP connection. It is a "special" device that uses a folder on the calibre computer as a device. You connect a folder device using the "Connect/Share" toolbar button. It is worth noting that sometimes calibre attempts to connect to devices that it cannot use. We have seen cases where (for example) a webcam had the same USB id as a device, and calibre continuously tried to connect to it and failed because the webcam has no storage. It could that something like this is happening to you. One way to find out is to run calibre's Debug Device Detection (Preferences / Miscellaneous / Debug device detection) to see what devices calibre is attempting to process. Do this with no "real" devices attached to the computer. If you see calibre "seeing" a device that isn't really a device then you can fix it by disabling that device driver in calibre. If the above doesn't help -- what seems clear is that the problem is on the calibre side. I suggest that you go through the steps to make a calibre debug log. See our FAQ How do I get help? for instructions. Start calibre in debug mode, let it stabilize, then attempt to connect. After it fails, close calibre and save the displayed debug log. There should be a lot of info there about what calibre saw and what it is doing. Quote:
|
||
08-21-2017, 07:17 AM | #7 | |
Grand Sorcerer
Posts: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
What you describe sounds like CC being put to sleep when it is removed from the foreground. You need to find the setting in Android that controls what happens to an app when it is sleeping. You want to be sure that WiFi isn't shut off and that the app isn't stopped. (BTW: I just received the debug log. If this failure is in there then I might be able to say more.) |
|
08-21-2017, 07:33 AM | #8 | |
Grand Sorcerer
Posts: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It also appears that CC gets confused when this happens. It attempts to download more books and gets stuck in a "failure loop". I need to look at why that might be. Don't hold your breath; reproducing and debugging network failures is very hard. There are some I have chased for years. |
|
08-21-2017, 07:57 AM | #9 | ||||
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
Quote:
Quote:
Quote:
Well, thanks. I know to save it now. Quote:
|
||||
08-21-2017, 08:14 AM | #10 |
Grand Sorcerer
Posts: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Check if there is an Android setting to keep WiFi on during sleep. I don't have an Android 4.1 device, but in Android 4.3 the setting is in Android Settings / WiFi / Advanced WiFi / Keep WiFi on ... . The Advanced Settings are under the three dots.
There is also (possibly) a setting for WiFi Optimization. I have no idea what it does, but you can try turning it off to see what happens. |
08-21-2017, 08:24 AM | #11 | ||
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
Quote:
The first time this happened, I verified it wasn't a storage space issue. Then tried to reproduce the error. I wanted to do something else on my device, so I couldn't stay in CC while it downloaded those huge files. But anytime I minimised, download stopped. Like I said, this only started happening after I updated the app. With smaller-sized files, minimizing did nothing because they were done downloading by the time I minimized. And when the app was again in the foreground, I could go on downloading books. Just as long as no download was interrupted when I left it. What I'm trying to say is even with me doing something on the device, using a different app (device not asleep in this scenario), the problem still occurs. Quote:
I just make sure not to leave the app, and set my backlight timeout to 30 minutes. |
||
08-21-2017, 08:32 AM | #12 | |
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
Quote:
No setting for optimization. |
|
08-21-2017, 08:47 AM | #13 | ||
Grand Sorcerer
Posts: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
My guess: the update is being more aggressive about throttling background apps in order to save battery or to recover memory needed for the foreground app. I don't know if this new behavior can be tuned. As an example, Android 7 (Nougat) has an option that controls "background processing" on an app-by-app basis, set in the Battery section of settings. It also has a "Battery Saver" option and the option to keep wifi on during sleep. It might be that the update has some of these features, but without a way to turn them off. Quote:
Are you running a stock version of Android or some custom version? I ask because I can't find any update information less than 2 years old for your device. |
||
08-21-2017, 08:48 AM | #14 | |
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
Quote:
|
|
08-21-2017, 08:59 AM | #15 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2016
Device: Samsung Galaxy Note 10.1 (GT-N8013)
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Android] Calibre companion debug log | waldoB | Calibre Companion | 4 | 12-27-2016 08:35 AM |
[Android] CC Change Log | chaley | Calibre Companion | 2 | 01-25-2013 05:27 AM |
Log in from Android Tablet | Quelch | Android Devices | 5 | 01-14-2013 10:29 PM |
Is there a log reader | TonyP123 | Calibre | 4 | 03-09-2012 07:44 PM |