Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

!translate doesn't work anymore #2

Open
frdmn opened this issue Oct 30, 2014 · 0 comments
Open

!translate doesn't work anymore #2

frdmn opened this issue Oct 30, 2014 · 0 comments
Assignees

Comments

@frdmn
Copy link
Member

frdmn commented Oct 30, 2014

14:22:08 #yeahwhat_mc <frdmn> !translate wurst
Unhandled exception in thread started by <function run at 0x7fed5b448b18>
Traceback (most recent call last):
  File "core/main.py", line 67, in run
    out = func(input.inp)
  File "plugins/google_translate.py", line 40, in translate
    return u"{} means {} in {}".format(text, result, gs.get_languages()[slang])
  File "/usr/local/lib/python2.7/dist-packages/goslate.py", line 280, in get_languages
    data = json.loads(response_content[1:-1])
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 369, in decode
    raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 5 - line 1 column 2508 (char 4 - 2507)
@frdmn frdmn assigned frdmn and Yepoleb and unassigned frdmn Oct 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants