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
:( emoji in a sentence. (e.g.) "Great app for styling photo's 👍"
File "", line 1, in
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/client.py", line 118, in translate
translated = self.translate(item, dest=dest, src=src)
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/client.py", line 123, in translate
data = self._translate(text, dest, src)
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/client.py", line 75, in _translate
data = utils.format_json(r.text)
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/utils.py", line 51, in format_json
converted = json.loads(text)
File "/Users/fotor-desktop/anaconda/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/Users/fotor-desktop/anaconda/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Users/fotor-desktop/anaconda/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
The text was updated successfully, but these errors were encountered:
PatchLion
changed the title
I got a error (python3.6/macos)
I got an error (python3.6/macos)
May 24, 2017
@PatchLion@vvtommy I have been trying to fix this problem with no lucks. This has been a known issue for ages (like #20, #21), but it is very hard to determine where caused the token to be invalid, so I believe this might turn out quite hard to fix.
:( emoji in a sentence. (e.g.) "Great app for styling photo's 👍"
File "", line 1, in
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/client.py", line 118, in translate
translated = self.translate(item, dest=dest, src=src)
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/client.py", line 123, in translate
data = self._translate(text, dest, src)
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/client.py", line 75, in _translate
data = utils.format_json(r.text)
File "/Users/fotor-desktop/anaconda/lib/python3.6/site-packages/googletrans/utils.py", line 51, in format_json
converted = json.loads(text)
File "/Users/fotor-desktop/anaconda/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/Users/fotor-desktop/anaconda/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Users/fotor-desktop/anaconda/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
The text was updated successfully, but these errors were encountered: