[PKG-Openstack-devel] Bug#840638: python-designate-dashboard: Application labels aren't unique, duplicates: designatedashboard

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


Package: python-designate-dashboard
Version: 3.0.0-2
Severity: important

  ----- s n i p -----
  Setting up openstack-dashboard (3:10.0.0-1) ...
  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 341, in execute
      django.setup()
    File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
      apps.populate(settings.INSTALLED_APPS)
    File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 89, in populate
      "duplicates: %s" % app_config.label)
  django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: designatedashboard
  dpkg: error processing package openstack-dashboard (--configure):
   subprocess installed post-installation script returned error exit status 1
  ----- s n i p -----

Reason I reported it against "python-designate-dashboard":

  ----- s n i p -----
  # rgrep designatedashboard /usr/share/openstack-dashboard/
  Binary file /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1720_project_dns_panel.pyc matches
  Binary file /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.pyc matches
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.py:from designatedashboard import exceptions
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.py:ADD_INSTALLED_APPS = ['designatedashboard']
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.py:    'designatedashboard.dashboards.project.ngdns.zones.panel.Zones')
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.py:ADD_ANGULAR_MODULES = ['designatedashboard']
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.py:ADD_SCSS_FILES = ['designatedashboard/designatedashboard.scss']
  Binary file /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1722_dns_reversedns_panel.pyc matches
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1720_project_dns_panel.py:from designatedashboard import exceptions
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1720_project_dns_panel.py:ADD_INSTALLED_APPS = ['designatedashboard']
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1720_project_dns_panel.py:    'designatedashboard.dashboards.project.dns_domains.panel.DNSDomains')
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1722_dns_reversedns_panel.py:from designatedashboard import exceptions
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1722_dns_reversedns_panel.py:    'designatedashboard.dashboards.project.ngdns.reverse_dns.panel.ReverseDns')
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1722_dns_reversedns_panel.py:ADD_ANGULAR_MODULES = ['designatedashboard']
  /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1722_dns_reversedns_panel.py:ADD_SCSS_FILES = ['designatedashboard/designatedashboard.scss']
  # dpkg -S /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1720_project_dns_panel.py /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1722_dns_reversedns_panel.py
  python-designate-dashboard: /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1721_dns_zones_panel.py
  python-designate-dashboard: /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1720_project_dns_panel.py
  python-designate-dashboard: /usr/share/openstack-dashboard/openstack_dashboard/enabled/_1722_dns_reversedns_panel.py
  ----- s n i p -----

Removing the .pyc files and the first two files (_1721_dns_zones_panel.py and _1720_project_dns_panel.py)
n the match gets around this, but then I'm instead getting:

  ----- s n i p -----
  CommandError: An error occurred during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: Couldn't find anything to import: /designatedashboard/designatedashboard.scss
  Extensions: <NamespaceAdapterExtension>, <DjangoExtension>, <CompassExtension>
  Search path:

  on line 1 of u'string:3129d60a5b802231:\n    // My Themes\n at import "/themes/default/variables";\n\n// Horizon\n at import "/dashboard/scss/horizon.'
  ----- s n i p -----


Keeping "_1720_project_dns_panel.py" (but removing "_1721_dns_zones_panel.py" and
"_1722_dns_reversedns_panel.py") at least makes dpkg continue without error.

Am having problem with the Keystone packages (bug reported an hour ago), so can't check
if that actually works..

-- 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 python-designate-dashboard depends on:
ih  openstack-dashboard     3:10.0.0-1
ii  python-babel            2.3.4+dfsg.1-2
ii  python-designateclient  2.3.0-2
ii  python-pbr              1.10.0-1
ii  python-pkg-resources    28.0.0-1
pn  python:any              <none>

python-designate-dashboard recommends no packages.

python-designate-dashboard suggests no packages.

-- no debconf information



More information about the Openstack-devel mailing list