05-03-2014, 01:29 PM | #31 | |||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Could you send me a CC debug log? There might be something in there that helps understand what is happening. Send it to cc_debug_logs at charles dot haleys dot org. Quote:
I hadn't thought that there might be a 4.4 change that affects this. If so, it is going to be hard to find. Did the tablet do anything while the copy was happening, for example shutting off the screen? I have some memory that 4.4 does more aggressive power management than 4.3. I wonder if it might be choosing to put CC to "sleep" under some conditions, which would stop it from talking to calibre. More research needed. Just read some bug reports that say that KitKat can spontaneously decide to switch from WiFi to mobile networking then switch back. An HTC bug report says that connections can be unstable if the access point name (SSID) contains spaces or special characters. (!) If these are true then it explains CC's problems. By any chance did you try sending the books to main memory? I wonder if the problem is KitKat or the SD card. Quote:
|
|||
05-03-2014, 03:46 PM | #32 | ||||
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
Quote:
Quote:
Quote:
Quote:
Just deleted everything out of the library and cleared CC and tried it with internal memory and it failed after 80 books. It doesn't look like its an SD issue. |
||||
05-03-2014, 04:20 PM | #33 | |||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
|
|||
05-03-2014, 05:01 PM | #34 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@kaufman: those debug logs are very interesting. It appears that kitkat has changed some fundamental things about how tasks (threads) are scheduled. Because of that, CC is behaving differently internally, which might be exposing some problems that never came up before. Thanks again!
|
05-03-2014, 05:03 PM | #35 | |
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
Quote:
|
|
05-04-2014, 05:55 AM | #36 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Three times I sent 1400 books, once with an empty database and twice overwriting. I could not make it fail. I conclude that there is something "special" either with your network setup or with LG's version of KitKat. First, some questions:
Second, a request: given that you can make it fail reliably, could you do it while making a calibre (not CC) debug log? You shouldn't need to clean out the library again. Sending the books again should be sufficient. My goal is to see which error calibre's networking reports, which might give a clue about where the problem originates. |
|
05-04-2014, 12:39 PM | #37 | ||
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
Quote:
Quote:
I just sent you the CC debug log. I have to leave my house now, but I will send you the Calibre log later. |
||
05-07-2014, 04:43 PM | #38 |
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
In case anyone was following this, Chaley sent me a few test versions, and I did a few reboots, and now everything seems to be working correctly in 4.4 with data on the external SD card.
You have to put the library in the Android/.../files folder, but Moon+Reader picks them up fine from there. |
05-14-2014, 09:45 AM | #39 |
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
One last thing about this. My phone (which I use a lot more then my tablet) updated to KitKat yesterday. I had previously put my book files in the SD Card /Android/... directory.
I spent a while yesterday banging on the app. My results are as follows: 1) The first time I connected, it did that thing where it transfers all my metadata. It seemed like it took a longer then usual. I hadn't made any global changes since the previous connect, so I am not sure what triggered the update. Subsequent connects did not try to do this again. 2) Transferring files to and from the phone all worked perfectly. 3) Sending books to Moon+Reader to read worked perfectly. I installed Cool Reader and Aldiko reader to test and in my limited testing, both worked perfectly as well. Aldiko copies the books to a local directory when it opens them and it had no problem doing so. 4) Everything else worked perfectly. I think its safe to say that CC supports KitKat with the caveat that if you want to put your books on the SD card, you have to use the application specific directory. |
05-16-2014, 03:28 AM | #40 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Thanks for doing these tests. They gave me confidence that I could add kitkat private folder support to CC.
|
05-16-2014, 10:07 AM | #41 |
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
|
05-22-2014, 11:39 AM | #42 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
CC V3.3.5, released 22/May, supports using the KitKat private folder on the SD card.
|
06-09-2014, 11:00 AM | #43 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Nook 2
|
Just a followup to V3.3.5 (Thanks chaley!!) for anyone with existing books on the sdcard. To start the conversion process you need to change the default dir for the books (app menu> Settings > "Book Formats and Folders") Note where the files are currently stored. You will need this info to manually clean up later. Tap on the default folder and get a dialog with a short summary of this thread. Click on the suggested folder name (not the Choose Folder button). The program will copy the existing books to the new folder. Make sure there is enough room on the sdcard for the copied books. It may take a while to copy. Once it is done you will get a error message for each of the books that it was not able to delete the old files. That's OK. At this point Calibre Companion will work normally. The old copy of the books are still on the sdcard. To free up the space you will need to delete the old books using other means. Either use a file manager that knows how to get past KitKat to the delete files on the sdcard or pull the sdcard and plug into a PC.
|
06-09-2014, 03:39 PM | #44 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@dfrye: thanks for that. Do you mind if I put your message in the FAQ? I would normally "quote" you, but I can not do that if you object.
|
06-13-2014, 01:28 AM | #45 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Nook 2
|
That's fine with me. Glad I could help.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android KitKat released | Dopedangel | Android Devices | 269 | 12-16-2013 05:48 PM |
Calibre Companion 3.2 (Amazon App Shop Version) + Android 4.4 (Kitkat) wont start | Afkpu | Calibre Companion | 5 | 11-26-2013 11:01 PM |
Nexus 7 (2013) with Android 4.4 (KitKat) & Calibre | jamng | Devices | 4 | 11-22-2013 01:25 AM |
Android 4.4 to be called KitKat | tubemonkey | News | 42 | 09-11-2013 02:05 AM |
Audible for Android new version (rel. 01/22/13) - Supports our removable SDHC cards, | rkw | Android Devices | 4 | 02-01-2013 01:51 PM |