Modify

Opened 4 years ago

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

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)

Change History (1)

comment:1 Changed 4 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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from moreati. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.