leetcode-cli icon indicating copy to clipboard operation
leetcode-cli copied to clipboard

Failed to parse json data

Open zshchun opened this issue 3 years ago • 2 comments

I met this message when pick a problem.

$ leetcode pick 694

[694] Number of Distinct Islands is on the run...

json from response parse failed, please open a new issue at: https://github.com/clearloop/leetcode-cli/.

$ leetcode --version
leetcode-cli 0.3.11

zshchun avatar Jul 28 '22 13:07 zshchun

I'll check this this weekend

clearloop avatar Jul 28 '22 14:07 clearloop

Thanks!

zshchun avatar Jul 28 '22 14:07 zshchun

Hi, I got the same issue. Is there any progress on this?

anstadnik avatar Nov 12 '22 08:11 anstadnik

My account was not the premium, so can you offer more information in detail? By RUST_LOG="trace" leetcode-cli -d pick 694

wendajiang avatar Dec 14 '22 14:12 wendajiang

It works for me on macOS, with leetcode 0.3.12. I got this problem on Arch Linux, but I'm not sure what fixed it :)

anstadnik avatar Dec 14 '22 14:12 anstadnik

If you want post a PR to fix it?

wendajiang avatar Dec 14 '22 14:12 wendajiang

I mean, I didn't change anything. It was either a change from Arch to macOS or bumping a version from 0.3.11 to 0.3.12 which fixed the issue.

anstadnik avatar Dec 14 '22 14:12 anstadnik