but slow as hell. ditch apache.

On Monday, July 20, 2015 at 8:14:41 AM UTC+2, ermolaev...@gmail.com wrote:
>
> in /gluon/globals.py I edit all to pickle.dumps(self) ####, 
> pickle.HIGHEST_PROTOCOL)
> and then web2py work good
>
> понедельник, 26 января 2015 г., 12:28:57 UTC+3 пользователь Dmitry 
> Ermolaev написал:
>>
>> solve^^
>> replace all  pickle.dumps with:
>> session_pickled = pickle.dumps(self) ####, pickle.HIGHEST_PROTOCOL)
>>
>> понедельник, 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to