Opened 6 years ago

Closed 6 years ago

#7874 closed defect (fixed)

RuntimeError: instance.__dict__ not accessible in restricted mode : when used with mod_wsgi

Reported by: pipern Owned by: moreati
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 6 years ago by pipern

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

as closed The owner will remain moreati.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.