![]() |
#1051 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2011
Device: Pocketbook 903
|
Hi Davidfor - With my pocketbook PB741 with latest firmware and Ubuntu 22.04 I needed to use the beta to get annotations work at all. But there seems to be a problem with accessing the database because annotations does not find any book and no annotation in a book which is clearly annotated.
calibre, version 5.37.0 FEHLER: Unbehandelter Ausnahmefehler: <b>TypeError</b>:expected str, bytes or os.PathLike object, not NoneType calibre 5.37 embedded-python: False is64bit: True Linux-5.15.0-30-generic-x86_64-with-glibc2.35 Linux ('64bit', 'ELF') ('Linux', '5.15.0-30-generic', '#31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022') Python 3.10.4 Interface language: de Successfully initialized third party plugins: DeACSM (0, 0, 15) && DeDRM (7, 2, 1) && Annotations (1, 17, 2) && DNB_DE (3, 1, 7) && Favourites Menu (1, 1, 0) && Find Duplicates (1, 9, 5) && KOReader Sync (0, 2, 7) && Pocketbook Tools (0, 9, 5) 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_connect ed_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 "/tmp/calibre_annotations_plugin/PocketBook.py", line 62, in get_active_annotations File "/tmp/calibre_annotations_plugin/PocketBook.py", line 344, in _fetch_annotations File "/tmp/calibre_annotations_plugin/PocketBook.py", line 363, in _read_database_annotations File "/usr/lib/python3.10/posixpath.py", line 76, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType I appreciate the work you are doing with this very universal annotation plugin. Keeping up with all the variants is probably a challenge, but also for me keeping track of annotations is crucial. Please let me know, if you need further background or you want me to do a special debug. Thank you |
![]() |
![]() |
![]() |
#1052 | |
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:
Hopefully @wold will be around and have an answer. Otherwise, I would need to see the database from the device to make a better guess. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1053 | |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2011
Device: Pocketbook 903
|
Quote:
|
|
![]() |
![]() |
![]() |
#1054 | |
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:
|
|
![]() |
![]() |
![]() |
#1055 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2011
Device: Pocketbook 903
|
Hi davidfor:
thank you for the quick turn around. This did solve the error "a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType" The new error message looks different: calibre, version 5.37.0 FEHLER: Unbehandelter Ausnahmefehler: <b>TypeError</b>:unsupported operand type(s) for *: 'NoneType' and 'int' calibre 5.37 embedded-python: False is64bit: True Linux-5.15.0-30-generic-x86_64-with-glibc2.35 Linux ('64bit', 'ELF') ('Linux', '5.15.0-30-generic', '#31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022') Python 3.10.4 Interface language: de Successfully initialized third party plugins: DeACSM (0, 0, 15) && DeDRM (7, 2, 1) && Annotations (1, 17, 3) && DNB_DE (3, 1, 7) && Favourites Menu (1, 1, 0) && Find Duplicates (1, 9, 5) && KOReader Sync (0, 2, 7) && Pocketbook Tools (0, 9, 5) 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_connect ed_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 "/tmp/calibre_annotations_plugin/PocketBook.py", line 62, in get_active_annotations File "/tmp/calibre_annotations_plugin/PocketBook.py", line 344, in _fetch_annotations File "/tmp/calibre_annotations_plugin/PocketBook.py", line 441, in _read_database_annotations TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' |
![]() |
![]() |
Advert | |
|
![]() |
#1056 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 100180
Join Date: Apr 2020
Device: none
|
Fixing "ThreadingViolation", when using MTP driver
Quote:
|
|
![]() |
![]() |
![]() |
#1057 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 100180
Join Date: Apr 2020
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#1058 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2022
Device: KOBO Libra H20
|
Hi and thanks for reading my question. I am new to this and I have a problem no one seems to be able to solve. I own a Kobo Libra H20, and I manually imported a book onto the reader. Then I used annotation to proof read it. I went to export but Kobo as decided no no. So I found the .annot file and have it manually on my desktop. How do I import it as the book is not in my official Kobo library (I was proof reading pre publish). This is the content of the .annot file:
Spoiler:
I am not sure if I am having a "tired brain" day or if the info is not available. It would make my life a lot easier if I could import the .annot file direct from my Windows 10 pro, desktop, or from the ereader plugged in. Any help would be great. Last edited by theducks; 06-14-2022 at 03:13 PM. Reason: spoilered |
![]() |
![]() |
![]() |
#1059 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2017
Device: Kobo Aura
|
I am using the plugin with Kobo and it reads the Annotations in the Kobo book and successfully syncs them to the Annotations column of the desktop copy in Calibre. Nice. But how does one concatenate those annotations with the Calibre reader's Bookmarks page? Is that even possible?
|
![]() |
![]() |
![]() |
#1060 | |
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:
|
|
![]() |
![]() |
![]() |
#1061 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Next we will want interoperability with other brands. ![]() (who were these idjuts that wrote e-book standards, and left out so many things that REAL_USERS use, resulting in this midden heap of cross platform uniqueness?) Actually, I would love a ebook-Editor GOTO (location) based on the Annotation (how I mark problems found while proofing) |
|
![]() |
![]() |
![]() |
#1062 | ||
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:
For other devices, it will depend on what can be found. The current method for Kindles means there is no accurate location. Maybe a search for the highlighted text can be done, but, that sounds hard and inaccurate. Tolino has the same problem. Quote:
|
||
![]() |
![]() |
![]() |
#1063 | |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2022
Device: none
|
Quote:
Do you know if it is possible to easily install a program on a Kobo reader to wirelessly transfer and receive data (e.g. text file) from it to a PC, via LAN? What about other brands? It'll be hard justifying the work required, if it can't reach any appreciable technical depth (e.g. wireless transfers) and/or reach (e.g. easy install, supports many devices). |
|
![]() |
![]() |
![]() |
#1064 | ||
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:
|
||
![]() |
![]() |
![]() |
#1065 | |
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:
The error is again happening in an area I cannot test as I do not have the device. But, the error is happening where a value to be used for sorting is generated. This uses a page number that comes from what appears to be the link used for the location. When the error happens, there was no page number. I have put a simple workaround for this to use zero for the page number in this circumstance. The attached beta has this plus another fix related to MTP devices. In a previous beta I fixed an issue with getting the name of the device. But, there was another place in the code this was used. This is also fixed. This beta has these fixes and the changes from the betas since the last release. These are:
Please test and tell me how it goes. I'll try and release this officially at the end of the week. |
|
![]() |
![]() |
![]() |
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 |