Equim-chan / mjai-reviewer

🔍🀄️ Review mahjong game log with mjai-compatible mahjong AI.
https://mjai.ekyu.moe
Apache License 2.0
1.03k stars 120 forks source link

got "failed to read from akochan: unexpected EOF" error on Windows10 #20

Closed forest-forex-lab closed 3 years ago

forest-forex-lab commented 3 years ago

I got "failed to read from akochan: unexpected EOF" error on Windows10 with akochan-reviewer windows binary v.0.6.0.

I need your help.

Situation

22:32:02.690380 src\main.rs:507 converting to mjai events... 22:32:02.691797 src\main.rs:603 players: カレーセット, 二宮蘭子, ⓝSuphx, 渡部惠子 22:32:02.692318 src\main.rs:604 target: ⓝSuphx 22:32:02.693135 src\main.rs:605 review has started, this may take several minutes... 22:32:02.705276 src\review.rs:221 reviewing kyoku=0 honba=0 junme=0 (0.95%) 22:32:03.183592 src\review.rs:221 reviewing kyoku=0 honba=0 junme=0 (1.58%) 22:32:03.631826 src\review.rs:221 reviewing kyoku=0 honba=0 junme=1 (1.90%) 22:32:04.078816 src\review.rs:374 review entry created: Agree (0/0/1, 100.000) 22:32:04.079945 src\review.rs:221 reviewing kyoku=0 honba=0 junme=1 (2.85%) 22:32:04.532977 src\review.rs:221 reviewing kyoku=0 honba=0 junme=1 (3.48%) 22:32:04.984261 src\review.rs:221 reviewing kyoku=0 honba=0 junme=1 (4.11%) 22:32:05.436933 src\review.rs:221 reviewing kyoku=0 honba=0 junme=2 (4.43%) 22:32:05.881838 src\review.rs:374 review entry created: Agree (0/0/2, 100.000) 22:32:05.883035 src\review.rs:221 reviewing kyoku=0 honba=0 junme=2 (5.38%) 22:32:06.331310 src\review.rs:221 reviewing kyoku=0 honba=0 junme=2 (6.01%) 22:32:06.780102 src\review.rs:221 reviewing kyoku=0 honba=0 junme=2 (6.65%) 22:32:07.228143 src\review.rs:221 reviewing kyoku=0 honba=0 junme=3 (6.96%) Assertion failed: tehai_bit.count_hai(hai-5) >= tehai_state.get_aka_in_side(hai/10 - 1), file tehai_ana.cpp, line 263 Assertion failed: tehai_bit.count_hai(hai-5) >= tehai_state.get_aka_in_side(hai/10 - 1), file tehai_ana.cpp, line 263 Error: failed to review log

Caused by: failed to read from akochan: unexpected EOF


- same error occurred on mahjongsoul.

akochan-reviewer "https://game.mahjongsoul.com/?paipu=190425-146daa2a-68c2-4b7e-a8d7-2b5c71b54b00_a458023588"

22:43:29.293640 src\main.rs:507 converting to mjai events... 22:43:29.295242 src\main.rs:603 players: jan, 吼姆拉, 二宮蘭子, おむつみなと 22:43:29.295651 src\main.rs:604 target: 二宮蘭子 22:43:29.295982 src\main.rs:605 review has started, this may take several minutes... 22:43:29.307962 src\review.rs:221 reviewing kyoku=0 honba=0 junme=0 (0.26%) Assertion failed: tehai_bit.count_hai(hai-5) >= tehai_state.get_aka_in_side(hai/10 - 1), file tehai_ana.cpp, line 263 Assertion failed: tehai_bit.count_hai(hai-5) >= tehai_state.get_aka_in_side(hai/10 - 1), file tehai_ana.cpp, line 263 Error: failed to review log

Caused by: failed to read from akochan: unexpected EOF

Equim-chan commented 3 years ago

Did you try https://github.com/Equim-chan/akochan-reviewer#troubleshooting ?

forest-forex-lab commented 3 years ago

Oh, sorry. I overlooked the troubleshooting.

akochan-reviewer worked fine if I set the openmp environment.

Thank you.