Re: [Zope] Instanciate a ZClass out of Zope

2000-06-19 Thread Oleg Broytmann
On Sat, 17 Jun 2000, FR Chalaoux wrote: This give me a track now, but this howto seems to talk about of an external method not about a script out of zope, No ? When I say out of zope, I mean open a connection with ZODB as describe in http://www.zope.org/Members/michel/HowTos/ZODB-How-To and

Re: [Zope] Instanciate a ZClass out of Zope

2000-06-19 Thread Chris McDonough
This limitation will effectively go away as soon as ZEO goes open source. Oleg Broytmann wrote: You cannot open independent connection to ZODB while Zope is active - Zope locks the database, and by purpose. You must access ZODB only through Zope machinery. Or stop Zope, open ZODB and

Re: [Zope] Instanciate a ZClass out of Zope

2000-06-19 Thread Oleg Broytmann
On Mon, 19 Jun 2000, Chris McDonough wrote: This limitation will effectively go away as soon as ZEO goes open source. Oleg Broytmann wrote: You cannot open independent connection to ZODB while Zope is active - Zope locks the database, and by purpose. You must access ZODB only

Re: [Zope] Instanciate a ZClass out of Zope

2000-06-17 Thread Oleg Broytmann
On Sat, 17 Jun 2000, FR Chalaoux wrote: I would like to instanciate a Zclass, I created in Zope, out of Zope web interface. I mean create objets, base on this ZClass, in ZODB with a python script out of Zope. What are the different solutions to do that ? Is there code exemples around ?