10-29-2016, 02:11 PM | #1 |
Connoisseur
Posts: 82
Karma: 16
Join Date: May 2010
Location: Winterpeg
Device: Kobo-1st Porcelain 2nd Black, Touch, Aura, now Libra H2O
|
Calibre 2.7 Unable to open Database file
Hi All. I've been trying to fix my daughters computer and hooked up her HD to my system to do diagnostics. This seemed to change some of my drive letter and since then I get an error communicating with device (although Calibre says I'm connected to my Aura) and get a pop up that says:
calibre, version 2.70.0 ERROR: Error: Error communicating with device CantOpenError: unable to open database file Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 88, in run File "site-packages\calibre\gui2\device.py", line 506, in _books File "site-packages\calibre\devices\kobo\driver.py", line 1694, in books File "site-packages\calibre\devices\kobo\driver.py", line 161, in device_database_connection CantOpenError: CantOpenError: unable to open database file Not sure if the change in drive letters has anything to do with this or a database file is corrupted or ??? Any help on this one? AtDhVaAnNkCsE |
10-29-2016, 02:28 PM | #2 |
Well trained by Cats
Posts: 29,806
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Change the drive letter of the foreign drive to something above the normal detachable grouping (LMNO are good choices, Z down were old time Networked drive assignments)
Use the disk manager to change the letter, but do not tamper with the standard HD (usually C |
Advert | |
|
10-29-2016, 02:33 PM | #3 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
ninja'd
You could use Windows Disk Manager to change the drive letters so that your daughters HD doesn't intervene in your normal setup. Run : diskmgmt.msc The change drive letter option is in the right click menu BR |
10-29-2016, 09:49 PM | #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
|
Quote:
When this happens, can you access the drive the device has been mounted on using Windows? Can you write to it? Also, do you have an SD card in the device? And if so, can you see it as well? |
|
10-30-2016, 11:57 AM | #5 |
Well trained by Cats
Posts: 29,806
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Recently, I could not see (from the W10 OS) my phones SD card .
Turns out, I had 'pinned' it to Explorers list for convenience . Rebooting everything had no effect. Then I unpinned the non-functioning shortcut Unpin any detachable drives (that no longer work as expected) I wonder if this is the root of the rash of "can't see SD card or removable devices" W10pro aniv_ed |
Advert | |
|
10-31-2016, 09:33 PM | #6 |
Connoisseur
Posts: 82
Karma: 16
Join Date: May 2010
Location: Winterpeg
Device: Kobo-1st Porcelain 2nd Black, Touch, Aura, now Libra H2O
|
Thanks for the replies. OK, seems as if the drive letter problem must be coincidental and unrelated to the "unable to open database" error. So, what to do to rectify the database error. Is it the database on the Kobo or on the PC? I tried connecting to my W8 (dual boot system) and had the same problem so my guess is on the device? I have Calibre on my laptop so I'll try that too and see if I have the same problem.
|
10-31-2016, 09:49 PM | #7 | |
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:
You can check the database using the Kobo Utilities plugin or an SQLite database management tool. I suspect the plugin won't work as it uses the KoboTouch driver to open the database. You will probably see an error in the same line. If it is the database, the device can keep working for a while. It is using in-memory structure read from the database. But, it will have problems saving any changes. If you restart the device, it will read the old and corrupt version of the database and you lose any changes that should have been made. The solution is to restore a recent backup if you have one, or sign out of the Kobo account on the device. This will generate a new database and reload any sideloaded books. Unfortunately, you will lose the reading status of any sideloaded books. |
|
10-31-2016, 09:51 PM | #8 |
Connoisseur
Posts: 82
Karma: 16
Join Date: May 2010
Location: Winterpeg
Device: Kobo-1st Porcelain 2nd Black, Touch, Aura, now Libra H2O
|
OK, just tried it on my laptop and get the exact same error. I assume this means the problem is with the Aura? Now what?
|
10-31-2016, 10:29 PM | #9 |
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
|
Yes, it is most likely the device. You need to try what I suggested at the end of my last post: restore a backup if you have it, or sign out on the device.
|
10-31-2016, 10:48 PM | #10 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Do you have multiple Kobo's attached at the same time?
Are you able to read books on your Kobo (using the Kobo standard reading s/w; not CoolReader or KoReder)? |
11-01-2016, 12:20 AM | #11 |
Connoisseur
Posts: 82
Karma: 16
Join Date: May 2010
Location: Winterpeg
Device: Kobo-1st Porcelain 2nd Black, Touch, Aura, now Libra H2O
|
No, I only have 1 Kobo and I can read books (or at least the one I'm currently reading), haven't tried other books in the library.
I'll try what Davidfor has suggested and see if that solves my problem. Thanks for all the advice, will keep you posted. |
11-01-2016, 01:03 AM | #12 |
Connoisseur
Posts: 82
Karma: 16
Join Date: May 2010
Location: Winterpeg
Device: Kobo-1st Porcelain 2nd Black, Touch, Aura, now Libra H2O
|
OK, did what David suggested and signed out and then back in. It looked like a new database was created (said it was processing). I then tried to connect to Calibre and had the same error. I'm guessing problem with the Aura drive/memory? I'm guessing I need to do a complete reset back to factory? Yikes, getting frustrating!
|
11-01-2016, 01:10 AM | #13 |
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
|
Apart from a factory reset, the only thing I can think if is to get Windows to do scan on the book partitions to see if there are any errors it can fix. I don't think it will help, but you can try.
|
11-01-2016, 01:18 AM | #14 |
Connoisseur
Posts: 82
Karma: 16
Join Date: May 2010
Location: Winterpeg
Device: Kobo-1st Porcelain 2nd Black, Touch, Aura, now Libra H2O
|
Connected the Aura to W10 Anniversary PC and tried to access the Kobo. The memory card can be accessed but the Kobo drive is "not accessible". The Aura still works (I can read books, change settings, sync, etc.), so I assume this is the reason for the error in Calibre. Will a factory reset solve the problem or is there a less drastic measure I can try. Tried to use windows to scan the disk but get "disk not accessible" error.
Guess I'll use it as is for now. Can I sideload books by just adding them to the sd card? signed: Hoping in Winterpeg Last edited by Gordo29; 11-01-2016 at 01:22 AM. |
11-01-2016, 02:00 AM | #15 | ||
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:
If this is the problem, the best thing to do is let Windows update itself. MS released a fix for this about a month after they broke it. The firmware update hasn't been released for anything other than the two new devices. You can use this on the older devices without to much risk. Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help!!!! CantOpenError: unable to open database file | cbbs70a | Library Management | 2 | 06-11-2015 11:11 AM |
unable to open database file | mihal.v | Calibre | 3 | 08-16-2014 09:44 AM |
After update: unable to open database | Odysseus01 | Devices | 3 | 09-20-2013 02:26 AM |
Unable to open database file | wladdy | Library Management | 6 | 08-28-2012 05:04 AM |
Unable to open database file | JulieR | Calibre | 2 | 04-24-2009 04:40 AM |