Re: [SQLObject] problem with pickleCol, python2.5 and fedora7...

2008-03-14 Thread Oleg Broytmann
On Fri, Mar 14, 2008 at 11:31:02PM +0100, sophana wrote: > info = PickleCol(length=1024) > > This is really strange. This problem happens on my brand new fedora 7 > dedicated server, but on no others. > sqlobject is installed through easy-install, it is not a rpm install. > On ubuntu7.10,cent

Re: [SQLObject] problem with pickleCol, python2.5 and fedora7...

2008-03-14 Thread sophana
info = PickleCol(length=1024) This is really strange. This problem happens on my brand new fedora 7 dedicated server, but on no others. sqlobject is installed through easy-install, it is not a rpm install. On ubuntu7.10,centos4, and fedora6 (also installed with easy-install), no problem.

Re: [SQLObject] problem with pickleCol, python2.5 and fedora7...

2008-03-14 Thread Oleg Broytmann
On Fri, Mar 14, 2008 at 08:09:21PM +0100, sophana wrote: > a.info={} > 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) > > a.info=[] > 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) BTW, how is the column declared? Isn't there an additional validator, e.g.? Oleg. --

Re: [SQLObject] problem with pickleCol, python2.5 and fedora7...

2008-03-14 Thread Oleg Broytmann
On Fri, Mar 14, 2008 at 08:09:21PM +0100, sophana wrote: > a.info={} > 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) > > a.info=[] > 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) > > >>> cPickle.dumps({}) > '(d.' Raising eyebrows, dropping the jaw on the floor! See

Re: [SQLObject] problem with pickleCol, python2.5 and fedora7...

2008-03-14 Thread sophana
a.info={} 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) a.info={1:2} 1/Query : UPDATE Acct SET Info = ('(dp1\nI1\nI2\ns.') WHERE id = (203) a.info=[] 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) a.info=[None] 1/Query : UPDATE Acct SET Info = ('(lp1\nNa.') WHER

Re: [SQLObject] problem with pickleCol, python2.5 and fedora7...

2008-03-14 Thread Oleg Broytmann
On Fri, Mar 14, 2008 at 07:28:47PM +0100, sophana wrote: > I've noticed a very strange problem on one of my servers: > I have a pickleCol named info > I write: > a.info={} > then a.info returns None > In the database, it is written NULL > The problem is happens with both sqlobject 0.8.7 and 0.9.5 o

[SQLObject] problem with pickleCol, python2.5 and fedora7...

2008-03-14 Thread sophana
Hi I've noticed a very strange problem on one of my servers: I have a pickleCol named info I write: a.info={} then a.info returns None In the database, it is written NULL The problem is happens with both sqlobject 0.8.7 and 0.9.5 on fedora core 7 I have no problems with 0.9.5 on ubuntu (python 2.