Equim-chan / mjai-reviewer

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

[Error: failed to review] 1: invalid type: map, expected a sequence at line 1 column 0 #89

Closed Pragmatism0220 closed 2 years ago

Pragmatism0220 commented 2 years ago

请问在使用mortal跑谱时出现这样的问题是什么原因呢?

16:40:58.496772 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 9, (98.61%)
16:40:58.496843 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 9, (98.73%)
16:40:58.524785 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 10, (98.86%)
16:40:58.524894 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 10, (98.99%)
16:40:58.524928 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 10, (99.11%)
16:40:58.524966 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 10, (99.24%)
16:40:58.524997 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 10, (99.37%)
16:40:58.543670 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 10, (99.49%)
16:40:58.543767 src/review/mortal.rs:237    reviewing kyoku 4, honba 0, junme 10, (99.62%)
Error: failed to review

Caused by:
    0: failed to parse JSON output of engine
    1: invalid type: map, expected a sequence at line 1 column 0

同样的谱使用akochan就不会有问题,所以是mortal的配置错了吗?但是mortal运行到了99%啊…… 希望解答谢谢~

Equim-chan commented 2 years ago

更新然后重新构建 mjai-reviewer,之前有 breaking change。