![]() |
#361 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
For the Kobo devices, the selected book won't be used. The plugin only fetches annotations for books that are already matched, and it uses this link to get the right book. Removing this for Kobo devices should be safe. Calling the plugin from another plugin isn't hard. I call a function in the Goodreads sync from Kobo Utilities. Calling the annotations should be OK as well. But, an automatic fetch of the annotations is probably better. A problem with doing this is that the annotations fetch runs in the foreground. If it was a background job, it would be less intrusive especially when no annotations are found. |
||
![]() |
![]() |
![]() |
#362 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, I was thinking in adding a new checkbox when you read the percentage, and extract annotations only for that book. I'll try to go with that idea because I think a job is less useful (if I haven't open the book I cannot have added any annotation). I'll tell you if I'm able to do it (another customization
![]() |
![]() |
![]() |
![]() |
#363 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Aug 2017
Device: Kindle 2. Gen
|
Quote:
https://www.mobileread.com/forums/sh...ad.php?t=54761 |
|
![]() |
![]() |
![]() |
#364 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
It's possible but depending on how it's coded, it's useful or not.
|
![]() |
![]() |
![]() |
#365 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
![]() Quote:
But I have my foreground check for annotations, so I'm good to go. Thank you to the original creator and the current maintainer (and I have to finish the translation). |
||
![]() |
![]() |
![]() |
#366 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
|
Not all annotation fetched from kindle
First of all I have updated the italian translation that presented some minor errors and omissions; it is attached.
Then I would like to share what I understood until now about why only some annotated books are shown when I select ‘Fetch annotations from device’ (not much really). The problem may be related to the matching of books in the Calibre library and on device but rather to the format/title of the books. In fact, if an annotated book does not match I expect that it will be shown in red and require manual match but not that it is not shown at all. To check this hypothesis I made different trials sending the same book to the device from Calibre in different formats. I discovered that books in the new Amazon KFX format are not considered in the list of annotated books. Unfortunately, this is the format that most books are nowadays downloaded to the device from Amazon and it is very convenient too because it supports typographic enhancements, better speed and better navigation. Furthermore, but here I have to investigate more, it seems that AZW3 books sent to the kindle from Calibre are recognized while AZW3 books downloaded from Amazon not or not always. MOBI seems OK. Finally, other things that I still don't understand occur, like this: I send a book in KFX to Kindle, annotate it and cannot see any annotation. I remove that book from kindle, I send the book in AZW3 and still cannot see any annotation. I add another annotation to the book and when fetch annotations finally I can see it with 2 annotations, but then when I preview them nothing is shown. I still have not found a rule to understand which annotated book are shown and which not. Well I wished to share these first findings, I will investigate more and will report but any suggestion is welcome! Ciao, Dario Last edited by dsestero; 09-15-2017 at 04:00 AM. |
![]() |
![]() |
![]() |
#367 |
Member
![]() Posts: 21
Karma: 10
Join Date: Aug 2017
Device: Kindle 2. Gen
|
|
![]() |
![]() |
![]() |
#368 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
|
Yes, it is attached to post #356. Actually I got several messages like yours 'Title not found in books on device' for annotated books. Now I would like to understand what is the rule by which an annotated book is fetched or not by the plugin. It is not only a question of whether the book is matched to the library.
Ciao, Dario |
![]() |
![]() |
![]() |
#369 |
Member
![]() Posts: 21
Karma: 10
Join Date: Aug 2017
Device: Kindle 2. Gen
|
Maybe I find the time at the weekend to add a bunch of more log messages to figure out, what's actually going wrong.
|
![]() |
![]() |
![]() |
#370 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2017
Device: Kindle Paperwhite
|
So, the pluguin (v.1.6.0) stopped working suddenly. It fetch the books but when I try to import the annotations I get this error message:
Traceback (most recent call last): File "calibre_plugins.annotations.action", line 293, in fetch_device_annotations File "calibre_plugins.annotations.action", line 1012, in process_selected_books File "calibre_plugins.annotations.action", line 150, in add_annotations_to_calibre File "calibre_plugins.annotations.annotations", line 251, in merge_annotations File "calibre_plugins.annotations.annotations_db", line 241, in capture_content TypeError: 'NoneType' object has no attribute '__getitem__' I tried using the last beta but the error continue appering. |
![]() |
![]() |
![]() |
#371 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I'll have a think of how to handle this better, but, I'm not sure if there is anything that can be done except removing the existing annotation or reporting an error and not updating it. |
|
![]() |
![]() |
![]() |
#372 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
|
Any news about better understanding what makes an annotation fetchable? (i.e. understanding why some annotated books are fetched for annotations and most other no?).
And I would like to ask if it would be possible, in a future version, to have the possibility to merge existing annotations already stored in the Calibre library with the annotations for the same book fetched from the device. This would allow to empty, from time to time, the file MyClippings.txt that otherwise continue to grow up (furthermore, when annotations are removed from the kindle, they still remain in the file, so clearing it from time to time seems to me a good idea). Ciao, Dario |
![]() |
![]() |
![]() |
#373 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Aug 2017
Device: Kindle 2. Gen
|
Quote:
According to my investigation so far the cause for the issue appears to be the parsing of the timestamp. If never done any Python coding but nevertheless my plan right now is, extract the timestamp parsing method so I can run it in an IDE and debug what's actually happening. (Also there is a nasty rege which I need to dissect.) |
|
![]() |
![]() |
![]() |
#374 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
|
Schnesim, I don't know Python but in the past I was a Java programmer. May be I can help with the regular expression if you point it to me.
Good night, Dario |
![]() |
![]() |
![]() |
#375 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
Tags |
sampleexportingapp |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 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 |