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

AttributeError: 'NoneType' object has no attribute 'cancel' #943

Closed
julien-duponchelle opened this issue Mar 16, 2017 · 2 comments
Closed
Labels
Milestone

Comments

@julien-duponchelle
Copy link
Contributor

https://sentry.io/gns3/gns3-server/issues/235755086/

AttributeError: 'NoneType' object has no attribute 'cancel'
(2 additional frame(s) were not displayed)
...
  File "gns3server/controller/compute.py", line 580, in forward
    res = yield from self.http_query(method, "/{}/{}".format(type, path), data=data, timeout=None)
  File "gns3server/controller/compute.py", line 361, in http_query
    response = yield from self._run_http_query(method, path, data=data, **kwargs)
  File "gns3server/controller/compute.py", line 502, in _run_http_query
    response = yield from self._session().request(method, url, headers=headers, data=data, auth=self._auth, chunked=chunked, timeout=timeout)
  File "aiohttp/client.py", line 583, in __iter__
    resp = yield from self._coro
  File "aiohttp/client.py", line 279, in _request
    resp.connection.add_callback(handle.cancel)

AttributeError: 'NoneType' object has no attribute 'cancel'
@julien-duponchelle julien-duponchelle added this to the 2.0 milestone Mar 16, 2017
@julien-duponchelle
Copy link
Contributor Author

Need deep debug, seem an issue inside aiohttp

@julien-duponchelle
Copy link
Contributor Author

It's an aiohttp issue they will release a fix:
aio-libs/aiohttp#1720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant