yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54412
[Bug 1607846] [NEW] osprofiler @trace decorator fails with unicode
Public bug reported:
@trace decorator fails on this line: https://github.com/openstack/osprofiler/blob/master/osprofiler/profiler.py#L150
when function args have unicode in their argument.
In my case it was the following dict:
{"name": u'\u4e91\u89c4\u5219',
"status": "ACTIVE",
"tenant_id": tenant3.id,
"server_id": "3"}
Full dataset is here: https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/test_data/nova_data.py#L454
Without @profiler.trace() Horizon tests work fine so looks like there could be an issue in decorator.
** Affects: horizon
Importance: Undecided
Status: Invalid
** Changed in: horizon
Status: New => Invalid
--
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/1607846
Title:
osprofiler @trace decorator fails with unicode
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
@trace decorator fails on this line: https://github.com/openstack/osprofiler/blob/master/osprofiler/profiler.py#L150
when function args have unicode in their argument.
In my case it was the following dict:
{"name": u'\u4e91\u89c4\u5219',
"status": "ACTIVE",
"tenant_id": tenant3.id,
"server_id": "3"}
Full dataset is here: https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/test_data/nova_data.py#L454
Without @profiler.trace() Horizon tests work fine so looks like there could be an issue in decorator.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1607846/+subscriptions