-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"nitems == 1 not true" #72
Comments
hi. i'm having this symptom i assume:
i tried deleting every sdcv/stardict cache or whatever in my home directory i could find (in ~/.cache, ~/.local/share, ...), but that doesn't seem to have helped. if you have any ideas... |
I have the same issue with https://github.com/BoboTiG/ebook-reader-dict/blob/master/docs/en/README.md:
qstardict also crashes with a similar error ( goldendict does not crash |
The assertion only occurred if there are problems with the Is removing of |
I don’t see such a file:
I tried removing the I added some lines to debug and the file giving the error is
|
If your dictionary in /usr/share/stardict/dic/ , then So |
For me, *.oft files in /usr/share/stardict/dic/ didn't have o+r permissions and were owned by root, after setting it the problem was fixed. Perhaps explicit read permissions should be checked by the app and on error reported in human format to the user instead of the above cryptic one ? (unless there are other cases where nitems can be non-1) |
it wasn’t my case. my issue stopped appearing for a moment after an update of |
fwiw, i still have the problem
|
sdcv-0.5.3
from AURremoving ~/.cache/sdcv/ and running sdcv show
save to cache
lines until:Which is very much like this 2017 issue, for which the workaround on that page is still good, so I'm guessing the problem remains to lie with
load_cache
Running
sdcv
as root, or another user on the same machine the problem does not recur.Also, saving to cache only happens for regular users and not root, is that normal?
The text was updated successfully, but these errors were encountered: