#8483 closed defect (wontfix)
UndefinedError: "dateinfo_delta" not defined
Reported by: | janez | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.4 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /roadmap
, Trac issued an internal error.
(please provide additional details here)
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/531.3 (KHTML, like Gecko) Chrome/3.0.193.0 Safari/531.3
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/531.3 (KHTML, like Gecko) Chrome/3.0.193.0 Safari/531.3
System Information
Trac | 0.11.4
|
Python | 2.6.2 (release26-maint, Apr 19 2009, 02:11:59) [GCC 4.3.3]
|
setuptools | 0.6c9
|
SQLite | 3.6.10
|
pysqlite | 2.5.0
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Subversion | 1.5.4 (r33841)
|
jQuery: | 1.2.6
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.4-py2.6.egg/trac/web/main.py", line 435, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.4-py2.6.egg/trac/web/main.py", line 227, in dispatch data, content_type) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.4-py2.6.egg/trac/web/chrome.py", line 743, in render_template stream.render(method, doctype=doctype, out=buffer) File "build/bdist.linux-i686/egg/genshi/core.py", line 179, in render return encode(generator, method=method, encoding=encoding, out=out) File "build/bdist.linux-i686/egg/genshi/output.py", line 61, in encode for chunk in iterator: File "build/bdist.linux-i686/egg/genshi/output.py", line 311, in __call__ for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/output.py", line 753, in __call__ for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/output.py", line 592, in __call__ for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/output.py", line 698, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "build/bdist.linux-i686/egg/genshi/output.py", line 532, in __call__ for ev in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure for event in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure for event in stream: File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.4-py2.6.egg/trac/web/chrome.py", line 809, in _strip_accesskeys for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure for event in stream: File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.4-py2.6.egg/trac/web/chrome.py", line 798, in _generate for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 569, in _include for event in stream: File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 298, in _match ctxt, start=idx + 1, **vars): File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 298, in _match ctxt, start=idx + 1, **vars): File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 245, in _match for event in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 543, in _exec for event in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 533, in _eval for event in substream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 496, in _eval for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 551, in _flatten for event in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure for event in stream: File "build/bdist.linux-i686/egg/genshi/path.py", line 141, in _generate subevent = stream.next() File "build/bdist.linux-i686/egg/genshi/template/base.py", line 569, in _include for event in stream: File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 234, in _strip event = stream.next() File "build/bdist.linux-i686/egg/genshi/template/base.py", line 543, in _exec for event in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 533, in _eval for event in substream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 496, in _eval for kind, data, pos in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 551, in _flatten for event in stream: File "build/bdist.linux-i686/egg/genshi/core.py", line 283, in _ensure for event in stream: File "build/bdist.linux-i686/egg/genshi/path.py", line 141, in _generate subevent = stream.next() File "build/bdist.linux-i686/egg/genshi/template/base.py", line 569, in _include for event in stream: File "build/bdist.linux-i686/egg/genshi/template/markup.py", line 234, in _strip event = stream.next() File "build/bdist.linux-i686/egg/genshi/template/base.py", line 543, in _exec for event in stream: File "build/bdist.linux-i686/egg/genshi/template/base.py", line 520, in _eval result = _eval_expr(data, ctxt, **vars) File "build/bdist.linux-i686/egg/genshi/template/base.py", line 286, in _eval_expr retval = expr.evaluate(ctxt) File "build/bdist.linux-i686/egg/genshi/template/eval.py", line 180, in evaluate return eval(self.code, _globals, {'__data__': data}) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.4-py2.6.egg/trac/ticket/templates/roadmap.html", line 69, in <Expression u'dateinfo_delta(last_modified,milestone.due)'> Finished ${dateinfo_delta(last_modified,milestone.due)} early, File "build/bdist.linux-i686/egg/genshi/template/eval.py", line 279, in _die raise UndefinedError(self._name, self._owner) UndefinedError: "dateinfo_delta" not defined
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
Keywords: | needinfo added |
---|
comment:2 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Googling shows it's an AgileTrac issue (see AgileTrac:#114).
comment:3 by , 15 years ago
(well, for some reason the /intertrac/ trick doesn't work, so please follow that link: http://www.agile-trac.org/ticket/114)
comment:4 by , 15 years ago
Ah sure, #144 gets interpreted as an anchor, AgileTrac:ticket:114 works.
Mmh, there's not a single instance of
dateinfo_delta
in Trac, especially not inroadmap.html
. Any plugins installed? Using a patched version of Trac?