I mean file is created anyway. It's just a error ticket 

 File "C:\Python27\Lib\copy_reg.py", line 70, in _reduce_ex
    raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle function objects

On Friday, January 23, 2015 at 9:26:18 AM UTC-6, Omi Chiba wrote:
>
> Um... more weird things. I'm using version 2.4.7 now and I got a similar 
> error when I try to create view.
>
> Versionweb2py™Version 2.4.7-stable+timestamp.2013.05.24.17.48.47PythonPython 
> 2.7.4: C:\UniServer\usr\local\apache2\bin\Apache.exe (prefix: C:\Python27)
> Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
>
> Traceback (most recent call last):
>   File "C:\web2py\gluon\main.py", line 606, in wsgibase
>     session._try_store_in_cookie_or_file(request, response)
>   File "C:\web2py\gluon\globals.py", line 757, in _try_store_in_cookie_or_file
>     self._try_store_in_file(request, response)
>   File "C:\web2py\gluon\globals.py", line 763, in _try_store_in_file
>     if not response.session_id or self._forget or self._unchanged():
>   File "C:\web2py\gluon\globals.py", line 719, in _unchanged
>     session_pickled = cPickle.dumps(dict(self))
>   File "C:\Python27\Lib\copy_reg.py", line 70, in _reduce_ex
>     raise TypeError, "can't pickle %s objects" % base.__name__
> TypeError: can't pickle function objects
>
>
> On Friday, January 23, 2015 at 8:54:23 AM UTC-6, Omi Chiba wrote:
>>
>> Yes. I stop and start apache when I replace web2py folder.
>>
>> After trouble shooting I found
>>
>> 1. http://thksupport.com/welcome/default/index => OK
>> 2. https://thksupport.com/welcome/default/index => NG
>> 3. https://thksupport.com/admin/default/index => NG
>>
>> So any https request become NG for the same error
>>
>> Then, Restart Apache server
>>
>> 1. http://thksupport.com/welcome/default/index => NG
>> 2. https://thksupport.com/welcome/default/index => OK
>> 3. https://thksupport.com/admin/default/index => OK
>>
>> Now all http request become error!!
>>
>> Then, Restart Apache server Again... all https request become error.
>>
>> Previous version (2.4.6) is working fine both http and https no problem.
>>
>>
>>
>>
>> On Thursday, January 22, 2015 at 11:21:49 PM UTC-6, Massimo Di Pierro 
>> wrote:
>>>
>>> Did you restart the web server?
>>>
>>> I do not think this has anything to do with cookies. This has to do with 
>>> pickle being None and it cannot be because it is clearly imported. 
>>> Something very bad happened to your import. Make sure you stop and start 
>>> again the web server. If you use mod_proxy also stop and start python.
>>>
>>>
>>> On Thursday, 22 January 2015 17:27:00 UTC-6, Omi Chiba wrote:
>>>>
>>>> Please see my quick test result below. I'm not sure if it's related to 
>>>> sessions and/or cookies because I always failed when I access with https.
>>>>
>>>> 1st test 
>>>>
>>>> 1. delete all the cookie on my browser and delete sessions from all the 
>>>> app. 
>>>> 2. open the website => display welcome app => ok
>>>> 3. tried to access admin app with https => NG (Same error ticket.)
>>>>
>>>> 2nd test
>>>>
>>>> 1. delete all the cookie on my browser and delete sessions from all the 
>>>> app. 
>>>> 2. tried to access admin app with https => NG (Same error ticket.)
>>>>
>>>> 3rd Test
>>>>
>>>> 1. delete all the cookie on my browser and delete sessions from all the 
>>>> app. 
>>>> 2. Open browser incognito mode 
>>>> 3. open the website => display welcome app => ok
>>>> 4. tried to access admin app with https => NG (Same error ticket.)
>>>>
>>>>
>>>> On Thu, Jan 22, 2015 at 5:02 PM, Massimo Di Pierro <
>>>> massimo....@gmail.com> wrote:
>>>>
>>>>> I am pretty sure that is what web2py does. If sessions are deleted the 
>>>>> cookie is ignored. Are these session in cookies?
>>>>>
>>>>> On Thursday, 22 January 2015 11:35:56 UTC-6, Leonel Câmara wrote:
>>>>>>
>>>>>> Basically you have an old cookie in your browser that's messing 
>>>>>> things up. Obviously it's also a bug with web2py as it should just 
>>>>>> discard 
>>>>>> it if it doesn't have a file for it anymore. But you should be good if 
>>>>>> you 
>>>>>> clear your browser cookies and the sessions in the apps.
>>>>>>
>>>>>  -- 
>>>>> 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 a topic in the 
>>>>> Google Groups "web2py-users" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/web2py/yBM8Ybl_xGA/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> web2py+un...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>

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