[Zope-dev] Using Zope from a console script

2002-11-05 Thread Gilles Lenfant
I tried (successfully) to play with Zope objects with console scripts using the hints in $ZOPEROOT/doc/ZODB.txt Unfortunately, it works only if the Zope server is down. I need to run this script on a running server, and I'd prefer not using xmlrpc stuffs for a better efficiency. Any hint, config,

Re: [Zope-dev] Using Zope from a console script

2002-11-05 Thread Leonardo Rochael Almeida
On Tue, 2002-11-05 at 17:27, Gilles Lenfant wrote: I tried (successfully) to play with Zope objects with console scripts using the hints in $ZOPEROOT/doc/ZODB.txt Unfortunately, it works only if the Zope server is down. I need to run this script on a running server, and I'd prefer not using

Re: [Zope-dev] Using Zope from a console script

2002-11-05 Thread Gilles Lenfant
- Original Message - From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: Gilles Lenfant [EMAIL PROTECTED] Cc: Zope Developers list [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 8:34 PM Subject: Re: [Zope-dev] Using Zope from a console script On Tue, 2002-11-05 at 17:27, Gilles

Re: [Zope-dev] Using Zope from a console script

2002-11-05 Thread Jerome Alet
On Tue, Nov 05, 2002 at 09:46:03PM +0100, Gilles Lenfant wrote: But just want to run a console application, not running it from another Zope instance. xml-rpc should be the way to go. bye, Jerome Alet ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Using Zope from a console script

2002-11-05 Thread Jerome Alet
On Tue, Nov 05, 2002 at 10:25:23PM +0100, Gilles Lenfant wrote: That's the way I started to do the stuff but this requires too many Zope side xmlrpc handlers I should not need if accessing directly to the Zope objects. shamelessplug mode=again_and_again Did you try to manipulate your ZODB

Re: [Zope-dev] Using Zope from a console script

2002-11-05 Thread Leonardo Rochael Almeida
On Tue, 2002-11-05 at 18:46, Gilles Lenfant wrote: - Original Message - From: Leonardo Rochael Almeida [EMAIL PROTECTED] On Tue, 2002-11-05 at 17:27, Gilles Lenfant wrote: I tried (successfully) to play with Zope objects with console scripts using the hints in

Re: [Zope-dev] Using Zope from a console script

2002-11-05 Thread Gilles Lenfant
- Original Message - From: Jerome Alet [EMAIL PROTECTED] To: Gilles Lenfant [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:21 PM Subject: Re: [Zope-dev] Using Zope from a console script On Tue, Nov 05, 2002 at 10:25:23PM +0100, Gilles Lenfant wrote

Re: [Zope-dev] Using Zope from a console script

2002-11-05 Thread Gilles Lenfant
Leonardo, Thanks for that fast answer. But it's buggy for me (Zope 2.5.1/Python 2.1.3/FreeBSD) : bash-2.05a$ python ZServer/medusa/monitor_client.py localhost 8099 /usr/local/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub module is deprecated; please use re.sub()