-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Steps to reproduce
- Create a
ConversationalHandlerand useconversation_timeout=10 - Launch the bot
- Trigger command to enter conversation
- Wait for 10sec
- Error appears
Expected behaviour
The conversation should timeout
Actual behaviour
From the chat, nothing happens. If i respond normally after the supposed timeout should have taken place, the bot responds to me as if no timeout has taken place.
Configuration
Operating System:
ProductName: Mac OS X
ProductVersion: 10.14.3
BuildVersion: 18D109
Version of Python, python-telegram-bot & dependencies:
python-telegram-bot 12.0.0b1
certifi 2019.03.09
future 0.17.1
Python 3.7.2 (default, Feb 12 2019, 08:15:36) [Clang 10.0.0 (clang-1000.11.45.5)]
Logs
2019-03-18 10:33:52,327 - JobQueue - DEBUG - Ticking jobs with t=1552876432.327480
2019-03-18 10:33:52,329 - JobQueue - DEBUG - Peeked at _trigger_timeout with t=1552876432.325519
2019-03-18 10:33:52,331 - JobQueue - DEBUG - Running job _trigger_timeout
2019-03-18 10:33:52,332 - JobQueue - ERROR - An uncaught error was raised while executing job _trigger_timeout
Traceback (most recent call last):
File "/venv/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 260, in tick
job.run(self._dispatcher)
File "/venv/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 388, in run
self.callback(CallbackContext.from_job(self, dispatcher))
TypeError: _trigger_timeout() missing 1 required positional argument: 'job'
2019-03-18 10:33:52,338 - JobQueue - DEBUG - Dropping non-repeating or removed job _trigger_timeout
Metadata
Metadata
Assignees
Labels
No labels