I am having this issue too!

Server : CentOS 6.5
Apache : 2.2
Python : 2.6.6
Web2py : 2.95

So, I think this error caused by Apache config.
Look into error log file, I found msg like : "...*client denied by server 
configuration*: /var/www/web2py/wsgihandler.py ..."

I've changed in httpd.conf file :
....
<Directory /var/www/web2py>
        AllowOverride None  
        Order Allow,Deny
        Deny from all
        <Files wsgihandler.py>
            Allow from all
        </Files>
    </Directory>
....
to :
<Directory /var/www/web2py>
        AllowOverride AuthConfig FileInfo
        Order Allow,Deny
        Deny from all
        <Files wsgihandler.py>
            Allow from all
        </Files>
    </Directory>
...
and this error do not happen any more.
I don't fully understand about Apache config, but hope this may help.
Can anyone tell me there are risks if I set Apache config file like this?

Regards,
Tuan.

On Thursday, April 3, 2014 12:14:14 AM UTC+7, Carlos Alba wrote:
>
> Is this still a issue? I am receiving this error.
>
> On Tuesday, July 16, 2013 9:44:46 PM UTC-5, Joe Magaro wrote:
>>
>> Hi, Lately when I'm in the admin section, when I perform an action such 
>> as installing a new app, or deleting a view I keep getting the error below. 
>> Im not sure what changed to affect this, please help!
>>
>> raceback (most recent call last):
>>   File "/home/www-data/web2py/gluon/main.py", line 606, in wsgibase
>>     session._try_store_in_cookie_or_file(request, response)
>>   File "/home/www-data/web2py/gluon/globals.py", line 757, in 
>> _try_store_in_cookie_or_file
>>     self._try_store_in_file(request, response)
>>   File "/home/www-data/web2py/gluon/globals.py", line 763, in 
>> _try_store_in_file
>>     if not response.session_id or self._forget or self._unchanged():
>>   File "/home/www-data/web2py/gluon/globals.py", line 719, in _unchanged
>>     session_pickled = cPickle.dumps(dict(self))
>>   File "/usr/lib/python2.7/copy_reg.py", line 70, in _reduce_ex
>>     raise TypeError, "can't pickle %s objects" % base.__name__
>> TypeError: can't pickle function objects
>>
>> Error snapshot [image: help] 
>> <https://www.mywebsonic.com/admin/default/ticket/admin/65.94.90.186.2013-07-17.06-41-06.14386b00-ff0d-47ad-bf32-de51a08fda61#>
>>
>> <type 'exceptions.TypeError'>(can't pickle function objects)
>>
>

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