CodeNames icon indicating copy to clipboard operation
CodeNames copied to clipboard

Unexpected Error:: No JSON object could be decoded

Open RileyChing opened this issue 5 years ago • 1 comments

When I performed the statement: ./fetch_corpus_text.py, there will always be these two error messages as follow and The operation will be interrupted,which can't be solved by running again.

Unexpected Error:: No JSON object could be decoded Unexpected Error:: HTTPConnectionPool(host='en.wikipedia.org', port=80): Max retries exceeded with url...

If I continue with the next steps, there will be an error of RuntimeError:you must first build vocabulary before training the model during training, I think it may be caused by the above problem.

So, how can I solve this problem? It would be so great with your help.

RileyChing avatar Jul 23 '20 09:07 RileyChing

I suspect this is due to some change in the wikipedia package. I don't have time to investigate this now but, if you figure this out, a PR is very welcome.

dkirkby avatar Jul 23 '20 21:07 dkirkby