I have a web application with wsgi (apache + mysql debian wheezy). Web2py
is 2.5.1, and sometimes I have this error:
Error ticket for "gesiesweb" Ticket ID
172.17.156.31.2014-03-10.09-44-48.045b2f54-9181-46f8-8604-24745a8ffffa
Versión web2py™ Version 2.5.1-stable+timestamp.2013.06.06.10.35.58 Python
Python
2.7.3: /usr/bin/python (prefix: /usr) Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Traceback (most recent call last):
File "/var/www/web2py/gluon/main.py", line 606, in wsgibase
session._try_store_in_cookie_or_file(request, response)
File "/var/www/web2py/gluon/globals.py", line 757, in
_try_store_in_cookie_or_file
self._try_store_in_file(request, response)
File "/var/www/web2py/gluon/globals.py", line 763, in _try_store_in_file
if not response.session_id or self._forget or self._unchanged():
File "/var/www/web2py/gluon/globals.py", line 719, in _unchanged
session_pickled = cPickle.dumps(dict(self))
File "/usr/lib/python2.7/copy_reg.py", line 84, in _reduce_ex
dict = getstate()
TypeError: 'NoneType' object is not callable
Error snapshot [image: help]
<https://auxiliar/admin/default/ticket/gesiesweb/172.17.156.31.2014-03-10.09-44-48.045b2f54-9181-46f8-8604-24745a8ffffa#>
<type 'exceptions.TypeError'>('NoneType' object is not callable)
When I restart apache service with /etc/init.d/apache2 restart, the error
disappears until reappears...
I thank any suggestion. Thanks.
--
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.