Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-23-2025, 08:34 AM   #1171
Tatiana
Junior Member
Tatiana began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2025
Device: Kobo Libra Colour
Feature request - Highlight colour information

Hello everyone! First off I’d like to say that the annotations plugin is great, I have just started using it with my Kobo Libra Colour and it works very well.

There is only one thing that would make it even better: now that there are colour e-ink readers out there, the chance to colour code highlights is perfect, and it would be great to be able to see the colours of the highlights in the imported annotations, the strip at the top of each note could be the same colour as the original highlight and that would be a very practical way of displaying the info.

I don’t know about coding and I don’t know where the Kobo stores the highlight colour information, it doesn’t seem to be included in the text files that you can extract from the Kobo, so I don’t know if this implementation would be possible, but it would be great if you could give it a try!

Thank you!!!
Tatiana is offline   Reply With Quote
Old 02-23-2025, 11:40 AM   #1172
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,625
Karma: 103503445
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Text files don't do colour, so how would that work?
Quoth is offline   Reply With Quote
Old 03-21-2025, 06:24 AM   #1173
VeganBookworm
Junior Member
VeganBookworm began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2022
Device: Kobo Clara Colour
I reinstalled Calibre and had to delete all addons. Now, I think, I can't manage to connect the annotations column anymore. Or is this a problem with linking the device to the correct column?

Code:
calibre, version 8.0.0
ERROR: Unhandled exception: <b>TypeError</b>:'str' object is not callable

calibre 8.0  embedded-python: True
macOS-15.4-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '24.4.0', 'Darwin Kernel Version 24.4.0: Wed Mar 12 21:24:23 PDT 2025; root:xnu-11417.101.13~4/RELEASE_ARM64_T8112')
Python 3.11.5
OSX: ('15.4', ('', '', ''), 'arm64')
Interface language: None
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Successfully initialized third party plugins: Annotations (1, 17, 13)
Traceback (most recent call last):
  File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
    self.fetch_usb_device_annotations(self.get_connected_device_primary_name())
  File "calibre_plugins.annotations.action", line 407, in fetch_usb_device_annotations
    annotated_book_list = self.get_annotated_books_on_usb_device(reader_app)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.annotations.action", line 624, in get_annotated_books_on_usb_device
    ra.get_active_annotations()
  File "/var/folders/27/s66wkthd6fv_0kq2gqzht8v40000gn/T/calibre_annotations_plugin/KoboTouch.py", line 72, in get_active_annotations
  File "/var/folders/27/s66wkthd6fv_0kq2gqzht8v40000gn/T/calibre_annotations_plugin/KoboTouch.py", line 378, in _fetch_annotations
TypeError: 'str' object is not callable
Any one able to help?
VeganBookworm is offline   Reply With Quote
Old 03-21-2025, 07:41 AM   #1174
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,581
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Removed post

Last edited by Terisa de morgan; 03-22-2025 at 04:00 AM. Reason: Duplicated, and posts cannot be removed
Terisa de morgan is offline   Reply With Quote
Old 03-21-2025, 07:47 AM   #1175
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,581
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by VeganBookworm View Post
I reinstalled Calibre and had to delete all addons. Now, I think, I can't manage to connect the annotations column anymore. Or is this a problem with linking the device to the correct column?

Code:
calibre, version 8.0.0
ERROR: Unhandled exception: <b>TypeError</b>:'str' object is not callable

calibre 8.0  embedded-python: True
macOS-15.4-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '24.4.0', 'Darwin Kernel Version 24.4.0: Wed Mar 12 21:24:23 PDT 2025; root:xnu-11417.101.13~4/RELEASE_ARM64_T8112')
Python 3.11.5
OSX: ('15.4', ('', '', ''), 'arm64')
Interface language: None
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Successfully initialized third party plugins: Annotations (1, 17, 13)
Traceback (most recent call last):
  File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
    self.fetch_usb_device_annotations(self.get_connected_device_primary_name())
  File "calibre_plugins.annotations.action", line 407, in fetch_usb_device_annotations
    annotated_book_list = self.get_annotated_books_on_usb_device(reader_app)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.annotations.action", line 624, in get_annotated_books_on_usb_device
    ra.get_active_annotations()
  File "/var/folders/27/s66wkthd6fv_0kq2gqzht8v40000gn/T/calibre_annotations_plugin/KoboTouch.py", line 72, in get_active_annotations
  File "/var/folders/27/s66wkthd6fv_0kq2gqzht8v40000gn/T/calibre_annotations_plugin/KoboTouch.py", line 378, in _fetch_annotations
