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

Python 3.9 - Task exception was never retrieved #66

Closed
Lithimlin opened this issue Apr 22, 2021 · 1 comment
Closed

Python 3.9 - Task exception was never retrieved #66

Lithimlin opened this issue Apr 22, 2021 · 1 comment

Comments

@Lithimlin
Copy link

I just pulled the newest version of this library and I'm still getting the following error when using Python 3.9

Task exception was never retrieved
future: <Task finished name='Task-2' coro=<BaseEventLoop.create_connection() done, defined at /usr/lib/python3.9/asyncio/base_events.py:967> exception=gaierror(-2, 'Name or service not known')>

This is the same as already mentioned in #59 (comment).
To reproduce this, I simply ran the imap_fetch.py example provided.

@bamthomas
Copy link
Owner

it is because you have to replace imap.server account_id and password by your imap server and credientials.

I have tested it, there was an error because it was not using the new bytes type in Response.
I have fixed the test, and it is working fine now.

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

2 participants