Closed PescheHelfer closed 4 years ago
Can you open KoboReader.sqlite in a SQLite editor (e.g. https://sqlitebrowser.org/), and see if there is a dictionary table?
That's what I did. There is no Dictionary table. Alphabetically ordered, the db contains the following tables (just listing the few around D): ..., Authors, BookAuthors, Bookmark, content, content_keys, content_settings, DbVersion, DropboxItem, Event, OverDriveCards, OverDriveCheckoutBook, OverDriveLibrary, Reviews, ...
Do the built-in dictionaries (English, French, etc) show up in the settings?
You mean in the ExtraLocales line? It originally was: ExtraLocales=d1 But I haven't figured out where the info on the built-in dictionaries is stored. I do see them in the dictionary folder, but no setting or DB entry (or I haven't found it).
It's stored in the DB ... Can you post the output of .schema
?
@davidfor, have you ever seen this before?
yes, it's a bit uggly, though, sorry:
output of .tables:
AbTest OverDriveCheckoutBook _seriesmeta
Achievement OverDriveLibrary content
Activity Reviews content_keys
AnalyticsEvents Rules content_settings
Authors Shelf ratings
BookAuthors ShelfContent shortcover_page
Bookmark SubscriptionProducts user
DbVersion SyncQueue volume_shortcovers
DropboxItem Tab volume_tabs
Event Wishlist
OverDriveCards WordList
Assuming the DB isn't messed up, that's honestly quite unbelievable (as in, I believe you, but I am extremely surprised it somehow works).
I'm going to have a closer look at the parts of the firmware which deal with this kind of thing, and I'll try deleting the dictionary table on my Kobo.
What happens when you reboot?
Nothing, it stays the same. I have rebooted a couple of times.
Additional information: I didn't do a normal firmware update. Somehow my reader crashed yesterday and a factory reset was triggered automatically. Meaning it went strait from an ancient firmware to the latest firmware. If I remember right, the dictionary table wasn't always there, it was introduced in some of the more recent firmwares (which I "skipped" by going from the factory settings to the latest). Could the tabe be a leftover of one of these firmwares, and actually no longer be used?
Edit: Ah, I see you've arrived at the same conclusion in #49 :)
Hi, when trying to install a dictionary, I get the following error: "Error: update database: update database: no such table: Dictionary."
This table is indeed missing since the latest firmware update. I am using a Kobo Glo HD on 4.20.14601. I first tried to install the dictionaries manually as I did before, but also failed because the table was missing. I try to create it manually, but fear that the thing works in a different way entirely, now :(
Edit: weird, I got it working like a couple of years ago, without editing the database. I just had to add the following to .kobo\Kobo\Kobo eReader.conf
ExtraLocales=e1, e2, e3, e4, d1, d2, d3
With my custom dictionary files being named: dicthtml-d1.zip dicthtml-d2.zip dicthtml-e1.zip dicthtml-e2.zip dicthtml-e3.zip dicthtml-e4.zip
and the extra dictionaries patch installed.
There is still no Dictionary table.