Opened 13 years ago

Closed 13 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


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

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?


Attachments (0)

Change History (1)

comment:1 Changed 13 years ago by pipern

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alex Willmer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.