You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran the wd command to get English translation from Chinese input, ther error displayed below:
➜ ~ wd 符号
Traceback (most recent call last):
File "WudaoCommand.py", line 195, in <module>
main()
File "WudaoCommand.py", line 191, in main
app.query(app.word)
File "WudaoCommand.py", line 105, in query
word_info = json.loads(server_context)
File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/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)
Why didn't this happen? How to solve it?
The text was updated successfully, but these errors were encountered:
When I ran the wd command to get English translation from Chinese input, ther error displayed below:
Why didn't this happen? How to solve it?
The text was updated successfully, but these errors were encountered: