"python setup.py sdist" yields a bunch of useless errors

Bug #744814 reported by Soren Hansen on 2011-03-29
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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.ec2.connection not found
ERROR: Python module memcache not found
ERROR: Python module boto_v6.ec2.instance not found
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.ec2.instance not found
WARNING: syntax errors in plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py: invalid syntax (vif_rules.py, line 55)
ERROR: Python module boto_v6.ec2.connection not found
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.ec2.connection not found
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.ec2.instance not found
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-2011.2/plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py: invalid syntax (vif_rules.py, line 55)
WARNING: syntax errors in dist/nova-2011.2-/plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py: invalid syntax (vif_rules.py, line 55)
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.

Margaret Petrus (mpetrus) wrote :

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
  path = __import__(module).__file__

running install
Traceback (most recent call last):
  File "setup.py", line 115, in <module>
    'tools/nova-debug'])
  File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 96, in setup
    distutils.core.setup(**attrs)
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 673, in run
    distutils.dir_util.copy_tree('etc', os.path.join(self.root, 'etc'),
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Edward Pacheco (edwardspc) wrote :

I have a similar error when trying install nova. I am using ubuntu 10.04.

root@jaku:~/openstack/nova-2011.2# python setup.py install
ERROR: Python module utils not found
ERROR: Python module utils not found
ERROR: Python module boto_v6.ec2.instance not found
ERROR: Python module XenAPIPlugin not found
ERROR: Python module pluginlib_nova not found
WARNING: syntax errors in plugins/xenserver/networking/etc/xensource/scripts/vif_rules.py : invalid syntax (line 55)
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
/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py:316: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  path = __import__(module).__file__
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 XenAPI not found
running install
Traceback (most recent call last):
  File "setup.py", line 131, in <module>
    'tools/nova-debug'])
  File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 96, in setup
    distutils.core.setup(**attrs)
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 673, in run
    distutils.dir_util.copy_tree('etc', os.path.join(self.root, 'etc'),
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers