05-16-2010, 02:45 PM | #31 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
|
||
05-16-2010, 03:23 PM | #32 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
I haven't tried this to the SD card on the USB reader. That's up next. |
|
Advert | |
|
05-16-2010, 03:25 PM | #33 | ||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Any chance that you are connecting/removing things? |
||
05-16-2010, 03:56 PM | #34 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
No. However .... First, this is happening on the local drive connections, but so far, not on the USB/SD card.
Second, even though I'm not disconnecting any USB devices, I am running on a machine that has a mouse on a 15' USB connection. It could have an intermittent issue (it does if I connect the USB hub at the end of that 15' USB cable). However, the mouse doesn't drop out, and the problem isn't appearing (knock on wood) on the USB/SD connection. I've still got your old source. I think I may be very slightly behind you now, and I still have the first set of source from you. Shall I continue on checking the USB/SD or would it help to see if this really is something new, by going back to the older code to see if I have the same issue with it? |
05-16-2010, 03:57 PM | #35 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I have committed a change (rev 5246) that forces the USB vendor ID of the folder device to what as far as I can determine are invalid values (0xffff). There are some pathways through the code that might (only 'might') cause partial disconnects if recognized devices appear while another device is connected. In addition, I have guarded the path normalization not to attempt normalization of None, not that I think this has happend.
The difficulty here is that for the menus to change, the DeviceManager *must* have signaled that the folder device has disconnected. I can find no reason for it to do that. |
Advert | |
|
05-16-2010, 03:59 PM | #36 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If it stops happening with the new code (by that I mean it doesn't happen once per hour, which is what appears to be the case now), then we can go forward. |
|
05-16-2010, 04:05 PM | #37 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I'll try the new code. The HD disconnect wouldn't go 10 minutes, and usually not 5. Just to make sure we're on the same wavelength, by "HD" I mean browsing to a folder on the local internal hard drive - and the one I've been using is on the raid, near the Calibre main library. The SD/USB has been solid for nearly an hour, with no drops.
|
05-16-2010, 04:17 PM | #38 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Another possibility: if *somehow* calibre's eject action is being triggered (how, I don't know), and if *somehow* the device refuses to eject and raises an exception, then it is possible for the device to remain partially connected.
I have eliminated this possibility in revision 5247. The folder device treats all ejects as disconnects, but does not in fact eject the device. This should remove the above possibility. |
05-16-2010, 04:25 PM | #39 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
05-16-2010, 04:29 PM | #40 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
If you are using bzr from the command line, you can find out by cd'ing to the calibre directory containing src and running bzr log -l 3
The bzr GUI is very helpful in these situations. |
05-16-2010, 04:35 PM | #41 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I've been meaning to try the bzr GUI. I was on 5246. It worked great for 16 minutes and I decided to merge in 5247 - I'm testing that now.
It's been good for 11 minutes, too. I'm out of bugs. It's been fun. If I find any more you'll be the first to know. All bugs, annoyances, etc. discussed in this thread seem to have been smashed. Good job! Last edited by Starson17; 05-16-2010 at 04:46 PM. |
05-16-2010, 05:03 PM | #42 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Still need to add the confirmation dialog
|
05-16-2010, 05:07 PM | #43 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
We're up to half an hour: it still looks good. There are no signs of any problems.
For completeness: I forgot that the absence of a delete warning for Device ebook deletes was discussed in this thread. That's unchanged. Other than that possible issue, I've got no more comments. |
05-16-2010, 05:17 PM | #44 | ||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Service is our middle name! We aim to please! No job too large or too small! Reasonable billing rates! No VAT for 1 week, so hurry with the orders! Send all payments to Mr Jones, Custodian for Dormant Accounts, Bank of Nigeria! |
||
05-16-2010, 05:26 PM | #45 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Send it off to Kovid before he comes back! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copia beta test - Get Your Invite Now! | Nate the great | Announcements | 34 | 11-18-2010 07:48 PM |
Beta Test of new Kobo Driver | timlegge | Calibre | 58 | 06-22-2010 07:37 AM |
Beta test of major new features | chaley | Calibre | 130 | 06-04-2010 08:52 PM |
DR800 V2 Beta Firmware Battery Test | CoolDragon | iRex | 29 | 05-11-2010 05:37 AM |
Mobile Forum Beta Test Here! | Alexander Turcic | Announcements | 12 | 03-10-2004 05:38 PM |