Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 08:42 AM   #1621
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 253
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
Quote:
Originally Posted by rantanplan View Post
Can you please give an example of that? I don't really understand what you want.
Simple enough: List all the EPUBs I ever copied into the Kobo.

What about the Event column in the KoboReader.sqlite file, once someone figures out how to fix the "Runtime error: database disk image is malformed" error?

Code:
>sqlite3 KoboReader.sqlite

sqlite> .schema Event
CREATE TABLE Event (
        EventType INTEGER NOT NULL,
        FirstOccurrence TEXT,
        LastOccurrence TEXT,
        EventCount INTEGER DEFAULT 0,
        ContentID TEXT,
        ExtraData BLOB, Checksum TEXT,
        PRIMARY KEY (EventType, ContentID) );

sqlite> SELECT LastOccurrence, ContentID, ExtraData FROM Event LIMIT 10;
Shohreh is offline   Reply With Quote
Old Yesterday, 10:16 AM   #1622
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,262
Karma: 13516840
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Libra 2, Kobo Sage, Kobo Aura H2O, reMarkable PaperPro
Quote:
Originally Posted by Shohreh View Post
Simple enough: List all the EPUBs I ever copied into the Kobo.
The list is not persistent. It's deleted when you remove the book.
rantanplan is offline   Reply With Quote
Old Yesterday, 11:32 AM   #1623
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 253
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
Odd. This returns 4,214, and I can see books I long read and removed:

Code:
SELECT COUNT(DISTINCT ContentID) FROM Event ;
SELECT DISTINCT ContentID FROM Event ORDER BY LastOccurrence LIMIT 10;
Code:
import sqlite3, re

conn = sqlite3.connect("KoboReader.sqlite")
cur = conn.cursor()

pattern  = re.compile("^file:///mnt/onboard/(.+)$")

cur.execute("SELECT DISTINCT ContentID FROM Event WHERE ContentID IS NOT '' ORDER BY LastOccurrence LIMIT 10")
for row in cur.fetchall():
	book = m.group(1) if (m := pattern.search(row[0])) else "(not found)"
	print(book)

conn.close()
Is a third-party application required to see a reliable list of books ever copied into the Kobo?

Last edited by Shohreh; Yesterday at 12:09 PM.
Shohreh is offline   Reply With Quote
Old Yesterday, 05:25 PM   #1624
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: 54,367
Karma: 182161621
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Shohreh View Post
Simple enough: List all the EPUBs I ever copied into the Kobo.

What about the Event column in the KoboReader.sqlite file, once someone figures out how to fix the "Runtime error: database disk image is malformed" error?
That error means exactly what it says, Your database on disk copy is damaged. Unless you have a backup copy of the database, the fastest way to fix the error is to sign out/sign in to generate a new database but you will lose all reading stats, annotations, etc.

That error is generally caused by not safely ejecting your Kobo before disconnecting from the computer. Most of the other times has been the user mucking with the database.

My habit before trying data manipulation on a Kobo's database is to copy the database to my computer, make a backup copy and then experiment on that copy. Once the modified copy has been validated, I copy it back to the Kobo.
DNSB is offline   Reply With Quote
Old Yesterday, 05:27 PM   #1625
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: 54,367
Karma: 182161621
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Shohreh View Post
Before I install NickelMenu… can it keep track of side-loaded books I ever uploaded, read, and removed, so I have a list of books I read on the Kobo?
No. That is not part of NickelMenu's intended uses. I use calibre to manage that functionality.
DNSB is offline   Reply With Quote
Old Yesterday, 05:28 PM   #1626
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: 54,367
Karma: 182161621
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by rantanplan View Post
The list is not persistent. It's deleted when you remove the book.
And the deleted entry is removed when the database is vacuumed.
DNSB is offline   Reply With Quote
Old Yesterday, 05:34 PM   #1627
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: 84,857
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Will NickelMenu eventually work with the v5 firmware?
JSWolf is online now   Reply With Quote
Old Yesterday, 06:23 PM   #1628
Encolpius
Junior Member
Encolpius began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2026
Device: Kobo Libra H2O
Quote:
Originally Posted by Freewheelin View Post
I’m trying to get a config to take with NM, but I’m running into errors. I’d be very appreciative if anyone much more knowledgeable than myself were able to have a look.

The config is titled config and though I edited it in TextEdit, I renamed the file to remove the file extension, so it’s a blank file. The file contains:

experimental :menu_main_15505_0_enabled: 0

The NickelMenu tab gives me ‘config error’ and ‘uninstall’. The error reads:
parse config files: file /mnt/onboard/.adds/ nm/config: line 1: field 1: unknown type (\rtf1 \ansilansicpg1252\cocoartf2639' (src/
config.c:327) (src/config.c:944)

