Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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: pilla.gustavo@… 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 Tim Hatch, 16 years ago

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.

comment:2 by ebray <hyugaricdeau@…>, 16 years ago

Resolution: invalid
Status: newclosed

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.

in reply to:  2 comment:3 by cvictor@…, 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?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.