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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to