← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350195] Re: TestDashboardBasicOps.test_basic_scenario fails with "KeyError: .btn'>, )>, )>, 0 props>"

 

This error is coming from the scss compiler and is likely due to an error in one of horizon's scss files. The scss files have undergone
a number changes since this bug was reported. Closing this bug since it is no longer occuring. Please reopen if it happens again.

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1350195

Title:
  TestDashboardBasicOps.test_basic_scenario fails with "KeyError:
  .btn'>,)>,)>, 0 props>"

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  http://logs.openstack.org/56/94556/15/check/check-tempest-dsvm-
  full/fa2d731/console.html

  http://logs.openstack.org/56/94556/15/check/check-tempest-dsvm-
  full/fa2d731/logs/horizon_error.txt.gz

  [Wed Jul 30 00:22:45.269512 2014] [:error] [pid 22945:tid 140269069489920] WARNING:py.warnings:RuntimeWarning: Scanning acceleration disabled (_speedups not found)!
  [Wed Jul 30 00:22:49.444192 2014] [:error] [pid 22945:tid 140269069489920] Internal Server Error: /
  [Wed Jul 30 00:22:49.444263 2014] [:error] [pid 22945:tid 140269069489920] Traceback (most recent call last):
  [Wed Jul 30 00:22:49.444393 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
  [Wed Jul 30 00:22:49.444508 2014] [:error] [pid 22945:tid 140269069489920]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  [Wed Jul 30 00:22:49.444541 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/vary.py", line 36, in inner_func
  [Wed Jul 30 00:22:49.444634 2014] [:error] [pid 22945:tid 140269069489920]     response = func(*args, **kwargs)
  [Wed Jul 30 00:22:49.444646 2014] [:error] [pid 22945:tid 140269069489920]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/views.py", line 45, in splash
  [Wed Jul 30 00:22:49.444758 2014] [:error] [pid 22945:tid 140269069489920]     return shortcuts.render(request, 'splash.html', {'form': form})
  [Wed Jul 30 00:22:49.444788 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 53, in render
  [Wed Jul 30 00:22:49.445016 2014] [:error] [pid 22945:tid 140269069489920]     return HttpResponse(loader.render_to_string(*args, **kwargs),
  [Wed Jul 30 00:22:49.445114 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 169, in render_to_string
  [Wed Jul 30 00:22:49.445206 2014] [:error] [pid 22945:tid 140269069489920]     return t.render(context_instance)
  [Wed Jul 30 00:22:49.445218 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
  [Wed Jul 30 00:22:49.445225 2014] [:error] [pid 22945:tid 140269069489920]     return self._render(context)
  [Wed Jul 30 00:22:49.445397 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
  [Wed Jul 30 00:22:49.445409 2014] [:error] [pid 22945:tid 140269069489920]     return self.nodelist.render(context)
  [Wed Jul 30 00:22:49.445414 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
  [Wed Jul 30 00:22:49.445509 2014] [:error] [pid 22945:tid 140269069489920]     bit = self.render_node(node, context)
  [Wed Jul 30 00:22:49.445519 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
  [Wed Jul 30 00:22:49.445650 2014] [:error] [pid 22945:tid 140269069489920]     return node.render(context)
  [Wed Jul 30 00:22:49.445659 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 155, in render
  [Wed Jul 30 00:22:49.445870 2014] [:error] [pid 22945:tid 140269069489920]     return self.render_template(self.template, context)
  [Wed Jul 30 00:22:49.445886 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 137, in render_template
  [Wed Jul 30 00:22:49.445893 2014] [:error] [pid 22945:tid 140269069489920]     output = template.render(context)
  [Wed Jul 30 00:22:49.446077 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
  [Wed Jul 30 00:22:49.446087 2014] [:error] [pid 22945:tid 140269069489920]     return self._render(context)
  [Wed Jul 30 00:22:49.446095 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
  [Wed Jul 30 00:22:49.446218 2014] [:error] [pid 22945:tid 140269069489920]     return self.nodelist.render(context)
  [Wed Jul 30 00:22:49.446481 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
  [Wed Jul 30 00:22:49.446491 2014] [:error] [pid 22945:tid 140269069489920]     bit = self.render_node(node, context)
  [Wed Jul 30 00:22:49.446535 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
  [Wed Jul 30 00:22:49.446590 2014] [:error] [pid 22945:tid 140269069489920]     return node.render(context)
  [Wed Jul 30 00:22:49.446639 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 149, in render
  [Wed Jul 30 00:22:49.446676 2014] [:error] [pid 22945:tid 140269069489920]     return self.render_compressed(context, self.kind, self.mode, forced=forced)
  [Wed Jul 30 00:22:49.446752 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 108, in render_compressed
  [Wed Jul 30 00:22:49.446833 2014] [:error] [pid 22945:tid 140269069489920]     rendered_output = self.render_output(compressor, mode, forced=forced)
  [Wed Jul 30 00:22:49.446896 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 121, in render_output
  [Wed Jul 30 00:22:49.446992 2014] [:error] [pid 22945:tid 140269069489920]     return compressor.output(mode, forced=forced)
  [Wed Jul 30 00:22:49.447056 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/css.py", line 51, in output
  [Wed Jul 30 00:22:49.447157 2014] [:error] [pid 22945:tid 140269069489920]     ret.append(subnode.output(*args, **kwargs))
  [Wed Jul 30 00:22:49.447289 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/css.py", line 53, in output
  [Wed Jul 30 00:22:49.447300 2014] [:error] [pid 22945:tid 140269069489920]     return super(CssCompressor, self).output(*args, **kwargs)
  [Wed Jul 30 00:22:49.447496 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 285, in output
  [Wed Jul 30 00:22:49.447595 2014] [:error] [pid 22945:tid 140269069489920]     output = '\\n'.join(self.filter_input(forced))
  [Wed Jul 30 00:22:49.447605 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 224, in filter_input
  [Wed Jul 30 00:22:49.447613 2014] [:error] [pid 22945:tid 140269069489920]     for hunk in self.hunks(forced):
  [Wed Jul 30 00:22:49.447619 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 200, in hunks
  [Wed Jul 30 00:22:49.447627 2014] [:error] [pid 22945:tid 140269069489920]     precompiled, value = self.precompile(value, **options)
  [Wed Jul 30 00:22:49.447662 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/compressor/base.py", line 264, in precompile
  [Wed Jul 30 00:22:49.447673 2014] [:error] [pid 22945:tid 140269069489920]     return True, filter.input(**kwargs)
  [Wed Jul 30 00:22:49.447680 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django_pyscss/compressor.py", line 30, in input
  [Wed Jul 30 00:22:49.447687 2014] [:error] [pid 22945:tid 140269069489920]     relative_to=self.relative_to)
  [Wed Jul 30 00:22:49.447692 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/scss/__init__.py", line 438, in compile
  [Wed Jul 30 00:22:49.447910 2014] [:error] [pid 22945:tid 140269069489920]     return self.Compilation(*args, **kwargs)
  [Wed Jul 30 00:22:49.447992 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/django_pyscss/scss.py", line 188, in Compilation
  [Wed Jul 30 00:22:49.448030 2014] [:error] [pid 22945:tid 140269069489920]     self.apply_extends()
  [Wed Jul 30 00:22:49.448040 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/scss/util.py", line 111, in wrapper
  [Wed Jul 30 00:22:49.448070 2014] [:error] [pid 22945:tid 140269069489920]     return func(*args, **kwargs)
  [Wed Jul 30 00:22:49.448085 2014] [:error] [pid 22945:tid 140269069489920]   File "/usr/local/lib/python2.7/dist-packages/scss/__init__.py", line 1396, in apply_extends
  [Wed Jul 30 00:22:49.448092 2014] [:error] [pid 22945:tid 140269069489920]     rule_dependencies[parent_rule].append(rule_order[rule])
  [Wed Jul 30 00:22:49.448448 2014] [:error] [pid 22945:tid 140269069489920] KeyError:  .btn'>,)>,)>, 0 props>

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1350195/+subscriptions


References