Modify

Opened 6 years ago

Closed 6 years ago

#3139 closed defect (wontfix)

Admin->Subversion->Hooks generates an error.

Reported by: anonymous Owned by: Bombenbodo
Priority: normal Component: TracSvnHooksPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Trac detected an internal error:

ParseError: ParseError: root/.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) " />

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}

System Information

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

Trac 0.11rc1
Python 2.5.1 (r251:54863, Jan 10 2008, 18:01:57)
[GCC 4.2.1 (SUSE Linux)]
setuptools 0.6c7
SQLite 3.4.1
pysqlite 2.3.2
Genshi 0.4.4
Subversion 1.4.4 (r25188)

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11rc1-py2.5.egg/trac/web/main.py", line 417, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11rc1-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.11rc1-py2.5.egg/trac/admin/web_ui.py", line 116, in process_request
    output = req.hdf.render(cstmpl)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11rc1-py2.5.egg/trac/web/clearsilver.py", line 311, in render
    template.parseFile(filename)
ParseError: ParseError: [/root/.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 (1)

comment:1 Changed 6 years ago by Bombenbodo

  • Resolution set to wontfix
  • Status changed from new to closed

TracSvnHooksPlugin is only supported with Trac 0.10 - as long I don't switch to the newer version, nothing will happen from my side - sorry. But if someone feels fit enough to convert it to 0.11 - I'll be happy to include patches into the source.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.