[ZODB-Dev] Re: ZODB not saving sometimes

2008-06-22 Thread Laurence Rowe
Andreas Jung wrote: --On 22. Juni 2008 08:49:32 -0700 tsmiller <[EMAIL PROTECTED]> wrote: Gary, I have been using the ZODB for about a year and a half with a bookstore application. I am just now about ready to put it out on the internet for people to use. I have had the same problem with

Re: [ZODB-Dev] ZODB design. Size and saving records

2008-06-22 Thread Chris Bainbridge
2008/6/22 tsmiller <[EMAIL PROTECTED]>: > > ZODB guys, > >record = {'title':"The Grapes of Wrath", 'author':"John > Steinbeck",'publisher':"Randomhouse"} This might be your problem, you need to use a PersistentDict object if you want each record to be an individual entry in the database. I

Re: [ZODB-Dev] ZODB design. Size and saving records

2008-06-22 Thread Andreas Jung
--On 22. Juni 2008 08:54:14 -0700 tsmiller <[EMAIL PROTECTED]> wrote: I have two questions. 1) When I already have a storeNumber and I save a record to db.dbRoot['books'][storeNumber][bookNumber] = record I have to set th

Re: [ZODB-Dev] ZODB not saving sometimes

2008-06-22 Thread Andreas Jung
--On 22. Juni 2008 08:49:32 -0700 tsmiller <[EMAIL PROTECTED]> wrote: Gary, I have been using the ZODB for about a year and a half with a bookstore application. I am just now about ready to put it out on the internet for people to use. I have had the same problem with saving data. I have

[ZODB-Dev] ZODB design. Size and saving records

2008-06-22 Thread tsmiller
ZODB guys, I have a bookstore application in which I use the ZODB in a simple way. The database saves stores and records in the stores. I open the database as follows where the databasePath argument points to my bookserver.fs file. from ZODB import FileStorage, DB import transaction import BTr

Re: [ZODB-Dev] ZODB not saving sometimes

2008-06-22 Thread tsmiller
Gary, I have been using the ZODB for about a year and a half with a bookstore application. I am just now about ready to put it out on the internet for people to use. I have had the same problem with saving data. I have tried alot of things. But I have never gotten the database to save consiste