[PKG-Openstack-devel] openstack-dashboard-apache: Error: No template loaders defined.

Turbo Fredriksson turbo at bayour.com
Thu Oct 13 12:55:50 UTC 2016

Package: openstack-dashboard-apache
Version: 3:10.0.0-1
Severity: important

 ----- s n i p -----
 Copying '/usr/lib/python2.7/dist-packages/horizon/static/horizon/lib/jquery/jquery.bootstrap.wizard.js'
 Found another file with the destination path 'horizon/lib/jquery/jquery.min.js'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.

 1873 static files copied to '/usr/share/openstack-dashboard/static'.
 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>
   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 359, in execute
   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 294, in run_from_argv
     self.execute(*args, **cmd_options)
   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 345, in execute
     output = self.handle(*args, **options)
   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 286, in handle
     self.compress(sys.stdout, **options)
   File "/usr/lib/python2.7/dist-packages/compressor/management/commands/compress.py", line 110, in compress
     raise OfflineGenerationError("No template loaders defined. You "
 compressor.exceptions.OfflineGenerationError: No template loaders defined. You must set TEMPLATE_LOADERS in your settings or set 'loaders' in your TEMPLATES dictionary.
 dpkg: error processing package openstack-dashboard-apache (--configure):
  subprocess installed post-installation script returned error exit status 1
 Errors were encountered while processing:
 ----- s n i p -----

-- System Information:
Debian Release: stretch/sid
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openstack-dashboard-apache depends on:
ii  apache2                2.4.23-5
ii  debconf [debconf-2.0]  1.5.59
ii  libapache2-mod-wsgi    4.5.7-1
pn  openstack-dashboard    <none>

openstack-dashboard-apache recommends no packages.

openstack-dashboard-apache suggests no packages.

-- debconf information excluded

More information about the Openstack-devel mailing list