abhilekhsingh / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

cannot install development version of GC3Pie #449

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Run `install.sh --target /tmp/gc3pie --develop`; everything runs fine
up to this point::

    Searching for requests>=1.1
    Reading http://pypi.python.org/simple/requests/
    Best match: requests 2.3.0
    Downloading https://pypi.python.org/packages/source/r/requests/requests-2.3.0.tar.gz#md5=7449ffdc8ec9ac37bbcd286003c80f00
    Processing requests-2.3.0.tar.gz
    Running requests-2.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CONNDn/requests-2.3.0/egg-dist-tmp-djwvaF
    Adding requests 2.3.0 to easy-install.pth file
    Traceback (most recent call last):
      File "setup.py", line 152, in <module>
        zip_safe = True,
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "build/bdist.linux-x86_64/egg/setuptools/command/develop.py", line 27, in run
      File "build/bdist.linux-x86_64/egg/setuptools/command/develop.py", line 105, in install_for_development
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 666, in process_distribution
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 632, in resolve
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 872, in best_match
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 884, in obtain
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 582, in easy_install
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 614, in install_item
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 643, in process_distribution
      File "build/bdist.linux-x86_64/egg/setuptools/command/develop.py", line 126, in install_egg_scripts
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 513, in install_egg_scripts
      File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 717, in install_wrapper_scripts
      File "/tmp/easy_install-EFp_bk/python-novaclient-2.15.0/pbr-0.10.0-py2.7.egg/pbr/packaging.py", line 512, in override_get_script_args
    AttributeError: 'NoneType' object has no attribute 'get_script_header'

Furthermore, the installation script does not detect the error and
just continues::

    Installing extra applications in /tmp/gc3pie ...
    ===============================
    Installation of GC3Pie is done!
    ===============================

    In order to work with GC3Pie you have to enable the virtual
    environment with the command:

        . /tmp/gc3pie/bin/activate

    You need to run the above command on every new shell you open before
    using GC3Pie commands, but just once per session.

    If the shell's prompt starts with '(gc3pie)' it means that the virtual
    environment has been enabled.

I'm not sure which package needs the `requests` library, but we
*really* should use `pip freeze` or another mechanism to pin down
"known good" dependency versions.

Original issue reported on code.google.com by riccardo.murri@gmail.com on 24 Jul 2014 at 3:47

GoogleCodeExporter commented 9 years ago
Cannot reproduce with current `install.sh` (SVN r4221) on Ubuntu 15.04.

Assuming issue is no longer current.

Original comment by riccardo.murri@gmail.com on 25 Jun 2015 at 8:37