#7191 closed defect (invalid)
ParseError: ParseError: [/var/www/.python-eggs/TracSVNHooks-0.4-py2.5.egg-tmp/svnhooks/templates/svnhooks.cs:24] Undefined macro called: hdf_select(svnhooks.sections, "sections", svnhooks.section, 0)
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11b2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /admin/svn/hooks
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'cat_id': u'svn', 'panel_id': u'hooks', 'path_info': None}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; es-AR; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5
System Information
Trac | 0.11b2
|
Python | 2.5.2 (r252:60911, Apr 21 2008, 11:29:43) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
|
setuptools | 0.6c8
|
SQLite | 3.4.2
|
pysqlite | 2.4.0
|
Genshi | 0.4.4
|
mod_python | 3.3.1
|
Subversion | 1.4.6 (r28521)
|
jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 419, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 196, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/admin/web_ui.py", line 116, in process_request output = req.hdf.render(cstmpl) File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/clearsilver.py", line 304, in render template.parseFile(filename) ParseError: ParseError: [/var/www/.python-eggs/TracSVNHooks-0.4-py2.5.egg-tmp/svnhooks/templates/svnhooks.cs:24] Undefined macro called: hdf_select(svnhooks.sections, "sections", svnhooks.section, 0)
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
follow-up: 3 comment:2 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Looks to me like the template in the plugin is missing a <?cs include:"macros.cs" ?>
, so nothing wrong with Trac. It should be reported to the author of the plugin.
comment:3 by , 16 years ago
Replying to ebray <hyugaricdeau@…>:
Looks to me like the template in the plugin is missing a
<?cs include:"macros.cs" ?>
, so nothing wrong with Trac. It should be reported to the author of the plugin.
Where exactely should be the <?cs include:"macros.cs" ?> tag be included?
Hmm, it's an issue with th:wiki:TracSvnHooksPlugin trying to use clearsilver templates. Can anyone comment whether this is an issue with the compatibility code or just that the plugin isn't 0.11-compatible yet? There's only an 0.10 branch on t-h.