← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1452232] [NEW] "NameError: global name '_' is not defined" on keystone authorization error

 

Public bug reported:

If there is a keystone authorization error at login time Horizon reaches
the error screen and

  File "/usr/lib/python2.7/site-packages/openstack_auth/plugin/base.py", line 95, in list_projects
 msg = _('Unable to retrieve authorized projects.')
 NameError: global name '_' is not defined

is displayed in the error log. It seems we missed an import

** Affects: horizon
     Importance: Undecided
     Assignee: Doug Fish (drfish)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Doug Fish (drfish)

-- 
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/1452232

Title:
  "NameError: global name '_' is not defined" on keystone authorization
  error

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If there is a keystone authorization error at login time Horizon
  reaches the error screen and

    File "/usr/lib/python2.7/site-packages/openstack_auth/plugin/base.py", line 95, in list_projects
   msg = _('Unable to retrieve authorized projects.')
   NameError: global name '_' is not defined

  is displayed in the error log. It seems we missed an import

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1452232/+subscriptions


Follow ups

References