Looks like you are trying store on a session something that is not
pickable.

Can you show us what objects are your storing in the session?
It will help me figure out what is wrong.

Massimo

On Dec 19, 11:47 am, czamb <[email protected]> wrote:
> Thanks for the fast reply.
> Unfortunately, after upgrade to 1.90.3 and restart, the same result as
> before:
>
> Traceback (most recent call last):
>   File "c:\web2py\gluon\main.py", line 453, in wsgibase
>     session._try_store_on_disk(request, response)
>   File "c:\web2py\gluon\globals.py", line 402, in _try_store_on_disk
>     cPickle.dump(dict(self), response.session_file)
>   File "C:\Python26\lib\copy_reg.py", line 74, in _reduce_ex
>     getstate = self.__getstate__
>   File "c:\web2py\gluon\dal.py", line 3702, in __getattr__
>     return dict.__getitem__(self,key)
> KeyError: '__getstate__'
>
> I tried to "easy_install ssl" before and it refused to install with:
> ValueError: This extension should not be used with Python 2.6 or later
> (already
> built in), and has not been tested with Python 2.3.4 or earlier.
>
> Regards
>  czamb
>
> On Dec 19, 5:43 pm, mdipierro <[email protected]> wrote:
>
> > All the issues raised should now be fixed in 1.90.3
>
> > On Dec 19, 10:14 am, mdipierro <[email protected]> wrote:
>
> > > fixing in trunk.
>
> > > On Dec 19, 5:28 am, selecta <[email protected]> wrote:
>
> > > > self reference with IS_IN_DB pointing to self
>
> > > > Field('parent', 'reference mytable', requires =
> > > > IS_EMPTY_OR(IS_IN_DB(db,'mytable.id','%(name)s'))),
>
> > > > this does not work any more
>
> > > > On Dec 18, 8:38 pm, mdipierro <[email protected]> wrote:
>
> > > > > This is a major - major release mostly because it includes the new
> > > > > DAL.
>
> > > > > It is supposed to be 100% backward compatible but cleaner, and more
> > > > > readable. We have fixed every known issue.  If 1.90.1 breaks you DAL
> > > > > queries, please report it asap so that it can be addressed sooner.
>
> > > > > It also includes a lot of new features as described below.
>
> > > > > Changelog 1.90.1:
>
> > > > > - new DAL (complete rewrite of the web2py DAL is more modular)
> > > > > - rewrite has fail safe reload, thanks Jonathan
> > > > > - better CAS with v2 support, thanks Olivier ROCH VILATO
> > > > > - better markmin2latex
> > > > > - session.connect(separate=True) to handle many session files, thanks
> > > > > huaiyu wang
> > > > > - changed bahvior of impersonate (more secure, can generate form or
> > > > > used as API)
> > > > > - new rocket, thanks Tim
> > > > > - new pyfpdf
> > > > > - no more old style classes (we did some cleanup in the past sbut we
> > > > > had missed a few).
> > > > > - experimental couchdb support in new dal (only insert, select, update
> > > > > by id)
> > > > > - mysql support out of the box via pymysql
> > > > > - SQLITABLE(...,headers='labels') thanks Bruno
> > > > > - optional: digitally signed URLs, thanks Brian Meredyk
> > > > > - minor bug fixes
>
>

Reply via email to