TypeError: 'str' object is not callable
Any one able to help?
Calibre 8? Are you trying to collect annotations from a Kobo ereader?
Terisa de morgan is offline   Reply With Quote
Old 03-21-2025, 07:57 AM   #1176
phrogpilot73
Junior Member
phrogpilot73 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara Colour
Quote:
Originally Posted by Terisa de morgan View Post
Calibre 8?
I just upgraded to Calibre 8.0.1 and can confirm the same issue. On the release notes of Calibre 8.0.1, it discusses improvements to the Kobo Touch plugin. I'm guessing it's related to that.
phrogpilot73 is offline   Reply With Quote
Old 03-21-2025, 08:44 AM   #1177
VeganBookworm
Junior Member
VeganBookworm began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2022
Device: Kobo Clara Colour
Yes and yes
VeganBookworm is offline   Reply With Quote
Old 03-21-2025, 02:20 PM   #1178
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,581
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by Quoth View Post
Text files don't do colour, so how would that work?
Annotation color is in Kobo database. And annotations in calibre are prefaced by a line with position information, so ideally that line would change based on the color you've given in the ereader.
Terisa de morgan is offline   Reply With Quote
Old 03-21-2025, 02:24 PM   #1179
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,581
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I'm afraid the error is related to the change in the kobo driver. Without changing the plugin, it isn't going to work with calibre 8.

Last edited by Terisa de morgan; 03-21-2025 at 02:27 PM.
Terisa de morgan is offline   Reply With Quote
Old 03-21-2025, 02:35 PM   #1180
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,581
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Can you try if this plugin works?
Attached Files
File Type: zip Annotations_beta.zip (687.8 KB, 185 views)
Terisa de morgan is offline   Reply With Quote
Old 03-21-2025, 03:19 PM   #1181
VeganBookworm
Junior Member
VeganBookworm began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2022
Device: Kobo Clara Colour
This works! I am able to import annotations

One thing, and I am not sure if that is due to the book or the plugin, is that it doesn't get chapter headings:

It says
Code:
xhtml/13_Text.xhtml
.
VeganBookworm is offline   Reply With Quote
Old 03-21-2025, 04:22 PM   #1182
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,581
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by VeganBookworm View Post
This works! I am able to import annotations

One thing, and I am not sure if that is due to the book or the plugin, is that it doesn't get chapter headings:

It says
Code:
xhtml/13_Text.xhtml
.
No idea, the other thing has been a quite fix, this is above my paygrade.... but all my annotations have chapter headings.
Terisa de morgan is offline   Reply With Quote
Old 03-21-2025, 04:46 PM   #1183
VeganBookworm
Junior Member
VeganBookworm began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2022
Device: Kobo Clara Colour
Well, I do not care too much about the headings, I only realised they were headings now because of it being non-textual.
VeganBookworm is offline   Reply With Quote
Old 03-22-2025, 03:33 AM   #1184
aik099
Enthusiast
aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!aik099 rocks like Gibraltar!
 
Posts: 31
Karma: 100180
Join Date: Apr 2020
Device: none
Quote:
Originally Posted by Terisa de morgan View Post
Can you try if this plugin works?
Hello,


Terisa de morgan, what is the state of this Calibre plugin?

1. are there any releases planned?
2. would a PR send to the https://github.com/davidfor/calibre-annotations repository be reviewed/merged?

Thank you.

Last edited by aik099; 03-22-2025 at 03:51 AM.
aik099 is offline   Reply With Quote
Old 03-22-2025, 04:00 AM   #1185
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,581
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by aik099 View Post
Hello,


Terisa de morgan, what is the state of this Calibre plugin?

1. are there any releases planned?
2. would a PR send to the https://github.com/davidfor/calibre-annotations repository be reviewed/merged?

Thank you.
No idea. I don't know if you're aware the original creator is no longer between us, so I don't think any PR sent to that repository will be taken care of. And current state? I don't know if somebody is maintaining it. I've done this easy change because I use the plugin as is, so I needed it to work, but nothing else.
Terisa de morgan is offline   Reply With Quote
Reply

Tags
sampleexportingapp


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 514 03-23-2025 10:26 AM
[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


All times are GMT -4. The time now is 01:05 AM.


MobileRead.com is a privately owned, operated and funded community.