Re: [Zope-Coders] Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 02:47, Guido van Rossum wrote: I'd like to compare notes on this. Where's the control script that you are using? I'm hoping that we can use (some future evolution of) zdaemon/{zdaemon,zdctl}.py in the Zope 2.7 trunk. This separates the concerns of - the actual

[Zope-dev] Weird BTrees/ZODB interaction under Solaris

2002-11-26 Thread Andreas Jung
I made the following reproducable observation running Zope 2.5 under Solaris: I was indexing a CMF site using TextIndexNG with about 1600 objects. During the commit phase (after all objects were indexed), the Zope process grow from about 100MB to more than 1.2GB. I could track this down to

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Tino Wildenhain
Hi Jamie, --On Montag, 25. November 2002 22:29 -0800 Jamie Heilman [EMAIL PROTECTED] wrote: * where possible, the banishment of environment variables as configuration. I have to say, I think this is a bad idea. What is it about environment variables do you find worthy of

Re: [Zope-dev] Weird BTrees/ZODB interaction under Solaris

2002-11-26 Thread Guido van Rossum
I made the following reproducable observation running Zope 2.5 under Solaris: I was indexing a CMF site using TextIndexNG with about 1600 objects. During the commit phase (after all objects were indexed), the Zope process grow from about 100MB to more than 1.2GB. I could track this down

Re: [Zope-dev] Weird BTrees/ZODB interaction under Solaris

2002-11-26 Thread Andreas Jung
--On Dienstag, 26. November 2002 08:35 -0500 Guido van Rossum [EMAIL PROTECTED] wrote: ... Could you try again with the C version, substituting a different malloc implementation, or Python 2.3 (which has effectively a different malloc for small blocks)? It could be a semi-bug in the platform

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 05:22, Tino Wildenhain wrote: Oh, while we are at it - how do I set an environment variable in a python script for use outside the script? E.g. like export does in shell scripts? Not from a Zope Python Script (it's restricted by the security machinery) but from any

[Zope-dev] (Zope 2.6) Buglett in ZODB.ConflictResolution (missing import)

2002-11-26 Thread Jo Meder
Just stumbled across a traceback in the logs that looks like a small bug in ZODB.ConflictResolution. In line 81 there's a reference to sys.exc_info() but sys is never imported in this module. Jo. -- Internetmanufaktur Jo Meder -- Berlin, Germany

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Tino Wildenhain
Hi, --On Dienstag, 26. November 2002 09:18 -0500 Chris McDonough [EMAIL PROTECTED] wrote: On Tue, 2002-11-26 at 05:22, Tino Wildenhain wrote: Oh, while we are at it - how do I set an environment variable in a python script for use outside the script? E.g. like export does in shell scripts?

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread R. David Murray
On Tue, 26 Nov 2002, Tino Wildenhain wrote: Tried it: os.environ['MYENVIRON']='FooBar' ^D echo $MYENVIRON nothing. What is wrong? rdmurray@stage:~cat temp.sh export TEST='abc' echo $TEST rdmurray@stage:~sh temp.sh abc rdmurray@stage:~echo $TEST ^ equally nothing. export (and

Re: [Zope-Coders] Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 10:39, Jeffrey P Shell wrote: * configure; make; make install installation I thought that there was an effort to use distutils, or to at least use a distutils-ish setup. What happened to that? It does use distutils, owing to the work of Matt Behrens and Shane on

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Jamie Heilman
Currently you configure Zope via a combination of z2.py switches and envvars. There are currently 40 Zope environment variables and 22 z2.py switches. Well you won't hear a peep out of me if z2.py gets the axe, as I mentioned I stopped using it long ago in favor of something that was only 39

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 11:28, Jamie Heilman wrote: Well you won't hear a peep out of me if z2.py gets the axe, as I mentioned I stopped using it long ago in favor of something that was only 39 lines and only did exactly what I needed and nothing more. z2.py is a dead man walking. ;-) I

Re: [Zope-Coders] Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Barry A. Warsaw
CM == Chris McDonough [EMAIL PROTECTED] writes: * configure; make; make install installation I thought that there was an effort to use distutils, or to at least use a distutils-ish setup. What happened to that? CM It does use distutils, owing to the work of Matt Behrens and

Re: [Zope-dev] Weird BTrees/ZODB interaction under Solaris

2002-11-26 Thread Dieter Maurer
Andreas Jung writes: ... Internally I call PyObject_SetItem() to store the word-wid mapping. PyObject_SetItem creates new references for key and value. Is this what you expect? I know, this should affect all platforms and be independent of whether or not the code runs within or outside

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Dieter Maurer
Chris McDonough writes: On Mon, 2002-11-25 at 20:42, [EMAIL PROTECTED] wrote: Could we get the Install and Configuration proposal cleaned up, with so many comments it's not clear what the actual proposal proposes to deliver now. Yes when possible. I agree that it is a bit of a

Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Chris McDonough
On Tue, 2002-11-26 at 13:56, Dieter Maurer wrote: * where possible, the banishment of environment variables as configuration. Please do not! Do not what? ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] MailHost from 2.5.1 does not work in 2.6.0

2002-11-26 Thread Clemens Robbenhaar
... moving discussion from [EMAIL PROTECTED] to [EMAIL PROTECTED] Actually the topic has been that the smtp_port attribute of a MailHost has changed type from string in 2.5.1 to int in 2.6.0 I guessed a little hint about this incompatibility in the release notes would have been nice,

[Zope-dev] Re: [Zope] MailHost from 2.5.1 does not work in 2.6.0, was: Script from 2.5.1 does not work with 2.6.0

2002-11-26 Thread Lennart Regebro
From: Clemens Robbenhaar [EMAIL PROTECTED] I guessed a little hint about this incompatibility in the release notes would have been nice, but I can find nothing in this regard. I don't think anybody really was aware of it... :-/ It has to be fixed to 2.6.1 of course. The question is: Should

Re: [Zope-Coders] Re: [Zope-dev] Moving forward with Zope 2.7

2002-11-26 Thread Chris McDonough
I have updated this proposal to be in line with the current goals: http://dev.zope.org/Wikis/DevSite/Proposals/InstallationAndConfiguration Thanks for poking me, - C On Mon, 2002-11-25 at 20:42, [EMAIL PROTECTED] wrote: Hi Could we get the Install and Configuration proposal cleaned up,