Paste #590850

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
root@controller.s2.scloud /usr/share/openstack-dashboard ; sh /usr/share/doc/python-django/examples/migrate-south --settings openstack_dashboard.settings
New python executable in /tmp/tmp.y33kPAZP0u/bin/python
Installing setuptools, pip...done.
Downloading/unpacking django==1.6.5
  Downloading Django-1.6.5-py2.py3-none-any.whl (6.7MB): 6.7MB downloaded
Installing collected packages: django
  Found existing installation: Django 1.8.7
    Not uninstalling Django at /usr/lib/python2.7/dist-packages, outside environment /tmp/tmp.y33kPAZP0u
Successfully installed django
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): south in /usr/local/lib/python2.7/dist-packages
Cleaning up...
Warning: Could not import Horizon dependencies. This is normal during installation.
Traceback (most recent call last):
  File "/usr/bin/django-admin", line 21, in <module>
    management.execute_from_command_line()
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/core/management/base.py", line 284, in execute
    self.validate()
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/core/management/base.py", line 310, in validate
    num_errors = get_validation_errors(s, app)
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/core/management/validation.py", line 34, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/db/models/loading.py", line 196, in get_app_errors
    self._populate()
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in _populate
    self.load_app(app_name)
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/db/models/loading.py", line 99, in load_app
    models = import_module('%s.models' % app_name)
  File "/tmp/tmp.y33kPAZP0u/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/compressor/models.py", line 1, in <module>
    from compressor.conf import CompressorConf  # noqa
  File "/usr/lib/python2.7/dist-packages/compressor/conf.py", line 5, in <module>
    from django.template.utils import InvalidTemplateEngineError
ImportError: No module named utils
root@controller.s2.scloud /usr/share/openstack-dashboard ;