yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40740
[Bug 1512888] [NEW] global name '_' is not defined
Public bug reported:
When logging into the dashboard for the first time, sometimes I see an
error (attached)
Error message:
global name '_' is not defined at /openstack_auth/plugin/base.py in list_projects, line 95
Source code line:
msg = _('Unable to retrieve authorized projects.')
Fix:
Add following import:
from django.utils.translation import ugettext_lazy as _
** Affects: horizon
Importance: Undecided
Status: New
** Attachment added: "Screen Shot 2015-11-03 at 2.27.09 PM.png"
https://bugs.launchpad.net/bugs/1512888/+attachment/4512367/+files/Screen%20Shot%202015-11-03%20at%202.27.09%20PM.png
--
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/1512888
Title:
global name '_' is not defined
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When logging into the dashboard for the first time, sometimes I see an
error (attached)
Error message:
global name '_' is not defined at /openstack_auth/plugin/base.py in list_projects, line 95
Source code line:
msg = _('Unable to retrieve authorized projects.')
Fix:
Add following import:
from django.utils.translation import ugettext_lazy as _
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1512888/+subscriptions
Follow ups