session.connect(request,response,cookie_key='...',compression_level=None)
then
addr = request.args(0) or request.vars.addr
session.seeAddr = '%s' % addr
someone raise error
FrameworkTypeError: getattr(): attribute name must be string
<http://127.0.0.1:8000/admin/errors/ipay3#>+ details
<http://127.0.0.1:8000/admin/ticket/ipay3/83.237.45.156.2015-07-24.13-07-08.b24ddb63-62ef-41e2-b4f5-d7a28b2512e1>
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Traceback (most recent call last):
File "C:\web2py-m\gluon\main.py", line 480, in wsgibase
session._try_store_in_cookie_or_file(request, response)
File "C:\web2py-m\gluon\globals.py", line 1183, in
_try_store_in_cookie_or_file
return self._try_store_in_cookie(request, response)
File "C:\web2py-m\gluon\globals.py", line 1120, in _try_store_in_cookie
compression_level=compression_level)
File "C:\web2py-m\gluon\utils.py", line 164, in secure_dumps
dump = pickle.dumps(data, pickle.HIGHEST_PROTOCOL)
File "C:\web2py-m\gluon\storage.py", line 56, in <lambda>
__getnewargs__ = lambda self: getattr(dict,self).__getnewargs__(self)
TypeError: getattr(): attribute name must be string
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.