![]() |
#886 | |
Series Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
|
Quote:
![]() |
|
![]() |
![]() |
#887 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2009
Device: iPhone 3GS, Kindle 3, Mac, PC
|
Went into the new addon to check it was still customise via tag, and got this, hope it helps.
calibre, version 0.8.2 ERROR: Unhandled exception: <b>AttributeError</b>:'Main' object has no attribute 'tool_bar' Traceback (most recent call last): File "calibre_plugins.kindle_collections.ui", line 178, in customize File "site-packages\calibre\customize\__init__.py", line 169, in do_user_config File "calibre_plugins.kindle_collections.__init__", line 83, in save_settings File "calibre_plugins.kindle_collections.ui", line 147, in rebuild_menus AttributeError: 'Main' object has no attribute 'tool_bar' |
![]() |
![]() |
#888 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
What version of the plugin are you running? Check the About menu. If not 1.6.2, then you need to ugprade as this error is expected with 0.8.2 and the older versions of the plugin. And make sure you restart calibre after you've added the plugin.
Last edited by meme; 05-22-2011 at 06:22 AM. |
![]() |
![]() |
#889 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2009
Device: iPhone 3GS, Kindle 3, Mac, PC
|
|
![]() |
![]() |
#890 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Can you post the zip file you downloaded? (I'll ask you to remove it once I have it, but I'm curious as to what it contains).
Then can you download and install the plugin again, restart calibre and check again? I just downloaded it from the first post and double checked looking at the source code - and the tool_bar attribute is definitely not in the files. tool_bar was an item in the old source code that is no longer in 0.8.2 calibre so I replaced it. |
![]() |
![]() |
#891 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2009
Device: iPhone 3GS, Kindle 3, Mac, PC
|
Quote:
Sure. |
|
![]() |
![]() |
#892 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Just had the latest version wipe my Collections to zero again. Editing the Kindle version, then trying to import it back into Calibre, net result, a mess.
Honestly, this is a great idea and you've done some good work with it. But I'm giving up until it syncs with the collections on my Kindle to Calibre and Calibre back to Kindle. It takes way too much work to lose that work in a single press of some wrong and unclear button. :-( |
![]() |
![]() |
#893 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2009
Device: iPhone 3GS, Kindle 3, Mac, PC
|
Removed plugin, restart Calibre, downloaded addon again, same result at same place.
calibre, version 0.8.2 ERROR: Unhandled exception: <b>AttributeError</b>:'Main' object has no attribute 'tool_bar' Traceback (most recent call last): File "calibre_plugins.kindle_collections.ui", line 178, in customize File "site-packages\calibre\customize\__init__.py", line 169, in do_user_config File "calibre_plugins.kindle_collections.__init__", line 83, in save_settings File "calibre_plugins.kindle_collections.ui", line 147, in rebuild_menus AttributeError: 'Main' object has no attribute 'tool_bar' |
![]() |
![]() |
#894 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2009
Device: iPhone 3GS, Kindle 3, Mac, PC
|
One thing - even after I REMOVE the plugin, and restart Calibre, the icon for it is STILL there....
Yup, juse tested that again, icon stil there on the toolbar, lets me click into it and all.... Last edited by belfastbiker; 05-22-2011 at 11:01 AM. Reason: Checked twice |
![]() |
![]() |
#895 | |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
What settings are you using? If you create a custom column and then use Import to that column, then you are 'syncing' the collections from Kindle to Calibre. If you setup your Settings to 'Create' for that custom column and then hit Create Collections you are 'syncing' your calibre collections to your Kindle. Or are you doing something else? |
|
![]() |
![]() |
#896 | |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Quote:
This is the second time this has done this, previous was a couple of versions ago (Calibre was at 7.58or so, if I remember correctly. IAC, before 8.x.) |
|
![]() |
![]() |
#897 | |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
I will do some testing on this again this week, but I haven't changed any of the import code in a while. |
|
![]() |
![]() |
#898 | |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
The plugin file you attached is the correct version - and it does not contain the tool_bar attribute. You can delete the zip file from your earlier post (to avoid anyone accidentally downloading it). If you delete the plugin, then the icon should not be there, and you certainly shouldn't be able to run it. If you are on Windows, the plugin file is just stored in C:\Users\YOURNAME\AppData\Roaming\calibre\plugins\ If you go to that directory (using your username), the 'Kindle Collections.zip' file should be gone if you delete the plugin. If its still there, you can delete it yourself, then restart calibre and see if the icon/plugin is gone. (There is a Kindle Collections.json file which contains your Customization settings which you can leave there). |
|
![]() |
![]() |
#899 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Fortunately, it did not get a chance to erase what was on the Kindle, so this time (as opposed to previous), I didn't have to start all over. (With 300+ books on the Kindle, it's a bit of a pain.<G>)
I moved to a different computer to make sure there wasn't any legacy (central shared Calibre database on my Windows Home Server.) Used import on this computer, and got the Kindle collections back into Calibre. Now set to Create for your Collections plugin, and that seems to be working. What I am going to avoid completely is directly editing the Kindle collections file. That seems to be what triggers the issue. Plus it's a royal pain to do anyway, so better to do all the manipulation in Calibre. |
![]() |
![]() |
#900 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
The plugin wouldn't have erased your collections on the Kindle anyway in this situation. If you did a Create with a blank column, it would have left all the collections as Kindle only (unless you unchecked that box). And there is always the restore collections from the last create/edit. But I can understand your concern
![]() I'll test out editing/importing. Technically it shouldn't make any difference, but that's what bugs are ![]() Yep, best to edit directly in Calibre and run Create. Edit was mainly added for people who didn't use or want to use Calibre to organize their collections, although it should still work fine. Appreciate the feedback. Hopefully I can figure out what the issue is - and at the very least I should be able to add a check that the plugin has actually read collections from the Kindle before proceeding with the import. |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Kindle Collections (Update) | NiLuJe | Plugins | 475 | 05-23-2025 08:22 AM |
Kindle Collections plugin | JosephWebber | Plugins | 1 | 08-21-2017 11:44 AM |
[GUI Plugin] WebOS Kindle-Import | CranstD | Plugins | 0 | 01-24-2012 03:36 PM |
Finding and using Kindle Collections Plugin | djchapple | Plugins | 2 | 08-03-2011 10:06 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |