Skip to content

DiscordBridge plugin issue #6

@Transfusion

Description

@Transfusion

future: <Future finished exception=RuntimeError('Event loop is closed',)>
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/transfusion/drrrobot/modules/DiscordBridge/DiscordBridge.py", line 61, in handler
    self._discord_client.send(message.sender.name, message.message)
  File "/home/transfusion/drrrobot/modules/DiscordBridge/discord_client.py", line 90, in send
    self.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 737, in run_coroutine_threadsafe
    loop.call_soon_threadsafe(callback)
  File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
    handle = self._call_soon(callback, args)
  File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
    self._check_closed()
  File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
2017-12-01 08:16:25,124 - asyncio - ERROR - Future exception was never retrieved

Discord.py's event loop spontaneously closes after a certain amount of time...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions