Hi, all.

I use httpd-2.2.3-11.el5_1.3 on RHEL 5.2 (x86_64), mod_wsgi-2.3.

How can i solve this issue? Thanks very much.

----<-- code.py ----
application = web.application(urls, globals()).wsgifunc()

sessionDB = web.database(
        dbn='mysql',
        db='mydb',
        user='username',
        pw='xxx',
        )
sessionStore = web.session.DBStore(sessionDB,
iRedConfig.db_iredadmin_table_sessions)
session = web.session.Session(application, sessionStore)

----<----

Error msg in apache error_log:

----<----
[Tue Oct 21 17:43:45 2008] [error] [client 127.0.0.1] Traceback (most
recent call last):
[Tue Oct 21 17:43:45 2008] [error] [client 127.0.0.1]   File "/var/www/
iredadmin/iRedAdmin.py", line 45, in ?
[Tue Oct 21 17:43:45 2008] [error] [client 127.0.0.1]     session =
web.session.Session(application, sessionStore)
[Tue Oct 21 17:43:45 2008] [error] [client 127.0.0.1]   File "/usr/lib/
python2.4/site-packages/web/session.py", line 51, in __init__
[Tue Oct 21 17:43:45 2008] [error] [client 127.0.0.1]
app.add_processor(self._processor)
[Tue Oct 21 17:43:45 2008] [error] [client 127.0.0.1] AttributeError:
'function' object has no attribute 'add_processor'
----<----
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to