internationalization bug in exceptions - missing import

Bug #887672 reported by Joseph Heck
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Glance
New
Undecided
Unassigned

Bug Description

On Nov 7, 2011, at 8:12 PM, DeadSun wrote:

I installed openstack-dashboard and input ip in web browse. Then it show

NameError at /
name '_' is not definedRequest Method: GET
Request URL: http://192.168.1.85/
Django Version: 1.3
Exception Type: NameError
Exception Value: name '_' is not defined
Exception Location: /usr/local/lib/python2.7/dist-packages/glance-2012.1-py2.7.egg/glance/common/exception.py in GlanceException, line 37
Python Executable: /usr/bin/python
Python Version: 2.7.2

I found line 37 in /usr/local/lib/python2.7/dist-packages/glance-2012.1-py2.7.egg/glance/common/exception.py

message = _("xxxxxxxxx")

It seems '_' is not imported, but I don't know which module I need to install.
--
非淡薄无以明志,非宁静无以致远

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.