new error in cache with *HIGHEST_PROTOCOL (((*

Traceback (most recent call last):
File "C:\web2py-m\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "C:/web2py-m/applications/ipay3/controllers/default.py" 
<http://127.0.0.1:8000/admin/edit/ipay3/controllers/default.py>, line 264, in 
<module>
File "C:\web2py-m\gluon\globals.py", line 412, in <lambda>
self._caller = lambda f: f()
File "C:\web2py-m\gluon\cache.py", line 644, in wrapped_f
rtn = cache_model(cache_key, lambda : func(), time_expire=time_expire)
File "C:\web2py-m\gluon\cache.py", line 482, in __call__
self.storage[key] = (now, value)
File "C:\web2py-m\gluon\cache.py", line 344, in __setitem__
pickle.dump(value, val_file, pickle.*HIGHEST_PROTOCOL*)
PicklingError: Can't pickle <type 'thread.lock'>: attribute lookup thread.lock 
failed

понедельник, 13 октября 2014 г., 20:22:57 UTC+3 пользователь Dmitry 
Ermolaev написал:
>
> I use apache 2.2
>
> If use 2 and more apps - error will be raise for each that not got first 
> HTTP-request
>
> One app work normal
>
> Traceback (most recent call last):
>
>   File "C:\web2py-m\gluon\main.py", line 435, in wsgibase
>     session.connect(request, response)
>   File "C:\web2py-m\gluon\globals.py", line 931, in connect
>     session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL)
> TypeError: 'NoneType' object is not callable
>
>
> If use rocked server - all work
>
>

-- 
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.

Reply via email to