starcraftman / cogBot

A discord bot for federals!
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Error After DB Refresh #35

Closed starcraftman closed 7 years ago

starcraftman commented 7 years ago

Aug 07 16:46:39 discord python[14916]: Setting uvloop as asyncio default event loop. Aug 07 16:46:39 discord python[14916]: Logging Folder: /tmp/live Aug 07 16:46:39 discord python[14916]: Main Log File: /tmp/live/info.log Aug 07 16:46:39 discord python[14916]: GBot Ready! Aug 07 16:46:39 discord python[14916]: 2017-08-07 16:46:39,436 [ERROR ] cog/bot | Failed to parse command. 'Memau' | !fort WW -set 6230 Aug 07 16:46:39 discord python[14916]: Traceback (most recent call last): Aug 07 16:46:39 discord python[14916]: File "/home/cog/live_hudson/cog/bot.py", line 165, in on_message Aug 07 16:46:39 discord python[14916]: args = parser.parse_args(msg.split(' ')) Aug 07 16:46:39 discord python[14916]: File "/home/cog/.shell/pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1729, in parse_args Aug 07 16:46:39 discord python[14916]: self.error(msg % ' '.join(argv)) Aug 07 16:46:39 discord python[14916]: File "/home/cog/live_hudson/cog/share.py", line 35, in error Aug 07 16:46:39 discord python[14916]: raise cog.exc.ArgumentParseError(message, self.format_usage()) Aug 07 16:46:39 discord python[14916]: cog.exc.ArgumentParseError Aug 07 17:47:03 discord python[14916]: Task was destroyed but it is pending! Aug 07 17:47:03 discord python[14916]: task: <Task pending coro=<_run_event() running at /home/cog/.shell/pyenv/versions/3.5.3/lib/python3.5/site-packages/discord/cl Aug 07 17:47:03 discord python[14916]: Task was destroyed but it is pending! Aug 07 17:47:03 discord python[14916]: task: <Task pending coro=<Client.send_message() running at /home/cog/.shell/pyenv/versions/3.5.3/lib/python3.5/site-packages/d Aug 07 17:47:03 discord python[14916]: Exception ignored in: <coroutine object on_message at 0x7f8a99d08f68> Aug 07 17:47:03 discord python[14916]: Traceback (most recent call last): Aug 07 17:47:03 discord python[14916]: File "/home/cog/live_hudson/cog/bot.py", line 166, in on_message Aug 07 17:47:03 discord python[14916]: await self.dispatch_command(message=message, args=args, session=session) Aug 07 17:47:03 discord python[14916]: File "/home/cog/live_hudson/cog/bot.py", line 262, in dispatch_command Aug 07 17:47:03 discord python[14916]: 'Now executing: {}'.format(orig_content)) Aug 07 17:47:03 discord python[14916]: File "/home/cog/.shell/pyenv/versions/3.5.3/lib/python3.5/site-packages/discord/client.py", line 1152, in send_message Aug 07 17:47:03 discord python[14916]: data = yield from self.http.send_message(channel_id, content, guild_id=guild_id, tts=tts, embed=embed) Aug 07 17:47:03 discord python[14916]: File "/home/cog/.shell/pyenv/versions/3.5.3/lib/python3.5/site-packages/discord/http.py", line 203, in request Aug 07 17:47:03 discord python[14916]: yield from r.release() Aug 07 17:47:03 discord python[14916]: File "/home/cog/.shell/pyenv/versions/3.5.3/lib/python3.5/site-packages/discord/http.py", line 82, in exit Aug 07 17:47:03 discord python[14916]: self.lock.release() Aug 07 17:47:03 discord python[14916]: File "/home/cog/.shell/pyenv/versions/3.5.3/lib/python3.5/asyncio/locks.py", line 198, in release Aug 07 17:47:03 discord python[14916]: fut.set_result(True) Aug 07 17:47:03 discord python[14916]: File "uvloop/future.pyx", line 194, in uvloop.loop.BaseFuture.set_result (uvloop/loop.c:110069) Aug 07 17:47:03 discord python[14916]: File "uvloop/future.pyx", line 205, in uvloop.loop.BaseFuture.set_result (uvloop/loop.c:110019) Aug 07 17:47:03 discord python[14916]: File "uvloop/future.pyx", line 75, in uvloop.loop.BaseFuture._schedule_callbacks (uvloop/loop.c:108478) Aug 07 17:47:03 discord python[14916]: File "uvloop/loop.pyx", line 1015, in uvloop.loop.Loop.call_soon (uvloop/loop.c:23046) Aug 07 17:47:03 discord python[14916]: File "uvloop/loop.pyx", line 500, in uvloop.loop.Loop._call_soon (uvloop/loop.c:13237) Aug 07 17:47:03 discord python[14916]: File "uvloop/loop.pyx", line 504, in uvloop.loop.Loop._call_soon_handle (uvloop/loop.c:13296) Aug 07 17:47:03 discord python[14916]: File "uvloop/loop.pyx", line 532, in uvloop.loop.Loop._check_closed (uvloop/loop.c:13856) Aug 07 17:47:03 discord python[14916]: RuntimeError: Event loop is closed


Related to recent patch?

starcraftman commented 7 years ago

Can't replicate.