Edgewall Software

Ticket #7584 (closed defect: invalid)

Opened 4 months ago

Last modified 4 months ago

ParseError: ParseError: [/srv/trac/proj/.egg-cache/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: cvictor@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc:

Description

How to Reproduce

./configure --prefix=/opt/clearsilver-0.10.5 --with-python=/usr/bin/python2.5

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 (Windows; U; Windows NT 5.1; de-DE; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

System Information

Trac 0.11.1
Python 2.5 (r25:51908, Nov 27 2006, 19:14:46)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)]
setuptools 0.6c8
SQLite 3.3.8
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.2.10
Pygments 0.9
Subversion 1.4.0 (r21228)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/admin/web_ui.py", line 120, in process_request
    output = req.hdf.render(cstmpl)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/clearsilver.py", line 311, in render
    template.parseFile(filename)
ParseError: ParseError: [/srv/trac/proj/.egg-cache/TracSVNHooks-0.4-py2.5.egg-tmp/svnhooks/templates/svnhooks.cs:24] Undefined macro called: hdf_select(svnhooks.sections, "sections", svnhooks.section, 0) 

Attachments

Change History

Changed 4 months ago by ebray

  • status changed from new to closed
  • resolution set to invalid

Looks like you're trying to use the th:TracSVNHooks plugin, which only appears to support Trac 0.10, with Trac 0.11.1. You should pester the author of the plugin or someone else to release an 0.11-compatible version of the plugin.

Add/Change #7584 (ParseError: ParseError: [/srv/trac/proj/.egg-cache/TracSVNHooks-0.4-py2.5.egg-tmp/svnhooks/templates/svnhooks.cs:24] Undefined macro called: hdf_select(svnhooks.sections, "sections", svnhooks.section, 0))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from (none). Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.