majewsky/rust-jmdict

Seems to broken with latest version of JMdict

Opened this issue · 0 comments

I noticed that the version of JMdict in the repository along with the newest version served here is now two years out-of-date. I pulled a new version of JMdict (2023-07-25) and updated data/entrypack.json and jmdict-enums/data/entities.json, which I've committed to my fork. However, when I try to run, I get the following error on this line:

[dependencies]
jmdict = { git = "https://github.com/ElnuDev/rust-jmdict" }
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/elnu/.cargo/git/checkouts/rust-jmdict-db0bd920ad8c5784/59f90e1/jmdict-enums/build.rs:397:69

Any ideas what's going on? I've also tried running cargo clean and RUST_JMDICT_ENTRYPACK=../rust-jmdict/data/entrypack.json cargo build to see if that'd make any difference at all and it didn't. I have a feeling like this project's schema may have fallen behind that of upstream.

Thanks in advance!