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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scheduler.py: "Task exception was never retrieved" #53

Open
CRASNY opened this issue Mar 29, 2017 · 0 comments
Open

scheduler.py: "Task exception was never retrieved" #53

CRASNY opened this issue Mar 29, 2017 · 0 comments

Comments

@CRASNY
Copy link

CRASNY commented Mar 29, 2017

I get the following error at times after a scheduled event runs:

[29/03/2017 01:00] INFO scheduler run_coro 240: Running 'dump' in 261733281341374469.
[29/03/2017 01:00] INFO scheduler run_coro 240: Running 'announce dump' in 261733281341374469.
Task exception was never retrieved
future: <Task finished coro=<Scheduler.queue_manager() done, defined at C:\Users\Craig\Documents\Red-DiscordBot\cogs\scheduler.py:244> exception=KeyError(1490763641,)>
Traceback (most recent call last):
  File "C:\Program Files\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\Craig\Documents\Red-DiscordBot\cogs\scheduler.py", line 278, in queue_manager
    del self.to_kill[start_time]
KeyError: 1490763641

Does anyone know what causes it and how I can fix it?

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