skygragon / leetcode-cli

A cli tool to enjoy leetcode!
MIT License
3.65k stars 458 forks source link

Failed to get submission beat ratio #151

Closed turing4ever closed 5 years ago

turing4ever commented 5 years ago

Problem Summary

The leetcode submission passed but leetcode-cli output error msg: "[WARN] Failed to get submission beat ratio."

How to reproduce

Tried -vv, nothing interesting found.

[TRACE] initializing all plugins
[TRACE] found plugin: cache=default
[TRACE] found plugin: company=2017.12.18
[TRACE] found plugin: github=2018.11.18
[TRACE] found plugin: leetcode=default
[TRACE] found plugin: retry=default
[TRACE] found plugin: solution.discuss=2018.04.14
[TRACE] inited plugin: leetcode
[TRACE] inited plugin: retry
[TRACE] inited plugin: cache
[TRACE] inited plugin: github
[TRACE] inited plugin: company
[TRACE] inited plugin: solution.discuss

Environment

[Configuration] autologin {"enable":false,"retry":2} code {"editor":"vim","lang":"python3"} file {"show":"${fid}.${slug}","submission":"${fid}.${slug}.${sid}.${ac}"} color {"enable":true,"theme":"default"} icon {"theme":""} network {"concurrency":10} app "leetcode"

[Themes] Colors blue,dark,default,molokai,orange,pink,solarized,solarized.light Icons ascii,default,win7

[Plugins] solution.discuss 2018.04.14 company 2017.12.18 github 2018.11.18 cache default retry default leetcode default


<!--- e.g. mac 10.11, ubuntu 16.04, win7, etc -->
- OS version: Mac OSX Mojave
- Node version: v11.6.0
- Npm version: 6.5.0
turing4ever commented 5 years ago

btw, my code was in python3.

ilaskaev commented 5 years ago

@turing4ever Mine has recently just started working again. Maybe leetcode was making some changes to their API?

turing4ever commented 5 years ago

Yeah, I just noticed it too. Going to close this ticket.

turing4ever commented 5 years ago

Somehow it's working again. Might be a leetcode server side issue.