On Thu, Nov 1, 2012 at 1:50 AM, William Gunnells <[email protected]> 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 -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
