Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#2834 closed defect (worksforme)

WebAdmin : Internal Error : Permissions

Reported by: franck34 Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.3
Severity: major Keywords: webadmin permission
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Every time i click on WebAdmin : General : Permissions, got this error:

Trac detected an internal error:

ParseError: tmp/egg_cache/TracWebAdmin-0.1.1dev_r2765-py2.3.egg-tmp/webadmin/templates/admin_perm.cs:10 Incorrect number of arguments, expected 3, got 10 in call to macro hdf_select: hdf_select(admin.actions

Python traceback

Traceback (most recent call last):

File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler

dispatch_request(mpr.path_info, mpr, env)

File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 113, in dispatch

req.display(template, content_type or 'text/html')

File "/usr/lib/python2.3/site-packages/trac/web/api.py", line 148, in display

data = self.hdf.render(template)

File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line 276, in render

template.parseFile(filename)

ParseError: ParseError: home/chrooted/users/olivier/webs/eaccelerator/egg_cache/TracWebAdmin-0.1.1dev_r2765-py2.3.egg-tmp/webadmin/templates/admin_perm.cs:10 Incorrect number of arguments, expected 3, got 10 in call to macro hdf_select: hdf_select(admin.actions

Using:

  • pyton 2.3
  • trac 0.9.3 fresh install
  • TracWebAdmin-0.1.1dev_r2765-py2.3.egg (global, no other plugin)
  • custom template

Attachments (0)

Change History (3)

comment:1 by anonymous, 19 years ago

Resolution: fixed
Status: newclosed

i was having an old .cs file in template directory (from 0.8.1).

Putting fresh 0.9.3 template resolve the problem.

Let's work now :)

comment:2 by Christian Boos, 19 years ago

Resolution: fixed
Status: closedreopened

(for changing resolution)

comment:3 by Christian Boos, 19 years ago

Resolution: worksforme
Status: reopenedclosed

The resolution fixed should rather be used for a real problem that needed some code modification. Here, worksforme is more appropriate.

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.