|
|
#1621 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
|
Quote:
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;
|
|
|
|
|
|
|
#1622 |
|
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,263
Karma: 13516840
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Libra 2, Kobo Sage, Kobo Aura H2O, reMarkable PaperPro
|
|
|
|
|
|
|
#1623 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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()
Last edited by Shohreh; Yesterday at 12:09 PM. |
|
|
|
|
|
#1624 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,380
Karma: 182161789
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
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. |
|
|
|
|
|
|
#1625 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,380
Karma: 182161789
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
|
|
|
|
|
#1626 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,380
Karma: 182161789
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
|
|
|
|
|
#1627 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,858
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?
|
|
|
|
|
|
#1628 | |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2026
Device: Kobo Libra H2O
|
Quote:
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 |
|
|
|
|
|
|
#1629 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,858
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
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. |
|
|
|
|
|
|
#1630 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,380
Karma: 182161789
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
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. |
|
|
|
|
|
|
#1631 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 253
Karma: 356710
Join Date: Jan 2016
Location: France
Device: none
|
Quote:
Regardless, rebooting the Kobo and copy+reading a fresh copy fixes the error. I'll use Calibre if experience shows reading the Event table is just not reliable. Thanks. |
|
|
|
|
|
|
#1632 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,858
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.
|
|
|
|
|
|
#1633 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 :-/
|
|
|
|
|
|
#1634 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,858
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
![]() |
| Tags |
| kobo, launcher, ldpreload, nickel |
|
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 |