web2py 2.11 error on new install SESSION ISSUE

137 views
Skip to first unread message

use_web2py

unread,
Jul 16, 2015, 7:56:38 AM7/16/15
to web...@googlegroups.com
Can some one look into this! I get this error after installing a new app from an existing w2p file.
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/main.py", line 436, in wsgibase
session.connect(request, response)
File "/home/www-data/web2py/gluon/globals.py", line 961, in connect
session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL)
File "/home/www-data/web2py/gluon/storage.py", line 56, in <lambda>
__getnewargs__ = lambda self: getattr(dict,self).__getnewargs__(self)
TypeError: getattr(): attribute name must be string

Kiran Subbaraman

unread,
Jul 16, 2015, 9:05:29 AM7/16/15
to web...@googlegroups.com
After installing the file, from the admin screen click on the "clean" option (this should clear your cache, session, errors content). See if this helps.
If that doesn't work, please take a look at the discussions related to this in the group. Search for "pickle.HIGHEST_PROTOCOL".
________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages