[ZODB-Dev] DisconnectedError
José Pedro Ferreira
jose.pedro.ferreira at cern.ch
Fri May 4 12:36:34 EDT 2007
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.
Cheers,
Pedro
>
> On May 4, 2007, at 11:25 AM, José Pedro Ferreira wrote:
>
>> Jim Fulton wrote:
>>>
>>> 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.
>>>
>> 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 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
>
> --
> Jim Fulton mailto:jim at zope.com Python Powered!
> CTO (540) 361-1714 http://www.python.org
> Zope Corporation http://www.zope.com http://www.zope.org
>
>
>
More information about the ZODB-Dev
mailing list