01-13-2023, 08:27 PM | #2611 |
Guru
Posts: 751
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
|
That looks similar to a problem I had about a year ago:
https://www.mobileread.com/forums/sh...postcount=2373 In that case, davidfor actually updated the plugin to fix whatever the issue was. But, I had an earlier instance where either the names or the objects being pointed to in the TOC were duplicates. IIRC, I got around the issue by making sure any entries that would go into the TOC were unique and having Calibre re-generate the TOC. Unfortunately, it's been so long, I can't remember what I did. Sorry. EDIT: And, of course, I don't understand the code at all. Last edited by enuddleyarbl; 01-13-2023 at 08:35 PM. |
02-11-2023, 04:34 AM | #2612 |
Custom User Title
Posts: 9,543
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
For what it matters, I've identified the cause of it: updating the ToC on a book where entries share the same name. Hence why I noticed it on an omnibus - there were several "chapter 1"s...
Best avoidance for this seems to be to delete the book outright from device and then re-upload it. Annoying though. |
02-11-2023, 10:06 AM | #2613 |
Guru
Posts: 751
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
|
That's one of the reasons I change chapter names in multi-book or multi-part works. Instead of just Chapter 1, 2, 3...., I change it to Book Name: Chapter 1. It's a bit of a pain, but I'm in there anyway.
|
02-19-2023, 03:46 AM | #2614 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2021
Location: Kullogum, QLD
Device: Kobo Clara
|
Hi everyone,
I have just been messing around setting up the Percent Read Column etc. I think I've got my head around it now. I'm now trying to create a "Finished" column ({:'cmp(field('#percentread'),100,'','Finished','F inished')'}) and that seems to be working too but what I would really like to do is to flag books as "finished" in Calibre and have that metadata written back to the books on my Kobo Clara. I now have a "Finished" section in collections and if I flag a book in Calibre under Custom Metadata as "percent read" = 100, it appears in the Finished section. However, the book itself still shows as "Unread". After corrupting the Kobo database more than once, it would be great to be able to flag all of my previously read books en masse when I have to rebuild it. What am I missing? |
02-19-2023, 11:24 AM | #2615 |
Addict
Posts: 255
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
Did you create the % Read column according to the instructions for the plugin? And did you select that column in the plugin Options tab for your specific device?
If all is correct, calibre will pick up the % Read from the books on the device each time you connect to the computer. If you want to change the % Read in calibre, you can do that and use the plugin drop down menu to Restore to the device. |
02-19-2023, 02:17 PM | #2616 | |
Addict
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
Quote:
Have you examined the Kobo Utilities “Store/Restore Reading Position” feature or the “Update metadata in device library” feature? The first of these will allow you to set the Kobo's reading status from the columns in your Calibre library. I think the only piece which might be missing is marking the book as finished in Calibre. However, regardless of what your Kobo reading process columns say in Calibre, the “Update metadata in device library” feature can set a number of books to “Finished” en masse. So you could just do this and then the “store” part to store the finished status for those books in your Calibre columns. |
|
02-19-2023, 05:12 PM | #2617 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2021
Location: Kullogum, QLD
Device: Kobo Clara
|
Quote:
|
|
02-19-2023, 05:43 PM | #2618 |
Addict
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
|
04-21-2023, 03:23 AM | #2619 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2023
Device: Kobo Aura N514
|
I have a Kobo Aura N514 device. Does this plugin create a compatible text for my device when I convert it to ePUB format? If so, should I use this plugin?
|
04-21-2023, 12:26 PM | #2620 |
Bibliophagist
Posts: 40,516
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Is there some reason that you posted identical messages in multiple threads? Given the first message in the various Kobo threads you spammed have the information you were asking for, why not read them first before posting?
|
05-11-2023, 04:57 AM | #2621 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2023
Device: Kobo Libra H2O
|
Hi, I'm having some trouble getting the ToC updated on my Kobo Libra H2O. The plugin worked great to add the series metadata, so thanks for that :) Something about the ToC update process makes everything fall over, though. When the plugin finishes scanning through the books on my reader, it (correctly) notes that all of them need ToC updates. However, after running a few, I'll get the following error thrown:
Code:
calibre, version 6.17.0 ERROR: Unhandled exception: <b>TypeError</b>:tuple indices must be integers or slices, not str calibre 6.17 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.10.1 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Kobo Utilities (2, 16, 6) Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 5390, in update_book_toc_on_device File "calibre_plugins.koboutilities.action", line 5818, in update_device_toc_for_books File "calibre_plugins.koboutilities.action", line 5833, in update_device_toc_for_book File "calibre_plugins.koboutilities.action", line 5864, in getDatabaseChapterId TypeError: tuple indices must be integers or slices, not str I have no idea what this means, is there a suggested fix? |
05-11-2023, 06:07 AM | #2622 |
Custom User Title
Posts: 9,543
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Can you narrow it down to any individual books? For example, books that have duplicate items (omnibuses with multiple 'chapter 1's) will throw a different error.
Unfortunately, davidfor passed away last year so this plugin is generally unmaintained. |
05-11-2023, 06:58 AM | #2623 |
Grand Sorcerer
Posts: 12,029
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The attached beta version of the plugin *might* fix it. I don't use the plugin so I can't easily test it.
EDIT: beta version released. Last edited by chaley; 05-11-2023 at 03:16 PM. |
05-11-2023, 11:55 AM | #2624 |
Well trained by Cats
Posts: 30,443
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
05-11-2023, 12:03 PM | #2625 |
Grand Sorcerer
Posts: 12,029
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
Tags |
calibre, kobo, kobo utilities, kobo-utilities, plugins |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 03:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-26-2018 12:55 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |