Are you trying to store a DAL object in the session? I don't think you can 
do that.

Anthony

On Saturday, March 3, 2012 6:17:01 AM UTC-5, mweissen wrote:
>
> Hi, I have got the following "Internal error":
>
> Traceback (most recent call last):
>
>
>   File "/home/mweissen/webapps/w2p/web2py/gluon/main.py", line 528, in 
> wsgibase
>
>
>     session._try_store_on_disk(request, response)
>
>
>   File "/home/mweissen/webapps/w2p/web2py/gluon/globals.py", line 594, in 
> _try_store_on_disk
>
>
>     cPickle.dump(dict(self), response.session_file)
>
>
>   File "/usr/local/lib/python2.7/copy_reg.py", line 74, in _reduce_ex
>
>
>     getstate = self.__getstate__
>
>
>   File "/home/mweissen/webapps/w2p/web2py/gluon/dal.py", line 6343, in 
> __getattr__
>
>
>     return self[key]
>
>
>   File "/home/mweissen/webapps/w2p/web2py/gluon/dal.py", line 6337, in 
> __getitem__
>
>
>     return dict.__getitem__(self, str(key))
>
> KeyError: '__getstate__'
>
> Running on Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1: on  
> webfactional.com
>
>
>
>
>
>
> Version: (1, 99, 6, datetime.datetime(2012, 3, 2, 16, 43, 58), 'stable'), but 
> the problem occured also with 1.99.4
>
> I have found some similar threads, but no way to solve the problem. 
>
> Regards, Martin
>

Reply via email to