Modify

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#2973 closed defect (wontfix)

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

Reported by: anonymous Owned by: kisg
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 6 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 6 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 5 years ago by ThurnerRupert

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

pls provide a patch with a better output.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from kisg. Next status will be '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.