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 03-22-2025, 04:02 AM   #1186
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?
At this point, color is fetched from library and theoretically pushed to the annotation html code (davidfor had the code prepared for different highlighted colors, only recovering the color was missing). The issue is that the html is pussed to the custom column is severely trimmed when you see it in calibre (I guess a QT issue or a bug in the html code).
Terisa de morgan is offline   Reply With Quote
Old 03-23-2025, 02:31 PM   #1187
LadyLiissa82
Junior Member
LadyLiissa82 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra Color II
TypeError

Hi! I'm trying to use the Annotations plugin for Calibre for the first time and getting a unhandled exception error:

TypeError:'str' object is not callable

Here are the details:

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

calibre 8.0.1 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 22, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 22, 0) && Annotations (1, 17, 13) && Count Pages (1, 13, 6) && Find Duplicates (1, 10, 9) && KFX metadata reader (from KFX Input) (2, 22, 0) && From KFX (2, 22, 0) && KFX Input (2, 22, 0) && Resize Cover (1, 2, 1)
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
File "calibre_plugins.annotations.action", line 407, in fetch_usb_device_annotations
File "calibre_plugins.annotations.action", line 624, in get_annotated_books_on_usb_device
File "C:\Users\15159\AppData\Local\Temp\calibre_annotat ions_plugin\KoboTouch.py", line 72, in get_active_annotations
File "C:\Users\15159\AppData\Local\Temp\calibre_annotat ions_plugin\KoboTouch.py", line 378, in _fetch_annotations
TypeError: 'str' object is not callable

Does anyone know why I'm getting this and how to fix it?
LadyLiissa82 is offline   Reply With Quote
Advert
Old 03-23-2025, 02:33 PM   #1188
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 LadyLiissa82 View Post
Hi! I'm trying to use the Annotations plugin for Calibre for the first time and getting a unhandled exception error:

TypeError:'str' object is not callable

Here are the details:

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

calibre 8.0.1 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 22, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 22, 0) && Annotations (1, 17, 13) && Count Pages (1, 13, 6) && Find Duplicates (1, 10, 9) && KFX metadata reader (from KFX Input) (2, 22, 0) && From KFX (2, 22, 0) && KFX Input (2, 22, 0) && Resize Cover (1, 2, 1)
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
File "calibre_plugins.annotations.action", line 407, in fetch_usb_device_annotations
File "calibre_plugins.annotations.action", line 624, in get_annotated_books_on_usb_device
File "C:\Users\15159\AppData\Local\Temp\calibre_annotat ions_plugin\KoboTouch.py", line 72, in get_active_annotations
File "C:\Users\15159\AppData\Local\Temp\calibre_annotat ions_plugin\KoboTouch.py", line 378, in _fetch_annotations
TypeError: 'str' object is not callable

Does anyone know why I'm getting this and how to fix it?
Try to use the beta plugin I've posted some messages before.
Terisa de morgan is offline   Reply With Quote
Old 03-28-2025, 07:16 PM   #1189
Lepidus
Junior Member
Lepidus began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara HD
The beta plugin works great with my normal epubs, but it doesn't seem to be pulling from any kobo purchased books. Is there a way around that?
Lepidus is offline   Reply With Quote
Old 03-29-2025, 02:37 AM   #1190
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
No idea from my side, as I don’t know the plugin at that extent. Did it work before calibre 8?
Terisa de morgan is offline   Reply With Quote
Advert
Old 03-29-2025, 01:09 PM   #1191
Lepidus
Junior Member
Lepidus began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara HD
I hadn't tried it before. So I'm not sure.
Lepidus is offline   Reply With Quote
Old 04-02-2025, 08:38 AM   #1192
PugBurger12
Junior Member
PugBurger12 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2025
Device: kobo
Annotations plugin not working since 8.0.

Quote:
Originally Posted by Terisa de morgan View Post
No idea from my side, as I don’t know the plugin at that extent. Did it work before calibre 8?
It was working fine for Kobo pre-install of 8.0 of calibre. I'm on 8.1.1 at the moment. I get the same error

calibre 8.1.1 embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeDRM (10, 0, 9) && Annotations (1, 17, 13) && Kobo Metadata (1, 10, 0) && Kobo Utilities (2, 21, 1)
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
File "calibre_plugins.annotations.action", line 407, in fetch_usb_device_annotations
File "calibre_plugins.annotations.action", line 624, in get_annotated_books_on_usb_device
File "C:\Users\{user}\AppData\Local\Temp\calibre-qpo06y7t\calibre_annotations_plugin\KoboTouch.py", line 72, in get_active_annotations
File "C:\Users\{user}\AppData\Local\Temp\calibre-qpo06y7t\calibre_annotations_plugin\KoboTouch.py", line 378, in _fetch_annotations
TypeError: 'str' object is not callable
PugBurger12 is offline   Reply With Quote
Old 04-02-2025, 09:28 AM   #1193
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 PugBurger12 View Post
It was working fine for Kobo pre-install of 8.0 of calibre. I'm on 8.1.1 at the moment. I get the same error

calibre 8.1.1 embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeDRM (10, 0, 9) && Annotations (1, 17, 13) && Kobo Metadata (1, 10, 0) && Kobo Utilities (2, 21, 1)
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
File "calibre_plugins.annotations.action", line 407, in fetch_usb_device_annotations
File "calibre_plugins.annotations.action", line 624, in get_annotated_books_on_usb_device
File "C:\Users\{user}\AppData\Local\Temp\calibre-qpo06y7t\calibre_annotations_plugin\KoboTouch.py", line 72, in get_active_annotations
File "C:\Users\{user}\AppData\Local\Temp\calibre-qpo06y7t\calibre_annotations_plugin\KoboTouch.py", line 378, in _fetch_annotations
TypeError: 'str' object is not callable
Have you tried the plugin at post 1180?
Terisa de morgan is offline   Reply With Quote
Old 04-09-2025, 04:44 PM   #1194
ROpitz
Junior Member
ROpitz began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2025
Device: Kobo Clara 2E
THANK YOU! The beta plugin works!

I hope you update the version number/author and can get it officially posted (whatever that involves) so that Calibre checks for a new plugin. I was just about to uninstal Calibre and go back to version 7 before I found this.
ROpitz is offline   Reply With Quote
Old 04-09-2025, 04:51 PM   #1195
ROpitz
Junior Member
ROpitz began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2025
Device: Kobo Clara 2E
Quote:
Originally Posted by VeganBookworm View Post
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
.
I've seen this with the earlier plugin, but only with some books. Public domain collections of stories seem especially prone to it.
ROpitz is offline   Reply With Quote
Old 04-25-2025, 10:39 PM   #1196
hambone1907
Junior Member
hambone1907 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2025
Location: Cleveland, OH
Device: Kobo Elipsa 2e
@Terisa de morgan

You are a lifesaver, the beta in your previous post works for me. I was going mad trying to figure out what to do. Thanks for posting the fix.
hambone1907 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 08:16 PM.


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