10-04-2016, 01:14 PM | #16 |
CC iOS Developer
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
|
I've just sent out v0.9.1. Two changes:
- App disconnecting when transferring large number of books in the background: this might be slightly more reliable now, but it's still going to cut out. As mentioned above, iOS only gives us a few minutes to finish up once the app goes in the background. The app should now better report when it's still running in the background, but I haven't figured out if there's a way to get around iOS's limit. (There probably isn't...) - Logging: there's a bit more useful information in the log now, and a bit less noise. Hopefully this will help with future debug logs. Please let me know how it goes! Thanks. |
10-04-2016, 02:25 PM | #17 |
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
Steve, maybe add an option to keep the screen on while connected. At least that way you could have some way to reliably transfer a large number of files.
|
Advert | |
|
10-04-2016, 02:34 PM | #18 |
Grand Sorcerer
Posts: 7,195
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
You actually can set it up not to turn off, download the files then turn the screen timer back on when you are finished. That's what I did. I was able to download almost 3000 ebooks in blocks of 1000 on an older iPad mini without issue.
|
10-04-2016, 02:36 PM | #19 |
Grand Sorcerer
Posts: 7,195
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
I removed the old app. rebooted, installed the new app. Downloaded all my ebooks, disconnected, tried to reconnect and it crashed as expected. I emailed the log. Hopefully you get a bit more information this time.
|
10-04-2016, 03:01 PM | #20 |
Calibre Companion Fanatic
Posts: 873
Karma: 1088610
Join Date: Nov 2006
Device: Galaxy Note 4, Kindle Voyage
|
I know, I just figured it would be nicer to have the program do that automatically.
|
Advert | |
|
10-05-2016, 05:15 AM | #21 | |
CC iOS Developer
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
|
Quote:
Edit: Definitely confirmed that my screen doesn't switch off while a transfer is in progress. The screen can time out when it's connected and inactive, but once a book transfer is started, the screen stays on until the transfer completes. However, maybe it's too aggressive with its concept of "inactive". Right now it only considers the connection to be active when a book transfer is in progress, whereas maybe it should consider the connection existing in any state as being active. For example, I think it probably doesn't count the initial sync process as being active, when it obviously should. I'll work on that... Could you double check that the email actually got sent? It's not in my inbox or spam folder. Last edited by Steve_Haley; 10-05-2016 at 05:44 AM. |
|
10-05-2016, 08:41 AM | #22 |
Grand Sorcerer
Posts: 7,195
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
|
10-05-2016, 09:09 AM | #23 | |
CC iOS Developer
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
|
Quote:
As for the problem itself, the logs show where it's occurring and a few crash reports have come through, so I have a place to start now. Thanks. |
|
10-05-2016, 12:13 PM | #24 |
Grand Sorcerer
Posts: 7,195
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
I have a talent for crashing software.
|
10-06-2016, 05:36 AM | #25 |
CC iOS Developer
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
|
I think I know what's causing the problem now, and I'm now trying to verify the theory. During a connection process, CC sends the metadata of each book in its library to Calibre, so that Calibre can then determine whether anything needs updating. To do this, the metadata is put into a queue to be sent to Calibre. My theory is that your iPad Mini is putting information into the queue much faster than it can send it to Calibre, and that's resulting in it running out of memory. In this situation, the iPad Pro would be fine because it has significantly more memory, allowing it to build up a longer queue without issue.
Anyway, once I've proven that's the bug, I'll find a way of ensuring the queue is kept to a reasonable limit. |
10-06-2016, 07:17 AM | #26 | |
Member
Posts: 17
Karma: 10
Join Date: Oct 2007
Location: Wisconsin
Device: Kindle Paperwhite; iPad Air 2, iPad Mini 4, LG G3
|
Quote:
|
|
10-06-2016, 07:45 AM | #27 | |
Grand Sorcerer
Posts: 7,195
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
Quote:
Last edited by pwalker8; 10-06-2016 at 07:51 AM. |
|
10-06-2016, 08:03 AM | #28 |
CC iOS Developer
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
|
Sorry, when I wrote 'memory' I was referring to RAM, which is a more temporary and is used when apps are actually running. You're referring to how much long-term storage your devices have. An iPad Mini 2 has 1GB of RAM whereas an iPad Pro has 4GB. So that means the Pro can keep about 4x more books in the transfer queue. With the specifics of your books and WiFi speed, that seems to be enough to make sure that the queue never gets long enough to crash the app.
|
10-06-2016, 08:03 AM | #29 |
CC iOS Developer
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
|
|
10-06-2016, 01:03 PM | #30 | |
Grand Sorcerer
Posts: 7,195
Karma: 70314280
Join Date: Dec 2006
Location: Atlanta, GA
Device: iPad Pro, iPad mini, Kobo Aura, Amazon paperwhite, Sony PRS-T2
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[iOS] CC for iPhone Alpha 1 discussions | AlexBell | Calibre Companion | 30 | 01-25-2017 05:22 AM |
CC iOS alpha 2 | Steve_Haley | Calibre Companion | 10 | 10-20-2016 06:24 AM |
Do You Prefer iOS 7 Looks Over Previous iOS Versions? | Faterson | Apple Devices | 226 | 01-18-2014 07:01 AM |
Mandatory Kindle for iOS 3.9.2 released ahead of iOS 7 | jswinden | Apple Devices | 3 | 09-10-2013 06:23 PM |
Kobo iOS application and iOS 6 | Sharkus | Kobo Reader | 0 | 10-05-2012 09:53 AM |