Skip to content
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

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

Closed
forest-forex-lab opened this issue May 29, 2021 · 2 comments

Comments

@forest-forex-lab
Copy link

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

  • the error occurred when I run following command on cmd.
> akochan-reviewer "https://tenhou.net/0/?log=2019050417gm-0029-0000-4f2a8622&tw=2"

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
Copy link
Owner

@forest-forex-lab
Copy link
Author

Oh, sorry. I overlooked the troubleshooting.

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

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants