Modify ↓
Opened 15 years ago
Closed 15 years ago
#7874 closed defect (fixed)
RuntimeError: instance.__dict__ not accessible in restricted mode : when used with mod_wsgi
| Reported by: | pipern | Owned by: | Alex Willmer |
|---|---|---|---|
| Priority: | normal | Component: | BrowserSvnOperationsPlugin |
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description
We use mod_wsgi like this:
WSGIScriptAlias / /opt/define/httpd/define.wsgi
WSGIImportScript /opt/define/httpd/define.wsgi process-group=%{GLOBAL} application-group=%{GLOBAL}
<Directory /opt/define/httpd>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
Where define.wsgi does this:
def application(environ, start_response): # ... return trac.web.main.dispatch_request(environ, start_response)
Suspect we need to understand more about the pool/svn bindings?
source:browsersvnoperationsplugin/0.12/trac_browser_svn_ops/svn_fs.py
Attachments (0)
Note: See
TracTickets for help on using
tickets.



We fixed this with a patch we've committed to trac-hacks as [9364]