<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:????
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:????
}
--></style>
<div dir="ltr">I am using the command ./run_tests.sh -V to run the glance Unittests on both my RHEL and Ubuntu.<br><br>And got the same error:<br>ERROR: glance.tests.unit.test_wsgi.TestHelpers.test_headers_are_unicode<br>----------------------------------------------------------------------<br>_StringException: Traceback (most recent call last):<br> File "/home/MyWorks/OpenStack/glance/glance/tests/utils.py", line 60, in setUp<br> config.parse_args(args=[])<br> File "/home/MyWorks/OpenStack/glance/glance/common/config.py", line 77, in parse_args<br> version=version.cached_version_string(),<br> File "/home/MyWorks/OpenStack/glance/glance/openstack/common/version.py", line 65, in cached_version_string<br> self.version_string())<br> File "/home/MyWorks/OpenStack/glance/glance/openstack/common/version.py", line 48, in version_string<br> self.version = self._get_version_from_pkg_resources()<br> File "/home/MyWorks/OpenStack/glance/glance/openstack/common/version.py", line 40, in _get_version_from_pkg_resources<br> provider = pkg_resources.get_provider(requirement)<br> File "/home/MyWorks/OpenStack/glance/.venv/lib/python2.6/site-packages/pkg_resources.py", line 215, in get_provider<br> return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]<br> File "/home/MyWorks/OpenStack/glance/.venv/lib/python2.6/site-packages/pkg_resources.py", line 696, in require<br> needed = self.resolve(parse_requirements(requirements))<br> File "/home/MyWorks/OpenStack/glance/.venv/lib/python2.6/site-packages/pkg_resources.py", line 594, in resolve<br> raise DistributionNotFound(req)<br>DistributionNotFound: glance<br><br><br>Anybody know what's wrong with this?</div>
</div></body>
</html>