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

Robot did this too #9

Open
KenwoodFox opened this issue Sep 23, 2021 · 0 comments
Open

Robot did this too #9

KenwoodFox opened this issue Sep 23, 2021 · 0 comments

Comments

@KenwoodFox
Copy link
Member

sorta like #7

ERROR:root:caught error: command: SELECT => socket error: EOF
INFO:discord.client:Cleaning up tasks.
INFO:discord.client:Cleaning up after 1 tasks.
INFO:discord.client:All tasks finished cancelling.
INFO:discord.client:Closing the event loop.
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-1' coro=<Loop._loop() done, defined at /usr/local/lib/python3.9/site-packages/discord/ext/tasks/__init__.py:88> exception=SystemExit(None)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/imaplib.py", line 1047, in _command_complete
    typ, data = self._get_tagged_response(tag, expect_bye=logout)
  File "/usr/local/lib/python3.9/imaplib.py", line 1173, in _get_tagged_response
    self._get_response()
  File "/usr/local/lib/python3.9/imaplib.py", line 1075, in _get_response
    resp = self._get_line()
  File "/usr/local/lib/python3.9/imaplib.py", line 1185, in _get_line
    raise self.abort('socket error: EOF')
imaplib.IMAP4.abort: socket error: EOF

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/discord/ext/tasks/__init__.py", line 101, in _loop
    await self.coro(*args, **kwargs)
  File "/app/email_blaster/cogs/check_email.py", line 36, in check_email
    email_content = self.get_new_emails()
  File "/app/email_blaster/cogs/check_email.py", line 81, in get_new_emails
    self.mail.select('inbox')
  File "/usr/local/lib/python3.9/imaplib.py", line 756, in select
    typ, dat = self._simple_command(name, mailbox)
  File "/usr/local/lib/python3.9/imaplib.py", line 1230, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/local/lib/python3.9/imaplib.py", line 1049, in _command_complete
    raise self.abort('command: %s => %s' % (name, val))
imaplib.IMAP4.abort: command: SELECT => socket error: EOF

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/discord/client.py", line 713, in run
    loop.run_forever()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once
    handle._run()
  File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.9/site-packages/discord/ext/tasks/__init__.py", line 124, in _loop
    await self._call_loop_function('error', exc)
  File "/usr/local/lib/python3.9/site-packages/discord/ext/tasks/__init__.py", line 84, in _call_loop_function
    await coro(self._injected, *args, **kwargs)
  File "/app/email_blaster/cogs/check_email.py", line 131, in exception_catching_callback
    quit()
  File "/usr/local/lib/python3.9/_sitebuiltins.py", line 26, in __call__
    raise SystemExit(code)
SystemExit: None
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