05-10-2022, 10:06 PM | #2461 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I know it worked at some time, but, I looked at the code in a 1.x version of the plugin. The only change was was to a condition during the migration to Python 3. Maybe there was a subtle difference in how that works. Anyway, all good now. |
|
05-10-2022, 10:09 PM | #2462 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
For automating the reading status store, you need to configure it. Open the plugin's configuration and make sure the option to automatically run the store is selected for the profile you are using. If you have a device specific profile, make sure the device is show as connected in the device tab of the configuration. That is based on information that calibre caches on the device. If you did a factory reset, that can change.
|
05-11-2022, 01:07 PM | #2463 | |
Connoisseur
Posts: 95
Karma: 354399
Join Date: Nov 2012
Location: Stockton, NJ
Device: Kobo Sage (Formerly KKB, PW1, PW3, KV, OA3)
|
Quote:
|
|
05-11-2022, 05:38 PM | #2464 | |
Custom User Title
Posts: 9,369
Karma: 64435965
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
05-11-2022, 10:35 PM | #2465 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2011
Device: Sony PRS-350
|
Failed to backup database error
Hello, I've recently started getting a following error when syncing my Kobo devices:
One one device I get this error: Code:
calibre, version 5.42.0 (win32, embedded-python: True) Failed to backup device database: Failed: Backing up Kobo device database *** in database main *** On tree page 7218 cell 0: Rowid 5538 out of order On tree page 20 cell 0: 2nd reference to page 7184 Page 7145 is never used NULL value in content.___UserID row 2481 missing from index content_bookid_index row 2481 missing from index sqlite_autoindex_content_1 wrong # of entries in index content_bookid_index wrong # of entries in index sqlite_autoindex_content_1 row 25 missing from index sqlite_autoindex_Achievement_1 wrong # of entries in index sqlite_autoindex_Achievement_1 Traceback (most recent call last): File "calibre\gui2\device.py", line 87, in run File "calibre_plugins.koboutilities.jobs", line 218, in do_device_database_backup Exception: *** in database main *** On tree page 7218 cell 0: Rowid 5538 out of order On tree page 20 cell 0: 2nd reference to page 7184 Page 7145 is never used NULL value in content.___UserID row 2481 missing from index content_bookid_index row 2481 missing from index sqlite_autoindex_content_1 wrong # of entries in index content_bookid_index wrong # of entries in index sqlite_autoindex_content_1 row 25 missing from index sqlite_autoindex_Achievement_1 wrong # of entries in index sqlite_autoindex_Achievement_1 Code:
[Errno 13] Permission denied Traceback (most recent call last): File "calibre\gui2\device.py", line 87, in run File "calibre_plugins.koboutilities.jobs", line 199, in do_device_database_backup File "shutil.py", line 279, in copyfile File "shutil.py", line 185, in _copyfileobj_readinto PermissionError: [Errno 13] Permission denied I've latest Calibre (5.42) and latest version of the plugin (2.16.0) |
05-12-2022, 03:59 PM | #2466 |
Custom User Title
Posts: 9,369
Karma: 64435965
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
On the first one, your database is corrupt. Go to the backup folder and look for the last good backup, then unzip it to the .kobo folder on your device. Then eject the device and reboot it for good measure.
If for some reason you don't have a backup (the log indicates you do), you can sign out and sign back into your Kobo account. This will fix the database but you'll lose the reading positions and such of all sideloaded books. If you're on firmware 4.31, there's a known issue leading to more frequent db corruption and you'll want to upgrade to 4.32; see the Kobo forum if you need help with that. Last edited by ownedbycats; 05-12-2022 at 04:05 PM. |
05-12-2022, 10:58 PM | #2467 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@vsviridov: As ownedbycats said, the first is a sign of a corrupt database. Sometimes you can recover from this by doing a compress of the database. But, I don't think that will work with these errors. Restoring a backup is the best solution.
For the record, the error is happening during the database backup process. A full check is done of the database at that time to know if there are issues. Some errors will show while the calibre is getting the list of books from the device, or updating the metadata, but, it depends on the part of the database that is corrupt. With that error, the device will probably keep working, but, if you restart the device, you may lose some recent updates. The second error is also happening during the backup. In that case, for some reason it cannot copy database to where you have set the backups to be stored. The error is a permissions problem. Check if the directory exists and that you can create a file in the directory. |
05-26-2022, 08:50 AM | #2468 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Update to version 2.16.2
I have just updated the plugin to version 2.16.2. This is mainly to fix a bug that @chaley found.
The changes in this release are:
Calibre should announce the update in the next hour or so. If there are any problems or suggestions, please report them here. |
05-27-2022, 01:58 PM | #2469 | |
Zealot
Posts: 105
Karma: 37418
Join Date: Jan 2013
Device: Kobo Glo, Aura, H2OE2, Libra 2
|
Just updated Calibre and Kobo Utilities to v2.16.2 and now get the following error when opening KU.
AttributeError:"DeviceTab" object has no attribute "update_check_last_time" Quote:
|
|
05-27-2022, 02:22 PM | #2470 |
Well trained by Cats
Posts: 30,416
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
But it did open after that (did not try any further)
W10x64 |
05-27-2022, 02:37 PM | #2471 |
Zealot
Posts: 105
Karma: 37418
Join Date: Jan 2013
Device: Kobo Glo, Aura, H2OE2, Libra 2
|
Yes KU opens after clicking OK on the error, but the error shows every time now.
I have deleted a (broken) device from KU which may or may not have initially triggered this error. |
05-27-2022, 09:48 PM | #2472 |
Running with scissors
Posts: 1,557
Karma: 14325282
Join Date: Nov 2019
Device: none
|
When my Kobo is connected and I click on the Device button in calibre, it shows 6 columns, In Library, Title, Author(s), Date, Size, and Collections. The Collections column is showing a value Read when I've finished a book. If I click on the Library button in calibre then right clicking on KoboUtilities gives me the option Get Shelves From Device and if I select that it says Shelf colum: #collections (Collections), presumably a column I set up before the Kobo supported series.
But it's not getting that Read value that I see when I click the calibre Device button. Is there some way to retrieve that Read value into calibre? |
05-28-2022, 08:25 AM | #2473 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Update to version 2.16.3
I have just released version 2.16.3 of the plugin. This is a quick fix for the problem that @npr reported above. The error only happened when opening configuration dialog if the option to configure each device separately was selected on the second tab. This should fix this.
The release notes are:
As usual, calibre will announce the update in the next hour or so. And if there are any problems, please report them here. |
05-28-2022, 08:32 AM | #2474 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
To get the reading status to the device, use the "Store/Restore current bookmark" function. That can fetch the reading status including the percent read and when the book was last read to the library. This uses custom columns that need to be configured. |
|
05-28-2022, 08:47 AM | #2475 |
Zealot
Posts: 105
Karma: 37418
Join Date: Jan 2013
Device: Kobo Glo, Aura, H2OE2, Libra 2
|
Thanks David, v 2.16.3 has cleared the error.
|
Tags |
calibre, kobo, kobo utilities, kobo-utilities, plugins |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 02:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-25-2018 11:55 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |