[PKG-Openstack-devel] Bug#832338: Bug#832338: openstack-dashboard: fails to install: No template loaders defined.

Thomas Goirand zigo at debian.org
Mon Jul 25 13:26:12 UTC 2016


On 07/24/2016 02:13 PM, Andreas Beckmann wrote:
> Package: openstack-dashboard
> Version: 3:10.0.0~b2-1
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package failed to install. As
> per definition of the release team this makes the package too buggy for
> a release, thus the severity.
> 
>>From the attached log (scroll to the bottom...):
> 
> [...]
>   1917 static files copied to '/usr/share/openstack-dashboard/static'.
>   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 367, in execute_from_command_line
>       utility.execute()
>     File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 359, in execute
>       self.fetch_command(subcommand).run_from_argv(self.argv)
>     File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 305, in run_from_argv
>       self.execute(*args, **cmd_options)
>     File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 356, 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 (--configure):
>    subprocess installed post-installation script returned error exit status 1
>   Errors were encountered while processing:
>    openstack-dashboard
> 
> 
> cheers,
> 
> Andreas

FYI, this is a very well known issue which we're currently working on.
The problem is compatibility with Django 1.10. I already pushed many
patches to the Git in this regard, and also pushed them upstream. Though
this is still a work in progress.

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list