02-12-2011, 06:32 AM | #166 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Version 1.3.3 released
Ok, here's another update
Rie142, CWatkinsNash - this might fix your issues, please give it a try. Thanks for asking about this - I really need people to report any issues with their specific environments as I'm more than happy to work on fixing them. purple mink - this includes yet another check for invalid files - can you try it again? seaquay - 0.7.45 looks like it fixed the issue with templates in columns, so try the latest plugin CWatkinsNash - what can I say, but thanks for a thorough test and explanation. Its great to have the support of others! The plugin was reading and using all the metadata.calibre data. But Calibre saves information on every book on the Kindle - even books no longer in Calibre. But it does flag which ones are in Calibre and which aren't. I was parsing all of them, until now. Version 1.3.3 should skip over any tags/columns in books that aren't in Calibre, which it should have done from the beginning. There might be a couple bugs in Calibre that I'll follow up. If you delete a book, the metadata.calibre file is not updated to make the application_id null so the book appears to still be in Calibre if you read the file. And if you delete a book and reconnect the device, the application_id is correctly null, but the tag information, etc. is not cleared. |
02-12-2011, 06:46 AM | #167 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Here's my feedback on 1.3.2 after I at last had a chance to try this myself.
I had a fair number of issues but I think it is very much the case that many were not the fault of the plugin but more all the "layers" of complexity that coexist in Calibre. When you consider all the variables of book metadata, send to device template, metadata plugboard template and Kindle device plugin configuration sitting underneath, this plugin has to balance very precariously on top of the lot. I am not surprised that others have had issues, and I am sure an awful lot more will in future. Again I repeat that none of the major issues I had had were the fault of the plugin at all, nor were they bugs in Calibre. It was just ignorance on my part on knowing exactly how to get all the parts in sync for it to work. So what did I have go wrong? - I changed the "Send to device" template, as I was previously using a different collection manager which relied on specific names of folders to generate collections. However while I changed this in Preferences -> Sending books to devices, there is also another value I discovered stored in Preferences -> Plugins -> Device Interface Plugins -> Kindle 2/3 Device Interface. In the meantime I had doubled up books etc. - When I first created collections I had more collections than I "expected". However I traced this down to a metadata plugboard override I had previously setup for authors, to shorten the author name to surname and initial. So the plugin created collections created for both the full author name and the shortened name. In the end to get it working I decided to rip out that metadata plugboard override of author, delete all the books on my Kindle, restarted then resent all the books to the kindle, then ran the collection manager again. With all the ducks lined up it did exactly what was advertised which is great. Does anyone else find it takes several minutes before Calibre starts responding again when they connect or eject? (Even with only a handful of books on the Kindle)? My couple of plugin specific things I noted: (1) If you go into the configuration screen for the plugin when the Kindle is not connected I note it doesnt list anything in the grid. You can change (or seem to) the checkboxes at the bottom of the dialog. Left me a bit confused and concerned about making changes. If you can't configure the grid then some sort of visual messages about requiring the Kindle to be connected to view and change would help. It just looked like it had lost my settings when you see an empty grid. (2) When I deleted all collections on my Kindle, restarted then rang the plugin I got several "error" messages about how no json file was found in two different dialogs lpus the report. Seeing a file not found in an error dialog makes me think it has/will fail - when in fact it just means you have no collections on your Kindle to start with. As this appears to be informational rather than terminal/error I think it shouldn't be thrown in the user's face quite so much or at least explain in a less "critical" fashion. Much credit and thanks to meme for the plugin. Once I eventually got sorted I now have exactly what I want without having to run external tools against the Kindle. |
Advert | |
|
02-12-2011, 08:41 AM | #168 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
1.3.3 might have helped not show books you didn't expect. At least the preview can tell you when things might double up. Difficult to track down issues with lots of customized templates, etc. - thanks for testing them out.
It does take a few seconds for Calibre to recognize connect/disconnect since its not checking every second. Makes debugging fun - which is why I allow it to run against a directory copy of the Kindle when testing at least some parts 1. You should get a warning if the Kindle is not detected, or if there is no metadata.calibre file already. It may be that you are running the plugin after disconnecting in a way or at a time I didn't check for. I'll need to retest all the scenarios, but if you remember what you did, let me know. 2. I'll check into the collections.json message. I made it an error in case there was a problem with the connection - but its much more likely that its a first time collection creation - and creating it if it isn't there isn't going to hurt anything. Great stuff - thanks again for all the help and encouragement |
02-12-2011, 11:05 AM | #169 | |
Member
Posts: 17
Karma: 24
Join Date: Dec 2009
Location: Just outside of Seattle, WA
Device: Kindle2
|
Quote:
It is harder to teach an Older dog new tricks but I am trying to learn. |
|
02-12-2011, 03:01 PM | #170 | |||
IOC Chief Archivist
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
Quote:
Quote:
Yes, and it seems more extreme than it is because of the way it runs separate processes. The GUI takes a backseat while the jobs start running and there's no immediate visual feedback about what's going on. When I first started using calibre, I had to train myself to leave it alone till it becomes responsive again. It really does look like it's crashing sometimes, but I've accepted that it wants to be left alone when it's busy. I can relate. |
|||
Advert | |
|
02-12-2011, 09:55 PM | #171 | |
Member
Posts: 17
Karma: 24
Join Date: Dec 2009
Location: Just outside of Seattle, WA
Device: Kindle2
|
Quote:
Looks like it works better for me now. I ran it in the debug mode. Now I would like to know where the collections.json file is located at. I have looked all over on my computer and on the Kindle. What am I missing. Can you help me find it so I can get rid of all the information of old books that it is holding? I am still getting a couple odd tags but not as bad as before. Last edited by Rie142; 02-12-2011 at 09:57 PM. Reason: wording |
|
02-12-2011, 10:10 PM | #172 | |
IOC Chief Archivist
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
|
|
02-13-2011, 04:25 AM | #173 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
At least on Vista, you also need to set it to show system folders since the 'system' folder is being seen as a system folder to Windows.
Rie142 - for the couple of collections you get that you don't expect - what does it say about them in the report that is displayed when you run Preview? It should indicate if they are from Calibre or on the Kindle already. If they are on Kindle already you can just use your Kindle to manually delete it after making sure you don't want it. |
02-13-2011, 05:53 AM | #174 | ||
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
Quote:
I just tried again on your latest version 1.3.3 - except this time without connecting a Kindle. I now get this error: Code:
calibre, version 0.7.45 ERROR: Unhandled exception: <b>KeyError</b>:'ignore_all' Traceback (most recent call last): File "D:\Dev\CalibreDev\latest\calibre\src\calibre\gui2\preferences\plugins.py", line 257, in double_clicked File "D:\Dev\CalibreDev\latest\calibre\src\calibre\gui2\preferences\plugins.py", line 330, in modify_plugin File "D:\Dev\CalibreDev\latest\calibre\src\calibre\customize\__init__.py", line 132, in do_user_config File "<string>", line 79, in config_widget File "C:\Users\Grant\AppData\Roaming\calibre\plugins\Create Kindle Collections.zip\create_kindle_collections_code.py", line 1371, in config_widget KeyError: 'ignore_all' |
||
02-13-2011, 08:15 AM | #175 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Yep, I'm rewriting the check for Kindle connected and the customization pre-checks to be a lot more thorough and correct. Unfortunately when I made the error dialogs nicer for the Menu customization entry, it broke the customization invoked by the Preferences dialog. (See the separate thread about do_user_config - I was trying to avoid the large window created when there wasn't anything to customize, but only fixed it in one area).
I do have some more information on where collections come from in the debug output - but I might be able to append it to the report. Debug shouldn't need to be run unless there is an unexpected issue. |
02-13-2011, 10:23 AM | #176 | |
Member
Posts: 17
Karma: 24
Join Date: Dec 2009
Location: Just outside of Seattle, WA
Device: Kindle2
|
Quote:
Thank you so much for all the help. This old dog is slowly learning how to do things. Just need to read slower so I don't miss things. |
|
02-13-2011, 10:25 AM | #177 | |
Member
Posts: 17
Karma: 24
Join Date: Dec 2009
Location: Just outside of Seattle, WA
Device: Kindle2
|
Quote:
Ok I am off to try this. Yes I am running Vista. Seems to work fine as an OS for me. Now just need to find where it has the hidden folders. I will probably just add it to the explorer bar. I will make it work. |
|
02-13-2011, 11:59 AM | #178 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Kindle
|
@meme, the custom column fix worked. Thank you.
There was another minor hiccup that I had mentioned in the earlier mail quote...I changed the column from 'kindle' to 'kindle_col' and both can be seen when customising the plugin in the plug-in GUI. Maybe there is a bug here....unquote It is not creating an issue, but I wondered just for the sake of completeness |
02-13-2011, 12:12 PM | #179 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
Thanks for mentioning it - if it can be fixed, I'd like to fix it |
|
02-13-2011, 02:07 PM | #180 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: kindle 3 Wi-Fi
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Kindle Collections (Update) | NiLuJe | Plugins | 463 | 02-16-2024 12:43 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 |