plato
plato copied to clipboard
Dictionary crashes every time I open it
I'm using Plato on a Kobo Nia e-reader.
I downloaded English, French, and Spanish dictionaries from https://github.com/BoboTiG/ebook-reader-dict#ebook-reader-dictionaries.
I unpacked these in the <e-reader volume>/.adds/plato/dictionaries
directory.
When I'm in Plato on the Kobo, every time I click on 'define' for an individual word, it shows a blank list of words but freezes. After about 30 seconds the device restarts after crashing.
Any suggested tips?
It turns out I had the directory structure wrong. ebook-reader-dict
provides a zip file with a single directory (e.g., dict-en-en
) that has several files and one directory inside of it. Originally I added this whole directory (e.g.,dict-en-en
) to the dictionaries
directory. When I moved all these files inside of dict-en-en
to be top-level inside of dictionaries
, it started working. (It might be helpful to updated the documentation of adding dictionaries to plato
to indicate this.)
Now, however, all the formatting such as <p>
, <i>
, etc are showing up in the view rather than being rendered. Any suggestions on dealing with that?
Alright I've found this issue and tried to run the convert dictionary script, but I'm on a Mac, so the script fails because bin/utils/dictzip
does not exist. dictzip
appears to be solely for Linux.
Any other suggestions for Mac users?
After about 30 seconds the device restarts after crashing.
Are there any error messages in info.log?
It turns out I had the directory structure wrong.
Dictionaries are searched for recursively in the dictionaries directory: there shouldn't be any problem with the directory structure.
Any other suggestions for Mac users?
dictzip is provided by Homebrew's dict package.
Not sure if this is related to #303 ?