08-30-2013, 08:25 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2013
Location: Milan, Italy
Device: Kindle Keyboard 3G - Kobo Glo
|
Kobo Glo - Error communicating with device
Hello everyone,
I just hope you can offer some help. I'm currently running Calibre 1.1.0 on my desktop (OS Win XP 32bit SP3) and a Kobo Glo (firmware 2.6.1) AND the same but on my other PC, a laptop. (OS Win 7) On my laptop all is working like charm. On my desktop, when I connect Kobo, Calibre gets Information from Device (on bottom left correctly displayed "...connected Kobo Glo"), gets List of Book from Device (green flags in Library for books on device) but when Calibre tries to Send Metadata to Device the job always fails and this is what I get: Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 85, in run File "site-packages\calibre\gui2\device.py", line 506, in _sync_booklists File "calibre_plugins.kobotouch_extended.driver", line 408, in sync_booklists File "site-packages\calibre\devices\kobo\driver.py", line 888, in sync_booklists File "site-packages\calibre\devices\kobo\driver.py", line 2154, in update_device_database_collections File "site-packages\calibre\devices\kobo\driver.py", line 2599, in check_for_bookshelf OperationalError: unable to open database file I also cannot send books from device to Library or install KoboTouchExtended plug-in It is true that I might as well quit using my desktop and happily go on with the one actually working, but aside from the former being the one I use most, I cannot fathom what the problem might be, since I'm quite sure I have configured the two in the same way...(or at least, that was my intention :P) Any hint? Thank you for your help PS: I've also got kobo plug-in to try to use a newer firmware |
08-30-2013, 09:14 AM | #2 |
Grand Sorcerer
Posts: 12,170
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Frankly we do see lots of people having issues with calibre / kobo and older XP machines.
Some feelings are that the USB drivers on the older XP machines have problems with Kobo. |
08-30-2013, 09:21 AM | #3 | |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
My Aura HD drops off the USB bus as soon as Calibre closes the database, so automatic metadata management doesn't work at all. When I set metadata management to 'Manual' it works until I send a book, after which it drops off again. The database is OK at that point, and the new book is recognized by the Kobo, but to get it to work again I have to eject and reconnect it. It seems to have gotten worse with firmware 2.8.1. |
|
08-30-2013, 09:39 AM | #4 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Unfortunately, I haven't been able to fathom what this problem is either. A problem like this has been reported a few people. Calibre seems to connect to the Kobo device OK, but after a while, the device disappears and an error like you are seeing is shown. This can happen during the first "Send Metadata to Device" job, or it can happen after sending some books to the device.
I think, but am not sure, that all reports of the problem have been with Windows XP SP3. That makes me think there might be a problem with the USB driver in XP. I have just dug out an old laptop with XP on it, so I'll see if I can reproduce the problem here. |
08-30-2013, 10:02 AM | #5 | |
Well trained by Cats
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You might request that those user supply which USB chipset is being used. My first PEz would not function properly with Intel's 82801series (same problem with multiple PC's) USB2 Enhanced driver enabled. I had to run in USB1 mode . My later build PEz runs fine on Intel USB2 . They can find the device info in the Device Manager (Control Panel: Systemevice Manager button: Universal Serial... at the bottom of the list) |
|
08-30-2013, 10:19 AM | #6 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
08-30-2013, 10:40 AM | #7 |
Grand Sorcerer
Posts: 12,170
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I'd almost love it if a brave soul could try updating the libusb0.dll used by Kobo from version 1.1.4 to the current 1.2.6 nad see if that makes any difference (I've always been a big believer in current drivers).
The project is hosted here --> http://sourceforge.net/apps/trac/libusb-win32/wiki and in theory one should be able to download the libusb-win32-bin-x.x.x.x.zip package, and then follow the instructions in Device Driver Installation on creating the custom INF file for Kobo, and then the instructions in Updating the Device Driver to install the new driver. I caution though in that I'm not sure on how to revert back! |
08-30-2013, 12:18 PM | #8 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2013
Location: Milan, Italy
Device: Kindle Keyboard 3G - Kobo Glo
|
Quote:
Meanwhile, I'm beginning to suspect this will be heading to waaaay-out-of-my-league-zipcode (I won't even try to understand what PeterT said in his last post ) so I would beg you to keep it as simply as humanly possible... Thanks for all |
|
08-30-2013, 03:56 PM | #9 | |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
|
|
08-30-2013, 04:48 PM | #10 | |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
Getting back is easy; just remove te libusb decice, and on next connect XP will see new hardware and reinstall the standard driver. |
|
08-30-2013, 07:31 PM | #11 | |
Grand Sorcerer
Posts: 12,170
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
|
|
08-31-2013, 04:29 AM | #12 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Yes, I did. 'testlibusb-win' does find it too. I just don't get a drive letter; windows doesn't do anything with it other than creating the libusb mass storage device in Device Manager.
Output from testlibusb-win: Spoiler:
Last edited by mbovenka; 08-31-2013 at 04:44 AM. |
08-31-2013, 06:15 AM | #13 | |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
I'm pretty sure this isn't hardware related though I can't say why it only seems to happen on XP machines. The Windows-Glo connection remains rock solid unless you connect via the Calibre driver. This would not be the case if hardware was the source of the problem. At times when I have been unable to remain connected via the driver, if I disable it and connect Calibre to my Glo as a folder device there are no problems.
It appears to me that the problem is being triggered when Calibre's driver tries to manipulate the Kobo SQL database. On a couple of occasions when I haven't been able to retain a connection via Calibre I have been able to sort things out by using a SQL database browser to vacuum the Kobo's database. Once the database has been compressed Calibre will connect via the driver until I do something else to upset it (typically deleting or updating a book via Calibre). I have mentioned in other threads that the problem seems to have similarities with that noted in http://www.linux-usb.org/gadget/file_storage.html : Quote:
It occurs to me that if Calibre is making changes to the Kobo's SQL database and some process is still running on the Glo which is also doing housekeeping the above conditions might apply. This is just a theory - I don't have the tools or skills to investigate further. BobC |
|
08-31-2013, 07:31 AM | #14 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
BobC, I could see that as a problem, but it doesn't explain why so few people are seeing this problem. It also doesn't explain why so many of them are running XP. It would also make more sense if it was the first interaction with the database rather than one several minutes later.
Your suggestion that you can defer the problem by vacuuming the database suggests that it isn't a conflict with something still running on the device. As the vacuum is a complete read and write of the database, then that should contend with anything happening on the device. The difference with how calibre hits the database and a vacuum is the smaller updates. Each change made by calibre will cause a write to the database file. It also creates a journal file that disappears quickly. Maybe the issue is the flood of small writes to a large file and the small journal files at the same time. Experiments I can think of: - Connect the device without calibre running. Wait ten minutes or more and start calibre. If there was a process still running on the device, hopefully it will have finished by this time. - Run a set of database updates from some other application than calibre and see what happens. Doing a select from the ShelfContent table followed by an insert into it followed by a commit and repeating a lot of times would match what has been reported as a common timing of the problem. |
08-31-2013, 07:58 AM | #15 | |
Fanatic
Posts: 516
Karma: 4442943
Join Date: May 2009
Location: Portugal
Device: Kobo Glo, kindle
|
I also have this problem, doing as suggested by theducks this is what I see, I don’t know much about informatics, so I don’t always understand what’s being said when the talk becomes technical
Quote:
I tried this before, I connected the glo to charge and when it’s done (more the one hour later) I connect calibre to send some books, and the error appeared after sending the books. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Calibre/Kobo Glo "error communicating with device." | ryuji35 | Kobo Reader | 81 | 12-04-2017 05:42 PM |
Error communicating with my Kobo Glo | CateranLlama | Devices | 1 | 08-12-2013 12:45 AM |
Kobo - Error communicating with device | lchora | Devices | 2 | 10-11-2012 11:13 AM |
Kobo: Error communicating with device | gdimike | Devices | 0 | 08-11-2012 12:37 PM |
Kobo Reader - Error communicating with device | My Violent Heart | Kobo Reader | 4 | 03-31-2011 08:00 AM |