yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19815
[Bug 1172774] Re: NameError: name '_' is not defined while running unit tests
** Changed in: nova
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1172774
Title:
NameError: name '_' is not defined while running unit tests
Status in OpenStack Compute (Nova):
Invalid
Bug description:
when running nosetests -v against master of nova I get this error:
15:19:49 Traceback (most recent call last):
15:19:49 File "/usr/lib64/python2.6/site-packages/nose/loader.py", line 413, in loadTestsFromName
15:19:49 addr.filename, addr.module)
15:19:49 File "/usr/lib64/python2.6/site-packages/nose/importer.py", line 47, in importFromPath
15:19:49 return self.importFromDir(dir_path, fqname)
15:19:49 File "/usr/lib64/python2.6/site-packages/nose/importer.py", line 94, in importFromDir
15:19:49 mod = load_module(part_fqname, fh, filename, desc)
15:19:49 File "/var/lib/openstack-nova-test/nova/conductor/__init__.py", line 17, in <module>
15:19:49 from nova.conductor import api as conductor_api
15:19:49 File "/var/lib/openstack-nova-test/nova/conductor/api.py", line 19, in <module>
15:19:49 from nova.conductor import manager
15:19:49 File "/var/lib/openstack-nova-test/nova/conductor/manager.py", line 17, in <module>
15:19:49 from nova.api.ec2 import ec2utils
15:19:49 File "/var/lib/openstack-nova-test/nova/api/ec2/__init__.py", line 31, in <module>
15:19:49 from nova.api.ec2 import apirequest
15:19:49 File "/var/lib/openstack-nova-test/nova/api/ec2/apirequest.py", line 27, in <module>
15:19:49 from nova.api.ec2 import ec2utils
15:19:49 File "/var/lib/openstack-nova-test/nova/api/ec2/ec2utils.py", line 22, in <module>
15:19:49 from nova import availability_zones
15:19:49 File "/var/lib/openstack-nova-test/nova/availability_zones.py", line 20, in <module>
15:19:49 from nova import db
15:19:49 File "/var/lib/openstack-nova-test/nova/db/__init__.py", line 23, in <module>
15:19:49 from nova.db.api import *
15:19:49 File "/var/lib/openstack-nova-test/nova/db/api.py", line 48, in <module>
15:19:49 from nova.cells import rpcapi as cells_rpcapi
15:19:49 File "/var/lib/openstack-nova-test/nova/cells/rpcapi.py", line 27, in <module>
15:19:49 from nova import exception
15:19:49 File "/var/lib/openstack-nova-test/nova/exception.py", line 123, in <module>
15:19:49 class NovaException(Exception):
15:19:49 File "/var/lib/openstack-nova-test/nova/exception.py", line 131, in NovaException
15:19:49 message = _("An unknown exception occurred.")
15:19:49 NameError: name '_' is not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1172774/+subscriptions