[PKG-Openstack-devel] Bug#809575: horizon: FTBFS: ImportError: cannot import name importlib

Andreas Beckmann anbe at debian.org
Mon Jan 18 03:31:29 UTC 2016


Followup-For: Bug #809575

Hi,

I see probably the same problem causing the installation to fail
in piuparts:

  Setting up openstack-dashboard (2:8.0.0-3) ...
  Warning: Could not import Horizon dependencies. This is normal during installation.
  Traceback (most recent call last):
    File "/usr/share/openstack-dashboard/manage.py", line 25, in <module>
      execute_from_command_line(sys.argv)
    File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
      utility.execute()
    File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 302, in execute
      settings.INSTALLED_APPS
    File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 55, in __getattr__
      self._setup(name)
    File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 43, in _setup
      self._wrapped = Settings(settings_module)
    File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 99, in __init__
      mod = importlib.import_module(self.SETTINGS_MODULE)
    File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
      __import__(name)
    File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 332, in <module>
      from openstack_dashboard.utils import settings
    File "/usr/share/openstack-dashboard/openstack_dashboard/utils/settings.py", line 18, in <module>
      from django.utils import importlib
  ImportError: cannot import name importlib
  dpkg: error processing package openstack-dashboard (--configure):
   subprocess installed post-installation script returned error exit status 1


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openstack-proxy-node_0.13.log.gz
Type: application/gzip
Size: 95195 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160118/dbf95be6/attachment-0001.bin>


More information about the Openstack-devel mailing list