"python setup.py sdist" yields a bunch of useless errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
If you run "python setup.py sdist" from current trunk, you get:
ERROR: Python module babel.messages not found
ERROR: Python module fcgi not found
ERROR: Python module win32com.client not found
ERROR: Python module IPython not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module memcache not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module common not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module utils not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module fcgi not found
ERROR: Python module utils not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
ERROR: Python module boto_v6.
ERROR: Python module memcache not found
ERROR: Python module boto_v6.
ERROR: Python module common not found
ERROR: Python module qweb not found
ERROR: Python module IPython not found
ERROR: Python module common not found
ERROR: Python module qweb not found
ERROR: Python module common not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module XenAPI not found
ERROR: Python module fcgi not found
ERROR: Python module utils not found
ERROR: Python module XenAPI not found
ERROR: Python module babel.messages not found
ERROR: Python module memcache not found
ERROR: Python module win32com.client not found
ERROR: Python module utils not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
ERROR: Python module boto_v6.
WARNING: syntax errors in plugins/
ERROR: Python module boto_v6.
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module xenstore not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module XenAPI not found
ERROR: Python module win32com.client not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module xenstore not found
ERROR: Python module boto_v6.
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
ERROR: Python module utils not found
ERROR: Python module boto_v6.
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module xenstore not found
ERROR: Python module common not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
WARNING: syntax errors in dist/nova-
WARNING: syntax errors in dist/nova-
ERROR: Python module qweb not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
ERROR: Python module common not found
ERROR: Python module IPython not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
ERROR: Python module utils not found
ERROR: Python module win32console not found
ERROR: Python module pywintypes not found
ERROR: Python module win32console not found
[followed by all the usual, correct output from sdist]
Everything works great, but these errors are scary.
Also, see the following when running install.
# python setup.py install
/usr/lib/ python2. 6/dist- packages/ DistUtilsExtra/ auto.py: 316: DeprecationWarning: the sha module is deprecated; use the hashlib module instead _(module) .__file_ _
path = __import_
running install nova-debug' ]) python2. 6/dist- packages/ DistUtilsExtra/ auto.py" , line 96, in setup core.setup( **attrs) python2. 6/distutils/ core.py" , line 152, in setup run_commands( ) python2. 6/distutils/ dist.py" , line 975, in run_commands run_command( cmd) python2. 6/distutils/ dist.py" , line 995, in run_command python2. 6/dist- packages/ DistUtilsExtra/ auto.py" , line 673, in run dir_util. copy_tree( 'etc', os.path. join(self. root, 'etc'), python2. 6/posixpath. py", line 67, in join
Traceback (most recent call last):
File "setup.py", line 115, in <module>
'tools/
File "/usr/lib/
distutils.
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/usr/lib/
distutils.
File "/usr/lib/
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'