On Thu, Nov 1, 2012 at 1:50 AM, William Gunnells <gunne
...@gmail.com> wrote:
>
http://paste.org/56456
> app.add_processor(auth_app_processor)
> [Wed Oct 31 12:46:24 2012] [error] [client 50.0.17.2] AttributeError:
> 'function' object has no attribute 'add_processor'
> [Wed Oct 31 12:46:24 2012] [error] [client 50.0.17.2] File does not exist:
> /var/www/pvperformance/favicon.ico
> Not sure why I get this error. Without WSGI it works fine, sessions works,
> fine but
> app.add_processor(auth_app_processor) does not work
You need to call add_processor on web.application object, not on wsgi
function. Removing app = app.wsgifunc() will fix it.
...
# app = app.wsgifunc()
app.add_processor(auth_app_processor)
Anand