01-02-2015, 06:29 AM | #826 |
Wizard
Posts: 1,035
Karma: 11227259
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Happy New Year all!
In the Utilities, I've checked the "Backup Database of Device" option. A folder where the backup should be stored is defined. But each time when I connect the device, I receive this error message: Code:
*** in database main *** Page 76 is never used Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 87, in run File "calibre_plugins.koboutilities.jobs", line 184, in do_device_database_backup Exception: *** in database main *** Page 76 is never used |
01-02-2015, 11:53 PM | #827 |
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
|
@Leonatus: After taking a backup of the database, it is checked for errors. If there are any errors, then the backup file is renamed to include "CORRUPT". The plugin doesn't care what the error is, just that the error checking reported one.
In this case, it is a harmless error. A page has been allocated in the database, but doesn't have anything pointing to it. If you compress the database, it will clean this up and the error will go away. |
01-03-2015, 03:07 AM | #828 |
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
|
Kobo Utilities plugin - V2.0.0
I have just released version 2.0.0 of the plugin. This adds three new functions and involved a major rewrite of the background code.
The new function is:
Multiple devices and Profiles The major change is for the handling of multiple Kobo devices. The reason for doing this was to allow storing of the reading status for different people using different devices. This is done by creating profiles for the store/restore function that can use different sets of custom column. Each profile can be set to be used for a different device. As with the previous store/restore options, the profiles are created for the current calibre library. The current configuration will be migrated to a profile for all devices. This profile is called "Migrated". If you only have one Kobo device, you can use this with no changes. As well as profiles for store/restore, the database backup and firmware check can be configured for all devices or each device individually. These options are all in the configuration dialog. This has been changed to have three tabs; one each for "Profiles", "Devices" and "Other". The last is where general options such as the button and shortcut configuration is done. Remove Annotation files This is to remove the annotations files created when reading ePubs on the main memory. This is useful because of the bug when reopening epubs and the annotations list gets messed up. Also, the device doesn't delete the files, so if you send a book again, it can reopen with the old annotations. Of course, that can be handy. There are several options for which files to remove. Personally, I just remove them all. Set Related Books The details screen for books has a tab for "Related books". For books from Kobo, this is populated with books that Kobo think are related. This can be books in the same series, by the same author, genre or something else. For sideloaded books, the tab is there, but it is empty. This function sets the related books for sideloaded books. They can be set to either series or authors. When the function is selected, it displays a dialog with these options. Select which is desired and press "Get list". This displays the list of series or authors with a count of books. The list can be edited. When "OK" is pressed, all books in author or series in the list have all the other books added as a related book entry. The dialog also has a "Delete All" button. Pressing this will remove all the related book entries for all sideloaded books. This is an alternative to creating a shelf for the series. As usual, calibre will announce the update in the next hour or so. If there are any problems, please report them here. |
01-03-2015, 10:13 AM | #829 |
male solipsist pig
Posts: 102
Karma: 440818
Join Date: Oct 2010
Location: Moscow
Device: Nook Simple Touch→Kobo Aura HD
|
I've got a problem with the 2.0.0. Every time I press the toolbar button or select "customize plugin" from the pull down menu, I get an unhandled exception:
Code:
calibre, version 2.15.0 ERROR: Unhandled exception: <b>TypeError</b>:QWidget.setEnabled(bool): argument 1 has unexpected type 'NoneType' calibre 2.15 [64bit] isfrozen: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.8 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && KoboTouchExtended && Hyphenate This! && Kobo Utilities && Annotations Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 580, in toolbar_button_clicked File "calibre_plugins.koboutilities.action", line 636, in show_configuration File "site-packages\calibre\customize\__init__.py", line 154, in do_user_config File "calibre_plugins.koboutilities.__init__", line 61, in config_widget File "calibre_plugins.koboutilities.config", line 1311, in __init__ File "calibre_plugins.koboutilities.config", line 687, in refresh_current_profile_info TypeError: QWidget.setEnabled(bool): argument 1 has unexpected type 'NoneType' |
01-03-2015, 10:45 AM | #830 |
Resident Curmudgeon
Posts: 76,532
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-03-2015, 11:58 AM | #831 | |
Groupie
Posts: 186
Karma: 13138
Join Date: Jun 2014
Device: Kindle Paperwhite 3, Kobo Aura, Kobo Glo HD
|
Hi! I just updated Calibre to 2.15 and the plugin to 2.0. Now, I can't seem to do a backup of my Kobo Aura upon connecting it to Calibre (I set it to automatically backup daily). I keep getting this error:
Quote:
ETA: Nevermind. Found the fix for it. Apparently, either Calibre or the updated plugin removed my Aura from the list of supported devices in the Customise Kobo Utilities option of the plugin. Last edited by melovesflying; 01-03-2015 at 12:09 PM. Reason: Fixed the problem |
|
01-03-2015, 05:46 PM | #832 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Edmonton, Canada
Device: Kobo Glo
|
Hi, I've updated to Calibre 2.15 and the new Plugin and get the following as soon as Calibre restarts with the Kobo Glo connected
calibre, version 2.15.0 ERROR: Unhandled exception: <b>KeyError</b>:u'storeOnConnect' calibre 2.15 [64bit] isfrozen: True is64bit: True Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.8 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && Open With && KoboTouchExtended && Kobo Utilities && KoboBooks && Manage Series && Quality Check && Reading List Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 259, in _on_device_metadata_available KeyError: u'storeOnConnect' |
01-04-2015, 01:04 AM | #833 |
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
|
Kobo Utilities plugin - V2.0.1 - Fix configuration reading
Sorry, I messed something up with the configuration migration. I was being a little to smart in how I handled this. This caused some errors when the options were used as some where missing.
I have fixed the migration. I have also fixed the later handling so that it will correctly use defaults when parts of the configuration are missing. calibre will announce the update in the next hour or so. |
01-04-2015, 04:53 AM | #834 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Edmonton, Canada
Device: Kobo Glo
|
Hi
Sorry, just took the update and restarted Calibre, Plugin status shows I'm now running 2.0.1 Same error calibre, version 2.15.0 ERROR: Unhandled exception: <b>KeyError</b>:u'storeOnConnect' calibre 2.15 [64bit] isfrozen: True is64bit: True Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.8 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && Manage Series && KoboBooks && Reading List && Open With && Kobo Utilities && Quality Check Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 259, in _on_device_metadata_available KeyError: u'storeOnConnect' Am I missing something in the config? |
01-04-2015, 05:00 AM | #835 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Edmonton, Canada
Device: Kobo Glo
|
I'm now able to get to the config menu of Kobo Utilities. There was no device picked on the second tab. I added the "connected" device and I'm now able to start Calibre with the device connected. Probably a special case given I had installed the earlier version?
|
01-04-2015, 06:09 AM | #836 | |
male solipsist pig
Posts: 102
Karma: 440818
Join Date: Oct 2010
Location: Moscow
Device: Nook Simple Touch→Kobo Aura HD
|
Quote:
I had to install 2.0.1 afresh though, 'cause 2.0.0 was breaking access to my device. And I don't know if Calibre keeps settings for uninstalled plugins. UP: Ouch, spoke too early. After I ejected the device from Calibre (uploaded nothing, just an automatic backup) I tried to go to the KoboUtilities options once more and got this: Code:
calibre, version 2.15.0 ERROR: Unhandled exception: <b>TypeError</b>:'NoneType' object has no attribute '__getitem__' calibre 2.15 [64bit] isfrozen: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.8 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && Annotations && Kobo Utilities && Hyphenate This! Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 636, in show_configuration File "site-packages\calibre\customize\__init__.py", line 154, in do_user_config File "calibre_plugins.koboutilities.__init__", line 61, in config_widget File "calibre_plugins.koboutilities.config", line 1324, in __init__ File "calibre_plugins.koboutilities.config", line 1001, in update_from_connection_status File "calibre_plugins.koboutilities.config", line 1178, in populate_table File "calibre_plugins.koboutilities.config", line 1205, in populate_table_row TypeError: 'NoneType' object has no attribute '__getitem__'
Last edited by hoichi; 01-04-2015 at 06:24 AM. Reason: new unhandled exception |
|
01-04-2015, 06:14 AM | #837 |
male solipsist pig
Posts: 102
Karma: 440818
Join Date: Oct 2010
Location: Moscow
Device: Nook Simple Touch→Kobo Aura HD
|
Got that on the first connect with 2.0.1, but couldn't reproduce it after that. Maybe because I've added my device to the plugin config.
|
01-04-2015, 07:15 AM | #838 |
Wizard
Posts: 1,035
Karma: 11227259
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
|
01-04-2015, 08:33 AM | #839 |
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 Kobo Utilities plugin - V2.0.2 - More fixes for configuration handling
I have just uploaded V2.0.2 which should fix the problems DJMOON and hoichi reported. Calibre should be announcing it fairly soon.
DJMOON's problem was that I was a little simplistic with one of my fixes earlier and missed a case. The error hoichi reported should only have happened if you opened the configuration immediately after ejecting the device. There seems to be a few seconds where the two methods I need to use to get the device information are inconsistent about whether there is a device connected or not. To answer some other comments: - Calibre doesn't remove configuration when you uninstall a plugin. - The plugin can work without any devices listed. They are only needed if you want to use a different profile or backup and firmware check settings. |
01-04-2015, 09:19 AM | #840 |
how YOU doin?
Posts: 1,100
Karma: 7371047
Join Date: Feb 2009
Location: India
Device: Kindle Keyboard, iPad Pro 10.5”, Kobo Aura H2O, Kobo Libra 2
|
David, there's an issue with the "Related Content" feature.
I have one book by Author A and another co-authored by authors A and B. They don't show up as related when set to relate by author. IMO, they should. Excellent work otherwise! |
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 03:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-26-2018 12:55 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |