Re: [ZODB-Dev] zodb does not save transaction

2008-05-29 Thread Christian Theune
On Wed, May 28, 2008 at 07:55:19PM -0700, tsmiller wrote: > > ZODB list, > > I have a bookstore that uses the ZODB as its storage. It uses qooxdoo as > the client and CherryPy for the server. The server has a 'saveBookById' > routine that works 'most' of the time. However, sometimes the > tran

Re: [ZODB-Dev] zodb does not save transaction

2008-05-29 Thread Dieter Maurer
tsmiller wrote at 2008-5-28 19:55 -0700: > ... >I have a bookstore that uses the ZODB as its storage. It uses qooxdoo as >the client and CherryPy for the server. The server has a 'saveBookById' >routine that works 'most' of the time. However, sometimes the >transaction.commit() does NOT commit t

Re: [ZODB-Dev] zodb does not save transaction

2008-05-29 Thread tsmiller
Christian Theune-2 wrote: > > On Wed, May 28, 2008 at 07:55:19PM -0700, tsmiller wrote: >> >> ZODB list, >> >> I have a bookstore that uses the ZODB as its storage. It uses qooxdoo as >> the client and CherryPy for the server. The server has a 'saveBookById' >> routine that works 'most' of t

[ZODB-Dev] Re: zodb does not save transaction

2008-05-29 Thread Laurence Rowe
tsmiller wrote: I have a bookstore that uses the ZODB as its storage. It uses qooxdoo as the client and CherryPy for the server. The server has a 'saveBookById' routine that works 'most' of the time. However, sometimes the transaction.commit() does NOT commit the changes and when I restart my

Re: [ZODB-Dev] zodb does not save transaction

2008-05-29 Thread tsmiller
Laurence Rowe wrote: > > tsmiller wrote: > I have a bookstore that uses the ZODB as its storage. It uses qooxdoo as the client and CherryPy for the server. The server has a 'saveBookById' routine that works 'most' of the time. However, sometimes the transaction.

Re: [ZODB-Dev] Re: zodb does not save transaction

2008-05-29 Thread Jean Jordaan
'lo Tom > you have a persistent object (inherits from persistent.Persistent) pobj > pobj.dict = {} transaction.commit() pobj.dict['foo'] = 'bar' transaction.commit() print pobj.dict > {'foo': 'bar'} The thing to note here is that {} is NOT a persistent object, and it is t