blueset

Untitled

May 23rd, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. 2017-05-24 01:17:50,761: telegram.ext.updater [ERROR]
  2. unhandled exception
  3. Traceback (most recent call last):
  4. File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 98, in _parse
  5. data = json.loads(decoded_s)
  6. File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
  7. return _default_decoder.decode(s)
  8. File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
  9. obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  10. File "/usr/lib/python3.5/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 "/usr/local/lib/python3.5/dist-packages/telegram/ext/updater.py", line 115, in _thread_wrapper
  18. target(*args, **kwargs)
  19. File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 219, in start
  20. self.process_update(update)
  21. File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 263, in process_update
  22. self.dispatch_error(None, update)
  23. File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 374, in dispatch_error
  24. callback(self.bot, update, error)
  25. File "/root/ehforwarderbot/plugins/eh_telegram_master/__init__.py", line 1638, in error
  26. (html.escape(str(error)), html.escape(str(update))))
  27. File "/usr/local/lib/python3.5/dist-packages/telegram/bot.py", line 125, in decorator
  28. result = func(self, *args, **kwargs)
  29. File "/usr/local/lib/python3.5/dist-packages/telegram/bot.py", line 151, in decorator
  30. result = self._request.post(url, data, timeout=kwargs.get('timeout'))
  31. File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 207, in post
  32. **urlopen_kwargs)
  33. File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 145, in _request_wrapper
  34. message = self._parse(resp.data)
  35. File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 100, in _parse
  36. raise TelegramError('Invalid server response')
  37. telegram.error.TelegramError: Invalid server response
Advertisement
Add Comment
Please, Sign In to add comment