03-02-2017, 08:31 AM | #286 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2017
Device: Kobo Glo
|
Quote:
|
|
03-02-2017, 08:37 AM | #287 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2017
Device: Kobo Glo
|
Thank you! I did it as instructed in your answer and... it works perfectly!
|
03-04-2017, 08:10 PM | #288 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2017
Device: kobo glo
|
customize annotations plugin for Kobo crashes Calibre
Hi. Sorry to be so lame that I introduce myself with a question. I recently had a badly corrupted kobo database and had to wipe it then restore from a year old backup. Reinstalling the usual plugins worked better than before now that I have some idea of what's going on. The exception is the annotation plugin (1.4.11). It can fetches and displays annotations from the device but fails when I try to import. And it flat out crashes Calibre when I try to customize the plugin. The import error:
Traceback (most recent call last): File "calibre_plugins.annotations.action", line 289, in fetch_device_annotations File "calibre_plugins.annotations.action", line 994, in process_selected_books File "calibre_plugins.annotations.action", line 141, in add_annotations_to_calibre TypeError: 'NoneType' object has no attribute '__getitem__' Any idea? Did I miss a thread in my search? Suggestions will be appreciated! Many thanks to all Calibre/Plugin contributors - you're the best. TG |
03-05-2017, 04:28 AM | #289 | ||
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:
Quote:
|
||
03-06-2017, 08:39 PM | #290 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2017
Device: kobo glo
|
Thank you for the assistance. OK, the database stuff was irrelevant and confusing. As to the configure the plugin solution I would love to but "it flat out crashes Calibre when I try to customize the plugin." Is there another method of configuring? I apologize if I seem dense but this is a fresh install of the plugin. What column would it be looking for?
TG |
03-06-2017, 11:25 PM | #291 | |
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:
I'll have a look at it tonight and see what can be done. |
|
03-07-2017, 02:39 AM | #292 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2017
Device: kobo glo
|
The image I restored from may have had annotation installed as one time but I removed it. This problem comes after restoring and newly installing the plugin. Could it leave files behind? I couldn't find anything obvious. I tried creating several columns with likely names but no luck. I captured the crash, the error msg is similar to the fetch error but ends with a seg fault.
|
03-07-2017, 07:41 AM | #293 |
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
|
Beta - Fix problems when annotations column doesn't exist.
I've had a look at the two problems reported by TGSET. These are both caused by a mismatch between the plugins configuration and the calibre library. What has happened is that the configuration was saved using a custom column for the annotations column. After this, the column was removed. The errors were because there was not enough checking of the configuration before the plugin attempted to use the column.
The attached beta version of the plugin fixes this problem. The crash when the plugin configuration is opened will no longer happen. And if you try to fetch annotations from a device and the annotations column does not exist, an error message will be displayed. Please try this beta and tell me how it goes. |
03-07-2017, 06:32 PM | #294 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2017
Device: kobo glo
|
Much thanks. This allows me to change columns now. Customize pops up with "Comments" as the suggest colum. That seemed reasonable so I left it. But the fetch complained that it couldn't find an "Annotations column." I suppose that's the old name that got me stuck. I created Annotations and it worked. I then reselected "Comments" and the plugin offered to move my notes - which it did. A little round about but it clearly fixed my problem.
An observation: On KDE/Qt the "fetching" wait window shows me a frame surrounding a transparent window without content. It doesn't affect operation. |
03-07-2017, 09:18 PM | #295 | ||
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:
Quote:
|
||
03-08-2017, 07:35 AM | #296 |
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
|
Beta - Fix problems when annotations column doesn't exist - Part 2
Here's another beta for the configuration problems. I missed handing the "Comments" field properly. This meant that if the plugin didn't consider the comments field as a selected column when attempting to fetch the annotations.
|
03-08-2017, 06:33 PM | #297 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2017
Device: kobo glo
|
Yes, it's the annotation fetch from the device.
I see the transparency glitch on Debian Jessie - KDE v4.4.14. Maybe that helps? Thanks for the updated plugin! |
04-10-2017, 10:54 PM | #298 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2017
Device: Kobo Glow
|
Hi there!
I am trying to use the Annotations plug-in to download and see/print annotations from en EPUB book but I am running into problems. I am using Calibre 2.82.0 and Annotations 1.4.11 (from "Get plugins to enhance Calibre"). I am using a Kobo Glo. If I start from a fresh library, I can see the book on my Card A and save it to my library. Then, I can "Fetch annotations from Kobo Glo". A new window "Import Annotations" opens, with the title of my book and 728 annotations, I click "Import Annotations". Then, I receive an error "__getitem__". I can solve this error by "Customize plugin..." and select "Add fetched annotations to" and "Comments". I quit Calibre and restart. Now, if I select "Fetch annotations from Kobo Glo", same window, some button but a progress dialog opens but no annotations appear in the "Comments" column. Now, If I select "Customize plugin..." and select "Add fetched annotations to", I can create "Annotations" using the "magic wand". A dialog opens to move the comments. Again, an exception but "__getitem__". I can solve this exception by closing Calibre and running it again and running the "Fetch annotations from Kobo Glo". This time, in the column Annotations, there is some information. Now, how I can use this information? How could I visualise the annotation over the text of the book? Sorry if I am not clear, please do not hesitate to ask me any clarifications! Thank you in advance for your help! Yann |
04-11-2017, 02:46 AM | #299 |
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
|
@Yann-Gaël: Two posts above yours is a post with a beta version of the plugin. It was put up to fix some problems with the configuration if custom columns were changed elsewhere in calibre. I think this will solve the problems you are seeing.
If it doesn't, I need more information. At the least, the full error that is shown. Click the copy button at the bottom of the error dialog to copy the details to the clipboard and post it here. Unfortunately, there isn't any way to integrate this with the actual book. All you can do is view it in calibre and use the quoted text to find it in the book. This might change, but it requires support elsewhere in calibre to do it. |
04-19-2017, 01:36 PM | #300 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2017
Device: Sony Reader PRS-T2
|
Nice plugin - and I love the extensibility!
I put together a basic script to make it work with the Sony Reader (T2) here: https://github.com/sleidig/calibre_a...ons_sonyreader |
Tags |
sampleexportingapp |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
[GUI Plugin] Annotations (closed) | GRiker | Plugins | 68 | 06-17-2014 06:11 AM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |