#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 17 years ago by
comment:2 Changed 17 years ago by
You are correct. The authz_file has to be specified and the format has to follow svn authz file format.
comment:3 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
pls provide a patch with a better output.
I'm pretty this is because the authz_file setting is empty in the trac.ini. The plugin should probably check for that.