[PKG-Openstack-devel] Bug#822907: openstack-dashboard: fails to upgrade from 'jessie': ValueError: Unable to configure handler 'null': Cannot resolve 'django.utils.log.NullHandler': No module named NullHandler

Andreas Beckmann anbe at debian.org
Thu Apr 28 20:21:42 UTC 2016


Package: openstack-dashboard
Version: 2:9.0.0-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' fails.

>From the attached log (scroll to the bottom...):

  Setting up openstack-dashboard (2:9.0.0-2) ...
  WARNING:root:"dashboards" and "default_dashboard" in (local_)settings is DEPRECATED now and may be unsupported in some future release. The preferred way to specify the order of dashboards and the default dashboard is the pluggable dashboard mechanism (in /usr/share/openstack-dashboard/openstack_dashboard/enabled, /usr/share/openstack-dashboard/openstack_dashboard/local/enabled).
  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 327, in execute
      django.setup()
    File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 17, in setup
      configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
    File "/usr/lib/python2.7/dist-packages/django/utils/log.py", line 71, in configure_logging
      logging_config_func(logging_settings)
    File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
      dictConfigClass(config).configure()
    File "/usr/lib/python2.7/logging/config.py", line 576, in configure
      '%r: %s' % (name, e))
  ValueError: Unable to configure handler 'null': Cannot resolve 'django.utils.log.NullHandler': No module named NullHandler
  dpkg: error processing package openstack-dashboard (--configure):
   subprocess installed post-installation script returned error exit status 1


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openstack-dashboard_2:9.0.0-2.log.gz
Type: application/gzip
Size: 66731 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160428/d04254d3/attachment-0001.bin>


More information about the Openstack-devel mailing list