Use of _ function without importing it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Mike Lundy | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
root@os:~# dpkg -l | grep glance
ii glance 2011.3-0ubuntu4 OpenStack Image Registry and Delivery Service - Daemons
ii python-glance 2011.3-0ubuntu4 OpenStack Image Registry and Delivery Service - Python library
/usr/lib/
So when horizon try to call it, failed.
Traceback:
File "/usr/lib/
101. request.path_info)
File "/usr/lib/
252. sub_match = pattern.
File "/usr/lib/
252. sub_match = pattern.
File "/usr/lib/
158. return ResolverMatch(
File "/usr/lib/
164. self._callback = get_callable(
File "/usr/lib/
124. result = func(*args)
File "/usr/lib/
91. lookup_view = getattr(
File "/usr/lib/
35. __import__(name)
File "/root/
30. from glance.common import exception as glance_exception
File "/usr/lib/
57. class UnknownScheme(
File "/usr/lib/
59. msg = _("Unknown scheme '%s' found in URI")
Exception Type: NameError at /syspanel/images/
Exception Value: name '_' is not defined
Changed in glance: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Jay Pipes (jaypipes) |
milestone: | none → essex-1 |
Changed in glance: | |
assignee: | Jay Pipes (jaypipes) → Mike Lundy (novas0x2a) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-1 → 2012.1 |
https:/ /review. openstack. org/1423