Yes, the DB did not exist. And yes, it's not a hack, it's only opening
and closing the database... but it unexpectedly works after doing it.
On May 4, 2007, at 11:25 AM, José Pedro Ferreira wrote:
Jim Fulton wrote:
OK, I've tested it with Python 2.4.4, and it worked OK. For Python
2.5, I had to use the hack I posted in the last mail (weird...).
I don't know why the client is being disconnected. As others have
hinted, you should try this with Python 2.4 -- and please report
back if that changes the outcome.
I don't really see a hack. All you did was open the database as
usual. Before you ran your script with the "hack", did you make sure
the database did not exist?
Jim Fulton mailto:[EMAIL PROTECTED] Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org