Dashboard install fails on Ubuntu 12.04

Bug #1025168 reported by ryan zhang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Gabriel Hurley

Bug Description

I followed the dashboard installation instructions and am getting the following error when running:

$ sudo python tools/install_venv.py

Checking dependencies...
dependency check done.
Creating venv... done.
Installing pip in virtualenv...
Traceback (most recent call last):
  File "tools/install_venv.py", line 156, in <module>
    main()
  File "tools/install_venv.py", line 150, in main
    create_virtualenv()
  File "tools/install_venv.py", line 105, in create_virtualenv
    if not run_command([WITH_VENV, 'easy_install', 'pip']).strip():
  File "tools/install_venv.py", line 55, in run_command
    proc = subprocess.Popen(cmd, cwd=cwd, stdout=stdout)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 8] Exec format error

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

This is not a problem for any of the other Horizon devs (almost all of whom are using ubuntu 12.04 or 11.10), so that means there's something going on with your installation in particular.

Googling for "python exec format error" turns up a variety of things you might examine to see if they apply to your case.

Report back if you find out any more information about what's going on.

Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
status: New → Incomplete
Revision history for this message
Geronimo Orozco (gorozco) wrote :

virtualenv is now using distribute instead of setuptools

use this:

export VIRTUALENV_DISTRIBUTE=true

Propossed patch:

$ cd horizon/
$ patch -p0 run_tests.sh < run_tests.patch

Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

Marking as invalid as it has not been confirmed in nearly two years, nor is it likely to be a bug given the large numbers of developers using this same configuration.

Changed in horizon:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.