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 05-06-2025, 12:44 PM   #316
jvaio
Junior Member
jvaio began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2025
Device: Kobo Libra 2
Kobo Utilities doesn't update Tags

Hello,

I've been successfully using Kobo Utilities to update metadata for 1,5 year.

The past days (I don't know how many, maybe since the last day's update), it doesn't update the tags. It just says "Books updated=0".

I have decided to change up my tags and about 300 aren't updated.

It does update changes in summary.

It's something weird, because the new tags are visible in the Device Tags in Calibre, and they show books in them. But the books themselves aren't shelved in the device (see in the attached image).

I have tried uninstalling and installing KU, disconnecting and reconnecting the KL2, powering it off and on. The Automatic Management of Calibre in enabled, but I don't think that it has ever worked. I have NickelMenu installed for months.

Is there anything I can do to update my device?

TIA
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-05-06 194051.jpg
Views:	55
Size:	96.9 KB
ID:	215516  
jvaio is offline   Reply With Quote
Old 05-06-2025, 02:48 PM   #317
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,296
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Did you update to calibre 8+ and were you using the Kobo Touch Extended driver? If so, that driver is now blacklisted since it's functions are now part of the KoboTouch driver. Sadly, the configuration from the KTE driver is not transferred over to the KoboTouch driver and you will need to do so manually.

You can find the KTE configuration file at C:\Users\<username>\AppData\Roaming\calibre\device _drivers_KOBOTOUCHEXTENDED.py.json with the following three lines being of most interest for creating collections:
Code:
  "collections_columns": "#finished",
  "collections_template": "",
  "create_collections": true,

Last edited by DNSB; 05-06-2025 at 02:50 PM.
DNSB is online now   Reply With Quote
Old 05-06-2025, 03:31 PM   #318
jvaio
Junior Member
jvaio began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2025
Device: Kobo Libra 2
Yes, I use Calibre 8.3.

I located the json files you mentioned.

There are two:
(1) device_drivers_KOBOTOUCH.py
(2) device_drivers_KOBOTOUCHEXTENDED.py

In the first file, the "create_collections" was on false. I edited it, but nothing has changed.

I pasted the code you provided in both the files and, then, I used #tags (which was already the default) with capital and no capital letter.

Is it supposed to have the "#finished"? It still doesn't work.

Unless I am doing something else wrong.
After pasting the code, I should use Update Metadata from KU, correct?

The Calibre's bulit-in auto management doesn't work for me.
jvaio is offline   Reply With Quote
Old 05-06-2025, 03:48 PM   #319
jvaio
Junior Member
jvaio began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2025
Device: Kobo Libra 2
I indeed use Calibre 8.3.

I had installed the Kobo Touch Extended driver, but I wasn't (knowingly) using it. I used to inplug the KL2, replug it, and use the Update Metadata from KU.

I located the file you suggested. There are two files there:
(1) device_drivers_KOBOTOUCH.py
(2) device_drivers_KOBOTOUCHEXTENDED.py

In the first, the "create_collections" functions was false. I wrote true, but it still didn't work.

I tried to change the "tags" in "collections_columns": to
"Tags"
"#tags"
"#Tags"
"#finished"

but nothing seems to work.

Unless I'm doing something else wrong.
After changing the files, I still use the Update Metadata in KU, correct?
The Calibre's automatic metadata management never worked in my computer.
jvaio is offline   Reply With Quote
Old 05-06-2025, 03:53 PM   #320
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
You don't update the values in those files directly. Instead you use the driver configuration in calibre itself to make changes.
PeterT is offline   Reply With Quote
Old 05-06-2025, 04:33 PM   #321
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by jvaio View Post
I indeed use Calibre 8.3.

I tried to change the "tags" in "collections_columns": to
"Tags"
"#tags"
"#Tags"
"#finished"

but nothing seems to work.
FWIW, the lookup name for calibre's tags is "tags", the one you didn't try.
Quote:
Unless I'm doing something else wrong.
After changing the files, I still use the Update Metadata in KU, correct?
The Calibre's automatic metadata management never worked in my computer.
You should work out why automatic metadata management and the built-in kobo collection management don't work. They do work for (tens of?) thousands of users, including me.

Last edited by chaley; 05-06-2025 at 04:46 PM. Reason: Grammar
chaley is offline   Reply With Quote
Old 05-06-2025, 04:34 PM   #322
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,991
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by chaley View Post
FWIW, the lookup name for calibre's tags is "tags", the one you didn't try.
the lookups are case-sensitive? Did not know.
ownedbycats is online now   Reply With Quote
Old 05-06-2025, 04:35 PM   #323
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,296
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
What @PeterT said. The reason for looking at those files is to allow you to see what your configuration was. As for automatic metadata management? It has always worked for me. I've attached a set of screenshots of my setup. The User Kobo viewer for EPUB books is checked to convert to .kepub.epub on the fly.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-05-06 132925.png
Views:	81
Size:	42.0 KB
ID:	215531   Click image for larger version

Name:	Screenshot 2025-05-06 133008.png
Views:	78
Size:	45.2 KB
ID:	215532   Click image for larger version

Name:	Screenshot 2025-05-06 132858.png
Views:	76
Size:	52.7 KB
ID:	215533   Click image for larger version

Name:	Screenshot 2025-05-06 133257.png
Views:	71
Size:	54.2 KB
ID:	215534   Click image for larger version

Name:	Screenshot 2025-05-06 133317.png
Views:	79
Size:	33.9 KB
ID:	215535  
DNSB is online now   Reply With Quote
Old 05-06-2025, 04:45 PM   #324
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
the lookups are case-sensitive? Did not know.
They can be. As said in the calibre API and error dialogs:
Quote:
The lookup name must begin with a '#'. All remaining characters must be lower case letters, digits or underscores. The character after the '#' must be a letter. The lookup name must not end with the suffix '_index'.
There may be some cases such as search that aren't case sensitive, but I would be astonished if that is true in very many places.

For example, this python template works:
Code:
python:
def evaluate(book, context):
	db = context.db.new_api
	return str(db.field_for('tags', book.id))
This one doesn't:
Code:
python:
def evaluate(book, context):
	db = context.db.new_api
	return str(db.field_for('Tags', book.id))
chaley is offline   Reply With Quote
Old 05-07-2025, 10:04 AM   #325
Enebat
Junior Member
Enebat began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2024
Device: Kobo Aura One
Sorry, I got the thread mixed up.

Last edited by Enebat; 05-07-2025 at 10:07 AM.
Enebat is offline   Reply With Quote
Old 05-07-2025, 10:08 AM   #326
Enebat
Junior Member
Enebat began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2024
Device: Kobo Aura One
thanks a lot!
Enebat is offline   Reply With Quote
Old 05-10-2025, 09:40 PM   #327
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,991
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Have there been any changes to how Kobo Utilities fetches % read? On reader, I leave in-progress fanfics on the last page (99%) to keep the reading position. Then I have action chain that checks for fanfics 99% read > sets percent to 100% > restore to device.

I've been doing this some years now. But recently I find that KU fetches 100% instead of 99% and messes up chain. Changes in rounding, might be, or something else.

Last edited by ownedbycats; 05-10-2025 at 09:46 PM.
ownedbycats is online now   Reply With Quote
Old 05-10-2025, 11:52 PM   #328
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,296
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
As far as I can, there have been no changes in that part of the code in Kobo Utilities for a while now.
DNSB is online now   Reply With Quote
Old 05-11-2025, 08:13 AM   #329
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by ownedbycats View Post
Have there been any changes to how Kobo Utilities fetches % read? On reader, I leave in-progress fanfics on the last page (99%) to keep the reading position. Then I have action chain that checks for fanfics 99% read > sets percent to 100% > restore to device.

I've been doing this some years now. But recently I find that KU fetches 100% instead of 99% and messes up chain. Changes in rounding, might be, or something else.
Maybe it is a rounding problem. One such eBooks, try baking up a screen and see what happens.
JSWolf is offline   Reply With Quote
Old 05-12-2025, 02:07 AM   #330
Majutsushi
Zealot
Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.
 
Posts: 100
Karma: 8592
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
I can't think of any change that could have caused this. It would probably be helpful to see a debug log where this is getting updated for a book.
Majutsushi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kobo Utilities davidfor Plugins 3216 02-08-2025 04:23 AM
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 03:15 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
Kobo Utilities Plugin Question nikev Kobo Reader 10 09-25-2018 11:55 PM


All times are GMT -4. The time now is 09:17 PM.


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