Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors that started today #25

Open
dazWiLLiE opened this issue Nov 25, 2016 · 1 comment
Open

Errors that started today #25

dazWiLLiE opened this issue Nov 25, 2016 · 1 comment

Comments

@dazWiLLiE
Copy link

Hi.

Today I started to get this error when 2 players have joined and one of us starts a game:

2016-11-25 16:44:15,895 - game - INFO - Playing card 馃挌5
2016-11-25 16:44:15,982 - telegram.ext.dispatcher - ERROR - run_async function raised exception
Traceback (most recent call last):
  File "/home/xxx/uno/src/python-telegram-bot/telegram/ext/dispatcher.py", line 163, in _pooled
    promise.run()
  File "/home/xxx/uno/src/python-telegram-bot/telegram/utils/promise.py", line 36, in run
    self._result = self.pooled_function(*self.args, **self.kwargs)
  File "./bot.py", line 279, in send_first
    timeout=TIMEOUT)
  File "/home/xxx/uno/src/python-telegram-bot/telegram/bot.py", line 124, in decorator
    result = func(self, *args, **kwargs)
  File "/home/xxx/uno/src/python-telegram-bot/telegram/bot.py", line 150, in decorator
    result = self._request.post(url, data, timeout=kwargs.get('timeout'))
  File "/home/xxx/uno/src/python-telegram-bot/telegram/utils/request.py", line 207, in post
    **urlopen_kwargs)
  File "/home/xxx/uno/src/python-telegram-bot/telegram/utils/request.py", line 152, in _request_wrapper
    raise BadRequest(repr(message))
telegram.error.BadRequest: 'Bad Request: Wrong file identifier/HTTP URL specified'

I managed to start a game a few hours later, but after a while I got:

2016-11-25 16:42:21,085 - utils - ERROR - 'Bad Request: DOCUMENT_INVALID'
Traceback (most recent call last):
  File "/home/xxx/uno/utils.py", line 103, in answer_async
    bot.answerInlineQuery(*args, **kwargs)
  File "/home/xxx/uno/src/python-telegram-bot/telegram/bot.py", line 124, in decorator
    result = func(self, *args, **kwargs)
  File "/home/xxx/uno/src/python-telegram-bot/telegram/bot.py", line 856, in answerInlineQuery
    result = self._request.post(url, data, timeout=timeout)
  File "/home/xxx/uno/src/python-telegram-bot/telegram/utils/request.py", line 207, in post
    **urlopen_kwargs)
  File "/home/xxx/uno/src/python-telegram-bot/telegram/utils/request.py", line 152, in _request_wrapper
    raise BadRequest(repr(message))

Whats happening? The bot have been running for weeks, and the problem started today.

And @unobot won't start a game either.

@dazWiLLiE
Copy link
Author

It seems to have corrected itself now. Must have been a problem on Telegrams side then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant