Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019-06-24 18:21:15,707 - telegram.ext.dispatcher - WARNING - A TelegramError was raised while processing the Update
- 2019-06-24 18:21:15,708 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/dist-packages/telegram/ext/dispatcher.py", line 279, in process_update
- handler.handle_update(update, self)
- File "/usr/local/lib/python3.7/dist-packages/telegram/ext/commandhandler.py", line 173, in handle_update
- return self.callback(dispatcher.bot, update, **optional_args)
- File "/root/pythonserver/googlebot/commands.py", line 29, in imgrandom
- bot.send_photo(update.message.chat_id, str(random_filename))
- File "/usr/local/lib/python3.7/dist-packages/telegram/bot.py", line 65, in decorator
- result = func(self, *args, **kwargs)
- File "/usr/local/lib/python3.7/dist-packages/telegram/bot.py", line 90, in decorator
- result = self._request.post(url, data, timeout=kwargs.get('timeout'))
- File "/usr/local/lib/python3.7/dist-packages/telegram/utils/request.py", line 309, in post
- headers={'Content-Type': 'application/json'})
- File "/usr/local/lib/python3.7/dist-packages/telegram/utils/request.py", line 223, in _request_wrapper
- raise BadRequest(message)
- telegram.error.BadRequest: Wrong file identifier/http url specified
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/dist-packages/telegram/ext/dispatcher.py", line 292, in process_update
- self.dispatch_error(update, te)
- File "/usr/local/lib/python3.7/dist-packages/telegram/ext/dispatcher.py", line 384, in dispatch_error
- callback(self.bot, update, error)
- TypeError: error() takes 2 positional arguments but 3 were given
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement