Advertisement
Guest User

Untitled

a guest
Sep 24th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.80 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "C:\Users\Carlos Cabral\Desktop\TITsBot\imgurpython\client.py", line 156, in make_request
  3.     response_data = response.json()
  4.   File "C:\Program Files\Python35\lib\site-packages\requests\models.py", line 826, in json
  5.     return complexjson.loads(self.text, **kwargs)
  6.   File "C:\Program Files\Python35\lib\json\__init__.py", line 319, in loads
  7.     return _default_decoder.decode(s)
  8.   File "C:\Program Files\Python35\lib\json\decoder.py", line 339, in decode
  9.     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  10.   File "C:\Program Files\Python35\lib\json\decoder.py", line 357, in raw_decode
  11.     raise JSONDecodeError("Expecting value", s, err.value) from None
  12. json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  13.  
  14. During handling of the above exception, another exception occurred:
  15.  
  16. Traceback (most recent call last):
  17.   File "C:\Users\Carlos Cabral\Desktop\TITsBot\script.py", line 493, in <module>
  18.     bot.interactive()
  19.   File "C:\Users\Carlos Cabral\Desktop\TITsBot\script.py", line 475, in interactive
  20.     if self.prompt_command():
  21.   File "C:\Users\Carlos Cabral\Desktop\TITsBot\script.py", line 460, in prompt_command
  22.     return self._commands[command]["function"](args)
  23.   File "C:\Users\Carlos Cabral\Desktop\TITsBot\script.py", line 404, in command_comment
  24.     self.client.client.post_comment_reply(root_comment["id"], image_id, comment)
  25.   File "C:\Users\Carlos Cabral\Desktop\TITsBot\imgurpython\client.py", line 356, in post_comment_reply
  26.     return self.make_request('POST', 'comment/%d' % comment_id, data)
  27.   File "C:\Users\Carlos Cabral\Desktop\TITsBot\imgurpython\client.py", line 158, in make_request
  28.     raise ImgurClientError('JSON decoding of response failed.')
  29. imgurpython.helpers.error.ImgurClientError: JSON decoding of response failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement