#9204 closed defect (cantfix)
KeyError: 'agilo/'
| Reported by: | dpetri | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.1 |
| Severity: | normal | Keywords: | |
| Cc: | support@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /dashboard, Trac issued an internal error.
(please provide additional details here)
User Agent was: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.18) Gecko/2010021501 Ubuntu/9.04 (jaunty) Firefox/3.0.18 GTB6
System Information
| Trac | 0.11.1
|
| Python | 2.5.2 (r252:60911, Jan 24 2010, 15:24:24) [GCC 4.3.2]
|
| setuptools | 0.6c8
|
| SQLite | 3.5.9
|
| pysqlite | 2.4.1
|
| Genshi | 0.5.1
|
| mod_python | 3.3.1
|
| Pygments | 0.10
|
| Agilo | 1.2.1-PRO
|
| Subversion | 1.5.1 (r32289)
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 219, in dispatch
data, content_type)
File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 715, in render_template
return stream.render(method, doctype=doctype)
File "/var/lib/python-support/python2.5/genshi/core.py", line 179, in render
return encode(generator, method=method, encoding=encoding, out=out)
File "/var/lib/python-support/python2.5/genshi/output.py", line 60, in encode
return _encode(u''.join(list(iterator)))
File "/var/lib/python-support/python2.5/genshi/output.py", line 311, in __call__
for kind, data, pos in stream:
File "/var/lib/python-support/python2.5/genshi/output.py", line 753, in __call__
for kind, data, pos in stream:
File "/var/lib/python-support/python2.5/genshi/output.py", line 592, in __call__
for kind, data, pos in stream:
File "/var/lib/python-support/python2.5/genshi/output.py", line 698, in __call__
for kind, data, pos in chain(stream, [(None, None, None)]):
File "/var/lib/python-support/python2.5/genshi/output.py", line 532, in __call__
for ev in stream:
File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
for event in stream:
File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
for event in stream:
File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 767, in _strip_accesskeys
for kind, data, pos in stream:
File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
for event in stream:
File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 756, in _generate
for kind, data, pos in stream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 569, in _include
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 298, in _match
ctxt, start=idx + 1, **vars):
File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 298, in _match
ctxt, start=idx + 1, **vars):
File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 245, in _match
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 543, in _exec
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 533, in _eval
for event in substream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 496, in _eval
for kind, data, pos in stream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 551, in _flatten
for event in stream:
File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
for event in stream:
File "/var/lib/python-support/python2.5/genshi/path.py", line 141, in _generate
subevent = stream.next()
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 569, in _include
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 245, in _match
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 234, in _strip
event = stream.next()
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 543, in _exec
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 533, in _eval
for event in substream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 496, in _eval
for kind, data, pos in stream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 551, in _flatten
for event in stream:
File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
for event in stream:
File "/var/lib/python-support/python2.5/genshi/path.py", line 141, in _generate
subevent = stream.next()
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 569, in _include
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 234, in _strip
event = stream.next()
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 543, in _exec
for event in stream:
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 520, in _eval
result = _eval_expr(data, ctxt, **vars)
File "/var/lib/python-support/python2.5/genshi/template/base.py", line 286, in _eval_expr
retval = expr.evaluate(ctxt)
File "/var/lib/python-support/python2.5/genshi/template/eval.py", line 180, in evaluate
return eval(self.code, _globals, {'__data__': data})
File "/opt/trac/SAGateway/.egg-cache/binary_agilo-1.2.1_PRO-py2.5.egg-tmp/agilo/scrum/backlog/templates/agilo_dashboard.html", line 18, in <Expression u'burndown.display()'>
${burndown.display()}
File "/usr/lib/python2.5/site-packages/binary_agilo-1.2.1_PRO-py2.5.egg/agilo/utils/widgets.py", line 92, in display
templateloader = TemplateLoader(self._get_all_widget_template_directories(),
File "/usr/lib/python2.5/site-packages/binary_agilo-1.2.1_PRO-py2.5.egg/agilo/scrum/charts.py", line 71, in _get_all_widget_template_directories
directories = super(ScrumFlotChartWidget, self)._get_all_widget_template_directories()
File "/usr/lib/python2.5/site-packages/binary_agilo-1.2.1_PRO-py2.5.egg/agilo/utils/widgets.py", line 85, in _get_all_widget_template_directories
template_directories = [resource_filename('agilo', '')] + trac_template_dirs
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 841, in resource_filename
self, resource_name
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1311, in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1322, in _extract_resource
zip_stat = self.zipinfo[zip_path]
KeyError: 'agilo/'
Attachments (0)
Change History (2)
follow-up: 2 comment:1 by , 16 years ago
| Cc: | added |
|---|---|
| Resolution: | → cantfix |
| Status: | new → closed |
comment:2 by , 16 years ago
Replying to cboos:
AgiloForScrum issue.
Thanks Christian :-)
To the reporter: this appear to be an issue of installation, as the egg is still in a zipped format, the best thing to do is to use easy_install when installing the Agilo plugin, and explicitly use the flag for decompression. This error might happen when the Agilo plugin is simply copied into the Trac project plugin folder. For more information please join the Agilo User Group and share there your issues :-)



AgiloForScrum issue.