Opened 10 years ago

Closed 10 years ago

#2183 closed defect (worksforme)

Exception adding path

Reported by: David Roussel Owned by: Kis Gergely
Priority: normal Component: SvnAuthzAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I have an existing svn authz file that looks like this:

my-commiters = rod,jane,freddy

* = r
@my-commiters = rw

It didn't work at all prior to changeset:2537 but now I can view the main page in the web admin pages.

The paths do not show up in the GUI, and if I try to add a new path, I get:

Traceback (most recent call last):
  File "d:\Python24\lib\site-packages\trac\web\", line 356, in dispatch_request
  File "d:\Python24\lib\site-packages\trac\web\", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "d:\Python24\lib\site-packages\tracwebadmin-0.1.2dev_r3772-py2.4.egg\webadmin\", line 109, in process_request
  File "build\bdist.win32\egg\svnauthz\", line 78, in process_admin_request
  File "d:\Python24\lib\", line 55, in pathname2url
    raise IOError, error
IOError: Bad path: myrepo:/

Where my trac.ini looks like:

authz_file = D:\work\trac\mytrac.db\access_control.conf
authz_module_name = myrepo
base_url = 
repository_dir = D:\work\svn\repositories\myrepo

Are there some settings I'm missing?

Is it that authz_module_name has to be blank? If so, what other setting to I have to change to make it still work?

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Kis Gergely

Resolution: worksforme
Status: newclosed

This is not a bug in the plugin. In fact you have to leave the authz_module_name empty, as you suggested.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Kis Gergely.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.