![]() |
#16 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 1234
Join Date: Aug 2012
Device: Aura HD, Aura One (2nd warranty)
|
Alright, I think I may have figured it out. It's definitely a timing issue. I have both a 5ghz and 2.4ghz wireless in the house and the tab supports both. The 2.4 get's broader coverage and I use it for most of my non-crucial devices and the 5ghz I use for my laptop and heaver media devices.
The ping times to the tab using the 2.4ghz is .150ms or so.. With this I will run into connection issues during transfers but everything else works without issue (streaming movies, etc). The ping times to the tab using 5ghz are in the .075 to .09ms range and with this calibre will work without ever timing out. A steady stream of pings to the tab during a calibre transfer while connected in either manner shows no missed pings but while connected at 2.4ghz and the slightly higher ping times calibre will eventually disconnect and give me the above errors. Transferring several hundred books over 5ghz I only had one such error and that's when ping times hit 0.155ms. Perhaps I'm looking at this all wrong but it appears that calibre is being a little too aggressive and should have some wait states if it doesn't make it's connection right away or even some retry attempts? |
![]() |
![]() |
![]() |
#17 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
From what I can tell from the log and from googling around, MacOS has a networking bug where during sending a large amount of data it will occasionally report a "lack of resources" error instead of simply waiting to send the information. This is never supposed to happen, so I didn't account for the possibility. As far as I can tell it never does happen on windows or linux, and I don't have a Mac. Sigh... I can work around the problem by changing how calibre writes to the network. Unfortunately that fix won't be available until Friday's calibre release. Good ... your next post (#16) helps confirm the hypothesis. The faster wifi will return resources to the pool faster. Last edited by chaley; 08-13-2012 at 01:10 PM. Reason: Try to clear up the back references |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@manxam: I finished the calibre changes to work around the MacOS bug. Unfortunately I cannot test the changes because I cannot reproduce the problem
Fortunately, Kovid was kind enough to prepare an interim release of calibre containing my changes. Could you download and install http://calibre-ebook.com/downloads/b...bre-0.8.64.dmg (this is only for Macs!), then let me know if it helps? It would be so nice to know if the changes solve the problem before they are released for general consumption. And again, thank you for your persistence, your patience, and your help! ![]() |
![]() |
![]() |
![]() |
#19 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 1234
Join Date: Aug 2012
Device: Aura HD, Aura One (2nd warranty)
|
Chaley, these changes are taking too long. I want my $3 back!
:P Seriously though. I'm downloading the version now and I'll report my findings shortly. Cheers! |
![]() |
![]() |
![]() |
#20 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 1234
Join Date: Aug 2012
Device: Aura HD, Aura One (2nd warranty)
|
Alright, I switched back to the 2.4ghz connection as it's used most often on this tab (best range in the house). Because I'm a glutton for punishment and I'm crazy I randomly selected 225 books and chose send to device.
0%.. all good 50% screen turned off..books continued to sync.. 100%.. all good Fixed. Excellent work Chaley. Everything appears to be working like a champ here now. I'll continue to punish this thing and let you know what I find. I have several thousand more books that I can test with cuz.. umm.. you never know when you may need to read thousands of books back to back with no access to the internet?? Now for the feature question though I know it's already on your todo list: Show Metadata... P.S. Tell Kovid he's awesome! |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
If I could give you the money back without also removing your google play license for the app, I would. It is so wonderful to have a patient user to work with. I *never* would have found this problem without your help.
I have been lucky on this forum. Most people seem to be interested in solving problems rather than scoring points. It is incredibly frustrating trying to solve mysterious problems at a distance. Having someone to work with makes all the difference. |
![]() |
![]() |
![]() |
#22 |
Member
![]() Posts: 10
Karma: 10
Join Date: Mar 2011
Device: kindle3
|
My calibre program on my Macbook pro sometimes opens a foreign ip address, after starting it multiple time I will get a good local address. My Nexus 7 will connect and receive a book, the I receive a message "unfortunately, calibre companion has stopped" the only way to reopen the app is to uninstall and then reinstall, it will connect then after one download will stopped message.
|
![]() |
![]() |
![]() |
#23 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
Another bug. Out of memory, if I interpreted the logs correctly.
I tried to upload 1200 ePubs to my Xoom (Jelly Bean). After around 580 ePubs CC crashed and keeps crashing even after reboots. Have managed to transfer a few more, around 600 ePubs, after that it seems that CC hardly works at all. Just crashes. Seems to be out of memory. I have sent logs using google feedback. Hope that is enough? Plenty of room on the device. Seems to be RAM problem? Exception class name: java.lang.OutOfMemoryError |
![]() |
![]() |
![]() |
#24 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
Issue fixed with today's release.....thanks for the responsiveness.
Quote:
Last edited by Mr. Goodbar; 08-14-2012 at 03:14 PM. |
|
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It sounds like you are having the same mac networking problem that several others have had and is described in post 18. Either try the interim release or waif for calibre's Friday release. It is possible that your problem is caused by a bug triggered when a book did not have a calibre cover. If this is the case, the lastesf CC release 1.3 should fix it. |
|
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Next week when I have reasonable network access I will look at implementing cover caching. That will help keep performance acceptable for mord normal use cases while extending the number of books that can be kept in the device's library beford running out of memory. |
|
![]() |
![]() |
![]() |
#27 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,322
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#28 | |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
Quote:
I keep almost my entire ebook collection on my Xoom. At least the "good" part of it. 1200 was the fiction ePubs. Then there is the non-fiction and the PDF:s. Today I use an external 32 GB Micro SD-card that I remove and update from Calibre. Would be nice to be able to update via WiFi instead... Last edited by Adoby; 08-15-2012 at 06:20 AM. |
|
![]() |
![]() |
![]() |
#29 | |
CC iOS Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
|
Quote:
Regarding the transfer speed - we're also working on improving that. Maintaining compatibility with all desktop systems and all devices is a bit tricky, so please be patient ![]() |
|
![]() |
![]() |
![]() |
#30 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
Perhaps CC could be split into two parts? One really stupid part that only handles the actual connection and file/data transfers and syncs, and one more clever part that provides the book/metadata browser and interface to Callibre Content server?
Still, CC shows great promise, even if I can't use it currently. ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Android App] Best Android reader software for use with Calibre / Calibre Companion | ellett | Devices | 11 | 12-16-2012 04:27 PM |
[Android App] Calibre Companion 1.7 Beta testing | Adoby | Devices | 31 | 09-07-2012 10:13 PM |
[Android App] Beta version: Android app to connect as a device to calibre using wifi | chaley | Devices | 116 | 08-27-2012 12:42 PM |
[Android App] Calibre Companion, First Take | DoctorOhh | Devices | 61 | 08-27-2012 12:38 PM |
[Android App] Calibre companion and Aldiko | JDriver | Devices | 2 | 08-18-2012 02:04 AM |