Dushistov / sdcv

https://dushistov.github.io/sdcv/
GNU General Public License v2.0
289 stars 42 forks source link

"nitems == 1 not true" #72

Open elig0n opened 3 years ago

elig0n commented 3 years ago

sdcv-0.5.3 from AUR

removing ~/.cache/sdcv/ and running sdcv show save to cache lines until:

Internal error: nitems == 1 not true at /build/sdcv/src/sdcv-0.5.3/src/stardict_lib.cpp: 544

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?

greg-minshall commented 1 month ago

Console version of Stardict, version 0.5.5

hi. i'm having this symptom i assume:

Internal error: nitems == 1 not true at /usr/src/debug/sdcv/sdcv-0.5.5/src/stardict_lib.cpp: 530

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...