yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66057
[Bug 1706348] [NEW] UnhashableKeyWarning when opening Angular Launch Instance form
Public bug reported:
When opening Angular Launch Instance form, I see the following warning
from @memoized decorator.
It happens because request.GET QueryDict object is passed and it is not
hashable. memoized decorator expects hashable parameters.
[25/Jul/2017 13:43:33] "GET /api/neutron/networks/ HTTP/1.1" 200 2132
UnhashableKeyWarning: The key ((<weakref at 0x7f08a338f260; to 'WSGIRequest' at 0x7f08a1136650>,), ((u'network_id', [u'cee8181f-bb45-428c-96b7-3e4d05e8d9ee']),)) is not hashable and cannot be memoized.
WARNING:py.warnings:UnhashableKeyWarning: The key ((<weakref at 0x7f08a338f260; to 'WSGIRequest' at 0x7f08a1136650>,), ((u'network_id', [u'cee8181f-bb45-428c-96b7-3e4d05e8d9ee']),)) is not hashable and cannot be memoized.
** Affects: horizon
Importance: Medium
Status: New
** Changed in: horizon
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1706348
Title:
UnhashableKeyWarning when opening Angular Launch Instance form
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When opening Angular Launch Instance form, I see the following warning
from @memoized decorator.
It happens because request.GET QueryDict object is passed and it is
not hashable. memoized decorator expects hashable parameters.
[25/Jul/2017 13:43:33] "GET /api/neutron/networks/ HTTP/1.1" 200 2132
UnhashableKeyWarning: The key ((<weakref at 0x7f08a338f260; to 'WSGIRequest' at 0x7f08a1136650>,), ((u'network_id', [u'cee8181f-bb45-428c-96b7-3e4d05e8d9ee']),)) is not hashable and cannot be memoized.
WARNING:py.warnings:UnhashableKeyWarning: The key ((<weakref at 0x7f08a338f260; to 'WSGIRequest' at 0x7f08a1136650>,), ((u'network_id', [u'cee8181f-bb45-428c-96b7-3e4d05e8d9ee']),)) is not hashable and cannot be memoized.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1706348/+subscriptions
Follow ups