質問編集履歴
1
エラー内容
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,13 +19,13 @@
|
|
19
19
|
f_trans.write(translate(input))
|
20
20
|
File "translate.py", line 124, in translate
|
21
21
|
return r_post.json()["text"]
|
22
|
-
File "/Users/
|
22
|
+
File "/Users/User/anaconda3/lib/python3.6/site-packages/requests/models.py", line 900, in json
|
23
23
|
return complexjson.loads(self.text, **kwargs)
|
24
|
-
File "/Users/
|
24
|
+
File "/Users/User/anaconda3/lib/python3.6/json/__init__.py", line 354, in loads
|
25
25
|
return _default_decoder.decode(s)
|
26
|
-
File "/Users/
|
26
|
+
File "/Users/User/anaconda3/lib/python3.6/json/decoder.py", line 339, in decode
|
27
27
|
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
|
28
|
-
File "/Users/
|
28
|
+
File "/Users/User/anaconda3/lib/python3.6/json/decoder.py", line 357, in raw_decode
|
29
29
|
raise JSONDecodeError("Expecting value", s, err.value) from None
|
30
30
|
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
31
31
|
|