Modify

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#2973 closed defect (wontfix)

IOError: [Errno 2] No such file or directory: u''

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

Description

Traceback (most recent call last):

File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/local/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/web_ui.py", line 119, in process_request

path_info)

File "build/bdist.linux-i686/egg/svnauthz/admin_ui.py", line 45, in process_admin_request

self.authz = self._get_model();

File "build/bdist.linux-i686/egg/svnauthz/admin_ui.py", line 359, in _get_model

return r.read(self.authz_file)

File "build/bdist.linux-i686/egg/svnauthz/io.py", line 10, in read

fp = open(filename, "r")

IOError: [Errno 2] No such file or directory: u

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by anonymous

I'm pretty this is because the authz_file setting is empty in the trac.ini. The plugin should probably check for that.

comment:2 Changed 9 years ago by anonymous

You are correct. The authz_file has to be specified and the format has to follow svn authz file format.

comment:3 Changed 8 years ago by rupert thurner

Resolution: wontfix
Status: newclosed

pls provide a patch with a better output.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.