I’m totally confused here. Thank you if you are able to offer any assistance.
Hello everyone,
I am having the same issue as above and not sure how to get around it.
I have been using a previous NM version from about 4 years ago that was installed with no issues via Windows but due to an unexpected recent Kobo update had to reinstall it, now via Mac. Can't get the right config file it seems, as I do not see any instructions in KOBOeReader/.adds/nm/doc to configure NickelMenu.
Really hoping someone can help me here!
Thank you so much
Encolpius is offline   Reply With Quote
Old Yesterday, 06:31 PM   #1629
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: 84,857
Karma: 153788249
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 Encolpius View Post
Hello everyone,
I am having the same issue as above and not sure how to get around it.
I have been using a previous NM version from about 4 years ago that was installed with no issues via Windows but due to an unexpected recent Kobo update had to reinstall it, now via Mac. Can't get the right config file it seems, as I do not see any instructions in KOBOeReader/.adds/nm/doc to configure NickelMenu.
Really hoping someone can help me here!
Thank you so much
Have you ever backed up your Kobo? If you have then you should have a copy of your NM config file which you can just copy to your Kobo in the same place it previously was.

If you no longer have a copy of your config file, you'll have to build it again from scratch using a text editor on your computer. NM has no way to create a config file. You have to do it.
JSWolf is online now   Reply With Quote
Old Yesterday, 06:46 PM   #1630
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: 54,367
Karma: 182161621
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Have you ever backed up your Kobo? If you have then you should have a copy of your NM config file which you can just copy to your Kobo in the same place it previously was.

At a wild eyed guess, the config file created by Freewheelin from the message quoted by Encolpius was an RTF format file, not a plain text file as required by NickelMenu.

Other possibilities are that the old version of NickelMenu does not support the feature the Freewheelin was trying to use. If I remember correctly, experimental:menu_main_15505_icon and experimental:menu_main_15505_icon_active were introduced in NickelMenu V5.0 and required firmware 4.23.15505 or higher.

As for the instruction in the doc file? It seems rather clear to me as a list of options and a sample config, all of which are commented by the #s in the first column.
DNSB is offline   Reply With Quote
Old Today, 04:53 AM   #1631
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 253
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
Quote:
Originally Posted by DNSB View Post
That error means exactly what it says, Your database on disk copy is damaged. Unless you have a backup copy of the database, the fastest way to fix the error is to sign out/sign in to generate a new database but you will lose all reading stats, annotations, etc.

That error is generally caused by not safely ejecting your Kobo before disconnecting from the computer. Most of the other times has been the user mucking with the database.

My habit before trying data manipulation on a Kobo's database is to copy the database to my computer, make a backup copy and then experiment on that copy. Once the modified copy has been validated, I copy it back to the Kobo.
I always right-click > Eject before disconnecting the USB cable, but I sometimes put the computer to sleep without ejecting the device, assuming it does the same thing. Maybe it's a wrong assumption.

Regardless, rebooting the Kobo and copy+reading a fresh copy fixes the error.

Quote:
Originally Posted by DNSB View Post
And the deleted entry is removed when the database is vacuumed.
Quote:
Originally Posted by DNSB View Post
No. That is not part of NickelMenu's intended uses. I use calibre to manage that functionality.
I'll use Calibre if experience shows reading the Event table is just not reliable. Thanks.
Shohreh is offline   Reply With Quote
Old Today, 05:54 AM   #1632
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: 84,857
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The event table is not reliable.
JSWolf is online now   Reply With Quote
Old Today, 05:59 AM   #1633
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 253
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
Too bad.Looks like I'll have to bite the bullet and upload books with Calibre :-/
Shohreh is offline   Reply With Quote
Old Today, 06:04 AM   #1634
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: 84,857
Karma: 153788249
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 Shohreh View Post
Too bad.Looks like I'll have to bite the bullet and upload books with Calibre :-/
Too bad? It's a very good solution. It's works rather well.
JSWolf is online now   Reply With Quote
Reply

Tags
kobo, launcher, ldpreload, nickel


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo eReaders and Heat PeterT Kobo Reader 13 08-02-2014 04:35 AM
kobo arc launcher not working lana loves books Kobo Tablets 8 03-21-2014 06:40 AM
Orginization on kobo ereaders crochetgeek2010 Kobo Reader 7 09-03-2013 02:13 PM
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US markemark News 1 04-02-2013 01:46 PM
Ereaders with Integrated Dictionary poohbear_nc Which one should I buy? 4 04-08-2010 06:42 AM


All times are GMT -4. The time now is 11:03 AM.


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