Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2017-05-24 01:17:50,761: telegram.ext.updater [ERROR]
- unhandled exception
- Traceback (most recent call last):
- File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 98, in _parse
- data = json.loads(decoded_s)
- File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
- return _default_decoder.decode(s)
- File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
- raise JSONDecodeError("Expecting value", s, err.value) from None
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.5/dist-packages/telegram/ext/updater.py", line 115, in _thread_wrapper
- target(*args, **kwargs)
- File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 219, in start
- self.process_update(update)
- File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 263, in process_update
- self.dispatch_error(None, update)
- File "/usr/local/lib/python3.5/dist-packages/telegram/ext/dispatcher.py", line 374, in dispatch_error
- callback(self.bot, update, error)
- File "/root/ehforwarderbot/plugins/eh_telegram_master/__init__.py", line 1638, in error
- (html.escape(str(error)), html.escape(str(update))))
- File "/usr/local/lib/python3.5/dist-packages/telegram/bot.py", line 125, in decorator
- result = func(self, *args, **kwargs)
- File "/usr/local/lib/python3.5/dist-packages/telegram/bot.py", line 151, in decorator
- result = self._request.post(url, data, timeout=kwargs.get('timeout'))
- File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 207, in post
- **urlopen_kwargs)
- File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 145, in _request_wrapper
- message = self._parse(resp.data)
- File "/usr/local/lib/python3.5/dist-packages/telegram/utils/request.py", line 100, in _parse
- raise TelegramError('Invalid server response')
- telegram.error.TelegramError: Invalid server response
Advertisement
Add Comment
Please, Sign In to add comment