← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1022393] Re: Could not find required distribution Django>=1.4

 

** Changed in: anvil
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1022393

Title:
  Could not find required distribution Django>=1.4

Status in Anvil to forge OpenStack:
  Fix Released

Bug description:
  I am following the directions on
  http://anvil.readthedocs.org/en/latest/topics/gettingstarted.html
  using Ubuntu Server 12.04 in VirtualBox.

  1) I created a user named "horizon" and added it to a group named "admin".  
  2) I installed git and cloned the latest in the repository.  
  3) I ran "warmups/ubuntu.sh"
  4) I updated "conf/anvil.ini" so that "apache_user" uses the "horizon" user

  While running "sudo ./smithy -a install -d ~/openstack" I got the
  following error:

  ProcessExecutionError: Unexpected error while running command.
  Command: python setup.py develop
  Exit code: 1
  Stdout: "running develop\nChecking .pth file support in /usr/local/lib/python2.7/dist-packages/\n/usr/bin/python -E -c pass\nTEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files\nrunning egg_info\ncreating horizon.egg-info\nwriting requirements to horizon.egg-info/requires.txt\nwriting horizon.egg-info/PKG-INFO\nwriting top-level names to horizon.egg-info/top_level.txt\nwriting dependency_links to horizon.egg-info/dependency_links.txt\nwriting manifest file 'horizon.egg-info/SOURCES.txt'\nreading manifest file 'horizon.egg-info/SOURCES.txt'\nreading manifest template 'MANIFEST.in'\nwriting manifest file 'horizon.egg-info/SOURCES.txt'\nrunning build_ext\nCreating /usr/local/lib/python2.7/dist-packages/horizon.egg-link (link to .)\nAdding horizon 2012.2 to easy-install.pth file\n\nInstalled /home/jerome/openstack/horizon/app\nProcessing dependencies for horizon==2012.2\nSearching for pytz\nReading http://pypi.python.org/simple/pytz/\nReading http://pytz.sourceforge.net\nReading http://sourceforge.net/project/showfiles.php?group_id=79122\nReading http://www.stuartbishop.net/Software/pytz\nReading http://sourceforge.net/projects/pytz/\nBest match: pytz 2012c\nDownloading http://pypi.python.org/packages/2.7/p/pytz/pytz-2012c-py2.7.egg#md5=e037dd5bf3d6b8718ac2f727ff3be06a\nProcessing pytz-2012c-py2.7.egg\ncreating /usr/local/lib/python2.7/dist-packages/pytz-2012c-py2.7.egg\nExtracting pytz-2012c-py2.7.egg to /usr/local/lib/python2.7/dist-packages\nAdding pytz 2012c to easy-install.pth file\n\nInstalled /usr/local/lib/python2.7/dist-packages/pytz-2012c-py2.7.egg\nSearching for python-cloudfiles\nReading http://pypi.python.org/simple/python-cloudfiles/\nReading https://github.com/rackspace/python-cloudfiles\nBest match: python-cloudfiles 1.7.10\nDownloading http://pypi.python.org/packages/source/p/python-cloudfiles/python-cloudfiles-1.7.10.tar.gz#md5=aea0f1a10bdc280aa05e1be0255ce7a9\nProcessing python-cloudfiles-1.7.10.tar.gz\nRunning python-cloudfiles-1.7.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1PHMXE/python-cloudfiles-1.7.10/egg-dist-tmp-zd14ll\nAdding python-cloudfiles 1.7.10 to easy-install.pth file\n\nInstalled /usr/local/lib/python2.7/dist-packages/python_cloudfiles-1.7.10-py2.7.egg\nSearching for django-compressor\nReading http://pypi.python.org/simple/django_compressor/\nReading http://django_compressor.readthedocs.org/\nReading http://github.com/mintchaos/django_compressor\nBest match: django-compressor 1.1.2\nDownloading http://pypi.python.org/packages/source/d/django_compressor/django_compressor-1.1.2.tar.gz#md5=f274e29a7cf10f1e5435d886e7758d5c\nProcessing django_compressor-1.1.2.tar.gz\nRunning django_compressor-1.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fj0Skd/django_compressor-1.1.2/egg-dist-tmp-ge5DDK\nChecking .pth file support in .\n/usr/bin/python -E -c pass\nSearching for versiontools>=1.8.2\nReading http://pypi.python.org/simple/versiontools/\nReading https://launchpad.net/versiontools\nBest match: versiontools 1.9.1\nDownloading http://pypi.python.org/packages/source/v/versiontools/versiontools-1.9.1.tar.gz#md5=602b7db8eea30dd29a1d451997adf251\nProcessing versiontools-1.9.1.tar.gz\nRunning versiontools-1.9.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fj0Skd/django_compressor-1.1.2/temp/easy_install-RF1T6o/versiontools-1.9.1/egg-dist-tmp-XEl4Mt\n\nInstalled /tmp/easy_install-fj0Skd/django_compressor-1.1.2/versiontools-1.9.1-py2.7.egg\nAdding django-compressor 1.1.2 to easy-install.pth file\n\nInstalled /usr/local/lib/python2.7/dist-packages/django_compressor-1.1.2-py2.7.egg\nSearching for Django>=1.4\nReading http://pypi.python.org/simple/Django/\nReading http://www.djangoproject.com/\nBest match: Django 1.4\nDownloading https://www.djangoproject.com/m/releases/1.4/Django-1.4.tar.gz\nProcessing Django-1.4.tar.gz\nRunning Django-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-9sgwUa/Django-1.4/egg-dist-tmp-Vj06xz\nAdding Django 1.3.1 to easy-install.pth file\nInstalling django-admin.py script to /usr/local/bin\n\nInstalled /usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg\n"
  Stderr: "Warning: Could not import Horizon dependencies. This is normal during installation.\nwarning: no files found matching 'AUTHORS'\nwarning: no files found matching 'ChangeLog'\nwarning: no previously-included files found matching 'python_cloudfiles.egg-info'\nzip_safe flag not set; analyzing archive contents...\ndjango.test._doctest: module references __file__\ndjango.test._doctest: module MAY be using inspect.getsourcefile\ndjango.core.servers.basehttp: module references __path__\ndjango.core.management.templates: module references __path__\ndjango.core.management.sql: module references __file__\ndjango.core.management.__init__: module references __file__\ndjango.core.management.__init__: module references __path__\ndjango.core.management.commands.loaddata: module references __file__\ndjango.core.management.commands.loaddata: module references __path__\ndjango.core.management.commands.makemessages: module references __file__\ndjango.contrib.auth.tests.context_processors: module references __file__\ndjango.contrib.auth.tests.forms: module references __file__\ndjango.contrib.auth.tests.views: module references __file__\ndjango.contrib.sitemaps.tests.base: module references __file__\ndjango.contrib.staticfiles.storage: module references __file__\ndjango.contrib.gis.geometry.test_data: module references __file__\ndjango.contrib.gis.tests.geogapp.tests: module references __file__\ndjango.contrib.gis.tests.layermap.tests: module references __file__\ndjango.contrib.gis.tests.geo3d.tests: module references __file__\ndjango.contrib.admindocs.views: module references __file__\ndjango.contrib.formtools.tests.__init__: module references __file__\ndjango.contrib.formtools.tests.wizard.wizardtests.tests: module references __file__\ndjango.contrib.formtools.tests.wizard.namedwizardtests.tests: module references __file__\ndjango.contrib.flatpages.tests.views: module references __file__\ndjango.contrib.flatpages.tests.middleware: module references __file__\ndjango.contrib.flatpages.tests.templatetags: module references __file__\ndjango.contrib.flatpages.tests.csrf: module references __file__\ndjango.db.utils: module references __file__\ndjango.db.models.loading: module references __file__\ndjango.views.i18n: module references __file__\ndjango.utils.module_loading: module references __path__\ndjango.utils.version: module references __path__\ndjango.utils.autoreload: module references __file__\ndjango.utils.translation.trans_real: module references __file__\ndjango.utils.translation.__init__: module references __file__\ndjango.utils.unittest.loader: module references __file__\ndjango.utils.unittest.collector: module references __file__\ndjango.template.loaders.app_directories: module references __file__\nerror: Could not find required distribution Django>=1.4\n"

  Any help is appreciated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1022393/+subscriptions