Modify ↓
Opened 10 years ago
Closed 10 years ago
#12300 closed defect (fixed)
Internal Error while clicking on Plugin UI
Reported by: | anonymous | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | high | Component: | SvnAuthzAdminPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
After Installing the plugin with Trac 1.0.5 i get the error:
Found this in trac.log:
2015-05-05 07:54:00,916 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 513, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 222, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.6/site-packages/trac/admin/web_ui.py", line 120, in process_request path_info) File "/usr/lib/python2.6/site-packages/svnauthz/admin_ui.py", line 70, in render_admin_panel self.authz = self._get_authz(req) File "/usr/lib/python2.6/site-packages/svnauthz/admin_ui.py", line 389, in _get_authz return AuthzFileReader().read(self.authz_file) File "/usr/lib/python2.6/site-packages/svnauthz/io.py", line 19, in read return parser.parse() File "/usr/lib/python2.6/site-packages/svnauthz/io.py", line 50, in parse self._parse_root(m) File "/usr/lib/python2.6/site-packages/svnauthz/io.py", line 78, in _parse_root self._parse_path_acl(m, line) File "/usr/lib/python2.6/site-packages/svnauthz/io.py", line 121, in _parse_path_acl subject, acl = line.split('=') ValueError: too many values to unpack
Attachments (0)
Change History (5)
comment:1 Changed 10 years ago by
Status: | new → accepted |
---|
comment:2 Changed 10 years ago by
Could you please post your authz file so that I can try to reproduce?
comment:3 Changed 10 years ago by
Sure, heres it. some details masked...
[aliases] adadmin = CN=Admin,OU=Standard,OU=Groups,DC=example,DC=com [groups] srvadmin = @adadmin [services:/] @srvadmin = r john = rw jane = rw
comment:5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
This plugin needs a lot of work. I doubt it is useful even after fixing this one issue, but I will try to fix it by this weekend.