{"action":"created","issue":{"url":"https://api.github.com/repos/weechat/scripts/issues/83","labels_url":"https://api.github.com/repos/weechat/scripts/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/weechat/scripts/issues/83/comments","events_url":"https://api.github.com/repos/weechat/scripts/issues/83/events","html_url":"https://github.com/weechat/scripts/issues/83","id":94587902,"number":83,"title":"translate.py do not work at all","user":{"login":"pascalpoitras","id":3608314,"avatar_url":"https://avatars.githubusercontent.com/u/3608314?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalpoitras","html_url":"https://github.com/pascalpoitras","followers_url":"https://api.github.com/users/pascalpoitras/followers","following_url":"https://api.github.com/users/pascalpoitras/following{/other_user}","gists_url":"https://api.github.com/users/pascalpoitras/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalpoitras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalpoitras/subscriptions","organizations_url":"https://api.github.com/users/pascalpoitras/orgs","repos_url":"https://api.github.com/users/pascalpoitras/repos","events_url":"https://api.github.com/users/pascalpoitras/events{/privacy}","received_events_url":"https://api.github.com/users/pascalpoitras/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weechat/scripts/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-12T18:12:40Z","updated_at":"2015-11-07T06:05:27Z","closed_at":null,"body":"I typed /translate en_it I want this string in italian\r\nHere is the output:\r\n14:06 python: stdout/stderr: Traceback (most recent call last):\r\n14:06 python: stdout/stderr:   File \"/home/launch/.weechat/python/autoload/translate.py\", line 91, in translate_process_cb\r\n14:06 python: stdout/stderr:     translated = ''.join([x['trans'] for x in json.loads(translate['stdout'])['sentences']])\r\n14:06 python: stdout/stderr:   File \"/usr/lib/python2.7/json/__init__.py\", line 338, in loads\r\n14:06 python: stdout/stderr:     return _default_decoder.decode(s)\r\n14:06 python: stdout/stderr:   File \"/usr/lib/python2.7/json/decoder.py\", line 366, in decode\r\n14:06 python: stdout/stderr:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n14:06 python: stdout/stderr:   File \"/usr/lib/python2.7/json/decoder.py\", line 384, in raw_decode\r\n14:06 python: stdout/stderr:     raise ValueError(\"No JSON object could be decoded\")\r\n14:06 python: stdout/stderr: ValueError: No JSON object could be decoded\r\n14:06 =!= python: error in function \"translate_process_cb\""},"comment":{"url":"https://api.github.com/repos/weechat/scripts/issues/comments/154633423","html_url":"https://github.com/weechat/scripts/issues/83#issuecomment-154633423","issue_url":"https://api.github.com/repos/weechat/scripts/issues/83","id":154633423,"user":{"login":"pascalpoitras","id":3608314,"avatar_url":"https://avatars.githubusercontent.com/u/3608314?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalpoitras","html_url":"https://github.com/pascalpoitras","followers_url":"https://api.github.com/users/pascalpoitras/followers","following_url":"https://api.github.com/users/pascalpoitras/following{/other_user}","gists_url":"https://api.github.com/users/pascalpoitras/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalpoitras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalpoitras/subscriptions","organizations_url":"https://api.github.com/users/pascalpoitras/orgs","repos_url":"https://api.github.com/users/pascalpoitras/repos","events_url":"https://api.github.com/users/pascalpoitras/events{/privacy}","received_events_url":"https://api.github.com/users/pascalpoitras/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T06:05:27Z","updated_at":"2015-11-07T06:05:27Z","body":"It works 2 weeks ago and then it stop working with the same error. Now it works again. Is the api limiting the number of request or something like that?"}}