Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 01-28-2025, 11:08 PM   #3196
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,274
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Here, better: https://www.mobileread.com/forums/sh...postcount=2965
ownedbycats is offline  
Old 01-28-2025, 11:08 PM   #3197
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
Sorry I was perhaps unclear. I tried your suggestion (ie changing device profile - it was already set to my device so i changed to any device and then back again).

I also tried a custom colum with #precentread but that made no difference
TomCanute is offline  
Advert
Old 01-28-2025, 11:16 PM   #3198
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
I see the dialog Devices (the link you shared above) is quite different from what I see. I think perhaps firmware updates were removed from plugin. However, 'FW Version' and 'Status' columns for my device are both blank.
TomCanute is offline  
Old 01-28-2025, 11:18 PM   #3199
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,274
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Yes, this was earlier version. Firmware updates werent working right so they were replaced with link.
ownedbycats is offline  
Old 01-28-2025, 11:22 PM   #3200
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: 43,314
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by TomCanute View Post
I have tried finding the version of the software running on the Kobo but cannot find it.
On your Kobo, tap on More => Settings => Device information. You should see a Software version partway down the page. Current for a Glo HD would be 4.38.23171 (6b370fffff, 10/29/24).

Quote:
Originally Posted by TomCanute View Post
Anyway, my problem is, while the Reading Progress of books prior to the Kobo firmware update remains as it was, I have no Reading Progress of books read since updating the Kobo.
If you try to force the Reading progress to be copied to calibre from the Store/Restore bookmarks option, does it work?

Quote:
Originally Posted by TomCanute View Post
I see under menu *Device > Metadata on device & advanced* there's a checkbox for *Attempt to support newer hardware*. Is this something I should try?
That would only be needed if your Glo HD was updated to a newer firmware version that calibre did not know about.

Quote:
Originally Posted by TomCanute View Post
I also see in *Kobo Utilities* plugin options an option to backup the device database. Is this a good idea?
IMNSHO, backing up the device database is a very good idea. The best way not to need a backup is to have one.

Quote:
Originally Posted by TomCanute View Post
Can anyone give me advice on what I might try to get this working again? Thanks.
I'm attaching images of my Kobo Utilities customization for Profiles and Devices pages.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-01-28 202008.png
Views:	105
Size:	54.4 KB
ID:	213329   Click image for larger version

Name:	Screenshot 2025-01-28 202131.png
Views:	106
Size:	32.9 KB
ID:	213330  
DNSB is offline  
Advert
Old 01-28-2025, 11:34 PM   #3201
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
Quote:
On your Kobo, tap on More => Settings => Device information. You should see a Software version partway down the page. Current for a Glo HD would be 4.38.23171 (6b370fffff, 10/29/24).
Thanks. My version not quite most recent but shouldn't be a problem right.

Quote:
If you try to force the Reading progress to be copied to calibre from the Store/Restore bookmarks option, does it work?
Tried and nothing changed.
TomCanute is offline  
Old 01-29-2025, 06:04 AM   #3202
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: 78,355
Karma: 142887248
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 TomCanute View Post
I updated Calibre to the latest version last night. It's now 7.3.0.
I don't know where you got your version of calibre, but the latest version is 7.24.0. That is seven.twenty-four.zero. What you have is seven.three.zero.

Did you get it from the main calibre website or someplace else?
JSWolf is offline  
Old 01-29-2025, 06:23 AM   #3203
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
yeah i don't know where that came from. Anyway, i blitzed my install and database and let calibre plod it's way through a few tens thousands books to regenerate db. Kobo Utils plugin now works. I've lost all my previous 'bookmarks' but hey.

It may have been my preference for portable apps. I read somewhere that i could download the latest calibre MSI installer and point it at my portable install and it would know what to do. Maybe I misunderstood. Anyway, I found I had settings files all over the place including in AppData folder; so obviously it was no longer portable.

I had a period of head scratching having read that I should click on Library icon to regenerate database. Nowhere does it mention that that particular function is not available while your device is connected in Calibre. FWIW.

If I were to make a suggestion, I would separate ebook metadata completely from Calibre settings.

Thanks for your time guys (girls).
TomCanute is offline  
Old 01-29-2025, 06:24 AM   #3204
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,274
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by TomCanute View Post
If I were to make a suggestion, I would separate ebook metadata completely from Calibre settings.
It... is separate.
ownedbycats is offline  
Old 01-29-2025, 06:29 AM   #3205
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
so how come when i removed all settings files except metadata.db did i get a lot of plugin data remaining. Sure, you could argue it's ebook metadata, but it's pretty useless without the plugin
TomCanute is offline  
Old 01-29-2025, 10:04 AM   #3206
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,274
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Because the plugin data is stored inside metadata.db. It's per-library settings.
ownedbycats is offline  
Old 01-31-2025, 05:45 AM   #3207
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
Plugin *Kindle Utilities* was no longer working. At least, the **read percentage** column was not updating. Data previous to latest Calibre install were still there.

Asked what I might do in [Calibre forum](https://www.mobileread.com/forums/sh...postcount=3203) but no effective suggestions.

Noticed that my once *portable* calibre had a some stage become non-portable: settings files had migrated to [AppData](file://c:/Users/tom/AppData/Roaming/calibre).

I did read somewhere that a portable install can be updated by using general installer and pointing it at the portable dir. It will know what to do. Maybe not.

Blitzed the install and did a fresh install. The existing [metadata.db](file://d:/docs/language/ebooks/calibre-library/metadata.db)
contained references to old plugin data. Didn't want this so removed it and got Calibre to crawl through existing [calibre-library](file://d:/docs/language/ebooks/calibre-library) and regenerate database. This took several hours.

I've lost all the settings etc that took many hours to configure, including all plugins. But most of that was just faffing around. However, installed *Kobo Utilities* and it works again.

But, the reason this all started, *Kobo Utitilities* **percentage read** function was useful and I was disappointed to have lost the data.

A day later, browsed the old database backup using [DB Browser for SQLite](https://sqlitebrowser.org/) and realised all the data was there: what I needed at least. Though book ids had changed from old to new database, the titles would be enough to get at the ids in the new database.

With help from ChatGPT:

### 1. Got **percent read** from old db incl **title** and **author**

```sql
SELECT books.title,books.author_sort,custom_column_3.valu e,custom_column_3.id
FROM books
JOIN custom_column_3 ON books.id = custom_column_3.book;
```

This returned e.g.

```tsv
Kitchen Confidential Deluxe Edition: Adventures in the Culinary Underbelly Bourdain, Anthony 100 4
Big Trouble Barry, Dave 100 6
Black Coffee Christie, Agatha 100 9
The Bottle Factory Outing Bainbridge, Beryl 100 36
Mother Land Theroux, Paul 100 46
Easily Distracted Coogan, Steve 100 48
Marching Powder Young, Rusty 100 50
```

The final value was unnecessary. As was the author.

### 2. Got book id from new db via title from above query. The results also include the **percentage read** from previous results, hard-coded into query.

```
SELECT books.id, books.title, authors.name AS author,
CASE books.title
WHEN 'Kitchen Confidential Deluxe Edition: Adventures in the Culinary Underbelly' THEN 4
WHEN 'Big Trouble' THEN 6
WHEN 'Black Coffee' THEN 9
WHEN 'The Bottle Factory Outing' THEN 36
WHEN 'Mother Land' THEN 46
END AS num
FROM books
JOIN books_authors_link ON books.id = books_authors_link.book
JOIN authors ON books_authors_link.author = authors.id
WHERE books.title IN (
'Kitchen Confidential Deluxe Edition: Adventures in the Culinary Underbelly',
'Big Trouble',
'Black Coffee',
'The Bottle Factory Outing',
'Mother Land'
);
```

Results are like:

```tsv
97 Kitchen Confidential Deluxe Edition: Adventures in the Culinary Underbelly Anthony Bourdain 100
103 The Lord of the Rings 1 - The Fellowship of the Ring J. R. R. Tolkien 100
145 Five Little Pigs Agatha Christie 100
192 The Lord of the Rings 2 - The Two Towers J. R. R. Tolkien 100
```

Again, the author was unnecessary inasmuch not needed in subsequent queries; although it was useful seeing who the author of a particular entry was.

The results contained duplicate entries, that is, duplicate book ids. Seems it returned same book id where book had multiple authors.

### 3. Removed duplicate ids.

First print duplicate entries (i.e. with same ids)

awk -F'\t' '{count[$1]++; lines[$1] = lines[$1] ORS $0} END {for (id in count) if (count[id] > 1) print lines[id]}' yourfile.tsv

Remove duplicate entries (with same ids) retaining first found

awk -F'\t' '!seen[$1]++' yourfile.tsv

### 4. Test that returned ids (from step 2) are actually the book we want

```sql
SELECT books.id, books.title
FROM books
WHERE books.id = 97; -- Replace ? with the actual ID value
```

Result e.g.:

97 Kitchen Confidential Deluxe Edition: Adventures in the Culinary Underbelly

### 5. finnese results from step 2 to just **percentage read** and **book id**, e.g.

```
103 100
145 100
192 100
231 100
```

### 6. Turn this list into SQL statements

```sql
INSERT INTO custom_column_2 (book, value)
SELECT 6441, 100 WHERE NOT EXISTS (SELECT 1 FROM custom_column_2 WHERE book = 6441);
INSERT INTO custom_column_2 (book, value)
SELECT 97, 100 WHERE NOT EXISTS (SELECT 1 FROM custom_column_2 WHERE book = 97);
```

### 7. Make a backup of Calibre db in case something goes wrong.

### 8. Open Calibre db in DB Browser and run SQL statements from step 5.

### 9. Open Calibre and check results.

Everything seems good. Ran Library check. Nothing wrong found. However, old db is still around just in case.
TomCanute is offline  
Old 01-31-2025, 06:59 AM   #3208
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,274
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Note that ChatGPT also gave somebody instructions that destroyed their library. Don't rely on it.
ownedbycats is offline  
Old 01-31-2025, 10:27 PM   #3209
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,749
Karma: 59473090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by TomCanute View Post
Plugin *Kindle Utilities* was no longer working. At least, the **read percentage** column was not updating. Data previous to latest Calibre install were still there.
Why would you expect A Kindle PI to work with a Kobo??
Or a Kobo PI to work with a Kindle?

Are you in the wrong forum section?
theducks is offline  
Old 01-31-2025, 10:40 PM   #3210
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: 43,314
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by theducks View Post
Why would you expect A Kindle PI to work with a Kobo??
Or a Kobo PI to work with a Kindle?

Are you in the wrong forum section?
I saw that but suspected a typo of Kindle instead of Kobo.
DNSB is offline  
Closed Thread

Tags
calibre, kobo, kobo utilities, kobo-utilities, plugins

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Manga plugin mastertea Plugins 6 01-06-2022 02:43 AM
[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
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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