|  01-10-2021, 03:27 PM | #841 | 
| Connoisseur  Posts: 68 Karma: 10 Join Date: May 2015 Device: Kindle Fire 7 (7G), Kindle PW (2G), Kindle Scribe | 
			
			Recently got a Kindle Oasis and just tried using the Annotations plugin (which worked fine w/ my old Kindle Paperwhite), but it says it finds no annotations matching any books in the library.  I can see the annotations on the device in the My Clippings file when the device is mounted, and the Title and Author fields appear to match between what the Kindle has and what's in the Calibre metadata.  Any suggestions for what to check next? (Plugin v1.14.0, Calibre v4.23.0 as I am waiting to go to v5 until all of the plugins I use regularly are py3-happy.) EDIT: I turned on debug and it looks like get_installed_books() and get_imported_books() are not finding what I'd expect. ie the former gets a path_map w/ 162 entries none of which are on this device (so resolved_path_map is empty) and then get_imported_books() only finds the Kindle Users Guide (all of the books I've installed so far on this device have been via Whispersync, so I'd expect them to show up in this step?). So then get_active_annotations() finds all of the annotations but thinks none of them are books on the device. Last edited by sweth; 01-10-2021 at 04:07 PM. Reason: add debug info | 
|   |   | 
|  01-10-2021, 06:57 PM | #842 | |
| 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: 
 | |
|   |   | 
| Advert | |
|  | 
|  01-11-2021, 04:15 PM | #843 | 
| Connoisseur  Posts: 53 Karma: 20 Join Date: Apr 2017 Device: KK3G, PW, Voyage, Oasis, Aura One, Forma | 
			
			Hoping you can help with this error. I am trying to create a custom column for the annotations because I don't want them showing up in all my book descriptions, which is happening right now because of use of the default "comments" column.  Following the directions in the help file produces the below error. Code: calibre, version 5.9.0
ERROR: Unhandled exception: <b>ConstraintError</b>:ConstraintError: UNIQUE constraint failed: custom_columns.label
calibre 5.9 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 36, 0) && DeDRM (7, 0, 3) && Package KFX (from KFX Input) (1, 36, 0) && Annotations (1, 14, 0) && Find Duplicates (1, 8, 3) && KFX metadata reader (from KFX Input) (1, 36, 0) && KFX Input (1, 36, 0) && KePub Input (3, 4, 3) && KePub Metadata Reader (3, 4, 3) && KePub Output (3, 4, 3) && Kobo Books (1, 8, 0)
Traceback (most recent call last):
  File "C:\Users\genoasalami\AppData\Roaming\calibre\plugins\annotations_resources\dialogs\cc_wizard.py", line 160, in dispatch_button_click
  File "C:\Users\genoasalami\AppData\Roaming\calibre\plugins\annotations_resources\dialogs\cc_wizard.py", line 100, in custom_column_add
  File "calibre\db\legacy.py", line 808, in create_custom_column
  File "calibre\db\cache.py", line 72, in call_func_with_lock
  File "calibre\db\cache.py", line 2014, in create_custom_column
  File "calibre\db\backend.py", line 993, in create_custom_column
  File "calibre\db\backend.py", line 920, in execute
apsw.ConstraintError: ConstraintError: UNIQUE constraint failed: custom_columns.label  Thanks! | 
|   |   | 
|  01-11-2021, 06:19 PM | #844 | |
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | Quote: 
 | |
|   |   | 
|  01-11-2021, 06:58 PM | #845 | ||
| Connoisseur  Posts: 53 Karma: 20 Join Date: Apr 2017 Device: KK3G, PW, Voyage, Oasis, Aura One, Forma | Quote: 
 Quote: 
 | ||
|   |   | 
| Advert | |
|  | 
|  01-11-2021, 08:02 PM | #846 | |
| 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: 
 A possibility is if you created the column, and didn't restart calibre. Then tried to do the configuration again (which is something I have done more times than I want to admit). At that point, I do not think the new column will not be in the list of suitable columns. But, if you tried to create it again, you would get this error. I will look at putting some error handling in, but, in the meantime, check what calibre has in the the custom column list. The above should be there. | |
|   |   | 
|  01-12-2021, 12:46 AM | #847 | |
| 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: 
 
 | |
|   |   | 
|  01-12-2021, 07:01 AM | #848 | |
| Member  Posts: 17 Karma: 10 Join Date: Jan 2021 Device: Kobo Forma | Quote: 
 
 | |
|   |   | 
|  01-12-2021, 08:01 AM | #849 | |
| 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 to retest this. It seemed to work adding the annotation, but, maybe I missed something. | |
|   |   | 
|  01-12-2021, 02:21 PM | #850 | 
| Guru            Posts: 918 Karma: 810834 Join Date: Sep 2017 Location: Buenos Aires, Argentina Device: moon+ reader, kindle paperwhite | 
			
			Hello people, I have been reading carefully all the instructions and the plugin does not work for me. I'll be doing something wrong, you could guide me. Create a custom column for annotations in Caliber, (Annotations). In the kindle I create a note in a book. I install the plugin. In the plugin settings "Add retrieved annotations to" I select the custom column (Annotations). I connect the kindle and Caliber recognizes it as a device and I give the plugin in Fetch annotations form device connected device, it runs the process bar and I get a sign "Unable to find any annotations on Amazon Kindle matching books in your library" Last edited by dunhill; 01-12-2021 at 02:23 PM. | 
|   |   | 
|  01-12-2021, 08:54 PM | #851 | |
| 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: 
  But, I'm sure that is not the case. There are reasons: 
 If you haven't installed the beta, try it. And test by making an new annotation on the device for a book that is matching to you calibre library. That should check that it is working. If it is still not working, I need a debug log and a copy of the "My Clippings.txt" file. Plus some details of which books are having problems. | |
|   |   | 
|  01-13-2021, 09:35 AM | #852 | |
| Junior Member  Posts: 3 Karma: 10 Join Date: Jan 2021 Device: Kindle Paperwhite | Quote: 
 Then I will use the plugin to the extent my device is able to.   | |
|   |   | 
|  01-13-2021, 02:42 PM | #853 | 
| Guru            Posts: 918 Karma: 810834 Join Date: Sep 2017 Location: Buenos Aires, Argentina Device: moon+ reader, kindle paperwhite | 
			
			I have downloaded the beta of post 824 and I still cannot connect the annotations from a kindle paperwhite and Calibre Image 1 book in the kindle, image 2 Note of said book, image 3 in process in Calibre. Image 4 The file My Clippings.txt exists | 
|   |   | 
|  01-13-2021, 04:24 PM | #854 | |
| Connoisseur  Posts: 53 Karma: 20 Join Date: Apr 2017 Device: KK3G, PW, Voyage, Oasis, Aura One, Forma | 
			
			This was the answer; thanks. I will have to dig around and see if I can figure out how to destroy the duplicate column name from the database. Quote: 
 | |
|   |   | 
|  01-13-2021, 06:18 PM | #855 | ||
| Connoisseur  Posts: 68 Karma: 10 Join Date: May 2015 Device: Kindle Fire 7 (7G), Kindle PW (2G), Kindle Scribe | Quote: 
 Quote: 
 | ||
|   |   | 
|  | 
| Tags | 
| sampleexportingapp | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 01:36 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 |