← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1512888] Re: global name '_' is not defined

 

This bug has resolved at: https://github.com/openstack/django_openstack_auth/commit/8aa02932c3efff3a2f17db474d0f024dbfc38bda
Update your version of openstack_auth.

** Changed in: horizon
       Status: New => Incomplete

** Changed in: horizon
       Status: Incomplete => Fix Released

** Project changed: horizon => django-openstack-auth

-- 
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 django-openstack-auth:
  Fix Released

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/django-openstack-auth/+bug/1512888/+subscriptions


References