[ZODB-Dev] DisconnectedError
José Pedro Ferreira
jose.pedro.ferreira at cern.ch
Fri May 4 11:04:23 EDT 2007
Gary Poster wrote:
> Hi. ZODB does not currently work with Py2.5.
>
> Gary
OK, thanks.
However, I was able to make it work, running this simple script, and
then running the application again.
<quote>
#!/usr/bin/python
import ZODB
from ZODB import FileStorage, DB
import transaction
storage = FileStorage.FileStorage("zeo/data.fs")
db = DB(storage)
connection = db.open()
dbroot = connection.root()
transaction.commit()
connection.close()
db.close()
storage.close()
</quote>
And now it works perfectly :).
Is there any possible explanation for this?
Thanks again,
Pedro
More information about the ZODB-Dev
mailing list