Opened 20 years ago
Closed 19 years ago
#1701 closed defect (worksforme)
Fine Grained Access Permissions and Project Naming
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | version control | Version: | 0.8.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I am attempting to configure Trac to use my svnaccessfile permissions in the browser. I have been able to successfully use it without Subversion project naming. I am running Apache 2.0.54 on Windows XP SP2 with Subversion 1.2.0 FSFS database. Whenever I turn on the project naming functionality I get the below traceback. If I turn off the project naming in trac.ini and update the permissions file accordingly things work perfectly.
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\trac\core.py", line 531, in cgi_start
real_cgi_start()
File "C:\Python23\Lib\site-packages\trac\core.py", line 526, in real_cgi_start
dispatch_request(path_info, args, req, env)
File "C:\Python23\Lib\site-packages\trac\core.py", line 441, in dispatch_request
module.run()
File "C:\Python23\Lib\site-packages\trac\Module.py", line 46, in run
disp()
File "C:\Python23\Lib\site-packages\trac\Changeset.py", line 243, in display
self.render_diffs()
File "C:\Python23\Lib\site-packages\trac\Changeset.py", line 239, in render_diffs
0, 1, 0, 1, self.pool)
SystemError: null argument to internal routine
Here are the settings I'm using in my svnaccessfile: [projectname:/]
- = r
The trac.ini [trac] section: [trac] default_charset = iso-8859-15 templates_dir = c:\Python23\share\trac\templates repository_dir = c:/svn/projectname htdocs_location = /static/ database = sqlite:db/trac.db authz_file = c:/svn/svnaccessfile authz_module_name = 'projectname'
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Component: | browser → version control |
---|---|
Owner: | changed from | to
comment:2 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Hmm, I don't think so, since he does mention that this is before turning "project naming" off in trac.ini, and the error goes away when it's off. However, since I completely rewrote the authz parsing for 0.9 I think that this is no longer a problem.
Matt, is this the same as #2235?