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

Possible error in session.py #24

Closed
gholt opened this issue Mar 29, 2014 · 3 comments
Closed

Possible error in session.py #24

gholt opened this issue Mar 29, 2014 · 3 comments
Labels

Comments

@gholt
Copy link
Contributor

gholt commented Mar 29, 2014

It could definitely still be a coding error on my part, but I occasionally see this error I can't explain so I thought I'd report it:

WARNING HttpResponse has to be closed explicitly! DELETE:host:/path
Exception ignored in: <bound method HttpResponse.__del__ of <HttpResponse(host/path) [None None]>


>
Traceback (most recent call last):
  File "/home/greg/python3/lib/python3.4/site-packages/aiohttp/client.py", line 801, in __del__
    self.close()
  File "/home/greg/python3/lib/python3.4/site-packages/aiohttp/client.py", line 852, in close
    self.transport.close(force)
  File "/home/greg/python3/lib/python3.4/site-packages/aiohttp/session.py", line 107, in close
    (self.transport, self.protocol))
  File "/home/greg/python3/lib/python3.4/site-packages/aiohttp/session.py", line 79, in _release
    should_close = resp.message.should_close
AttributeError: 'NoneType' object has no attribute 'should_close'
@fafhrd91
Copy link
Member

that should be fixed in master branch
i've just released 0.6.5, it should fix this problem.

@gholt
Copy link
Contributor Author

gholt commented Mar 29, 2014

👍

@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants