Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pycharm中执行报错,是和python版本有关系吗? #5

Open
yangleewl opened this issue Sep 8, 2020 · 0 comments
Open

pycharm中执行报错,是和python版本有关系吗? #5

yangleewl opened this issue Sep 8, 2020 · 0 comments

Comments

@yangleewl
Copy link

"C:\Program Files\Python38\python.exe" D:/Python/Project/netease-cloud-playtimes/main.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\threading.py", line 932, in bootstrap_inner
self.run()
File "C:\Program Files\Python38\lib\threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "D:/Python/Project/netease-cloud-playtimes/main.py", line 161, in taskPool
self.statusBar.SetStatusText(task.login())
File "D:\Python\Project\netease-cloud-playtimes\api.py", line 58, in login
code = json.loads(response.text)['code']
File "C:\Program Files\Python38\lib\json_init
.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python38\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python38\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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

No branches or pull requests

1 participant