Closed mxmlnkn closed 3 years ago
Hi! Sorry for not writing before, but GitHub forgot to notify me of issues posted here apparently for a while now. I haven't seen multiple issues until now.
I'm not working on this project anymore. I wanted to make a full release and maybe add some small adjustments years ago, but for a long time nobody tested zkanji or reported issues, and I didn't want to make a full release of a possibly buggy program, then I moved on. (I'm adding this text at the start of every answer today, it's not a sign I don't care.)
I don't have this issue, so I'm not sure what's causing it for you. Do you have the stroke order file present in your data folder? (zdict.zks) Zkanji should check for its presence and not start without it, or disable the controls, I don't remember now.
I feel your pain. I still have the same issue with issues being opened on my projects. Github does not notify me when new issues are opened even when I'm watching or even owning that repo. It only notifies me when I watch that issue or I think even if someone else posts an answer in that issue? Might be worth opening an issue at github.
I don't have any zdict.zks file in the data folder. I guess that is the issue. Maybe I forgot this or the installation instructions are incomplete or out of data.
I'm not working on this project anymore. I wanted to make a full release and maybe add some small adjustments years ago, but for a long time nobody tested zkanji or reported issues, and I didn't want to make a full release of a possibly buggy program, then I moved on. (I'm adding this text at the start of every answer today, it's not a sign I don't care.)
That's too bad. Weird to ask, but do you have an alternative or do you not need ZKanji anymore for your own usage anymore? I'm still using it from time to time but well, it works sufficiently enough with wine on Linux for my usages.
do you have an alternative or do you not need ZKanji anymore for your own usage anymore?
I sometimes check to see if anyone works on a similar project but I don't see any good alternative, even if this sounds the opposite of humble. To answer, it's partially that I don't need it anymore. I got to a level where I understand a lot of conversational Japanese and that was my main goal. I still can't actively speak, but I don't have the opportunity and am not that social anyway. I still use the kanji lookup sometimes but that's about it.
I wish someone could take over the project so it doesn't go to waste, and I would be there to help them understand the code, but I don't see myself actively developing now. This version can be compiled for Linux, and then you wouldn't need wine, but I have no experience on Linux distribution so I only provided instructions on how to build it on the main page here on GitHub.
Just a heads up, I'll close this report later today or tomorrow.
Open zkanji v0.1.0 eacaa02. Double click on any kanji in the list which is shown by default. Press on the play button.
Backtrace:
It looks like
KanjiElementList::strokeCount
is given -1 for some reason andlist.size() == 0
and you are using that externally given index to access an internal vector without any checks resulting in this segfault.