[Zope-dev] Zope Futures discussion: your input

Chris McDonough chrism@digicool.com
Sat, 22 Jan 2000 11:07:12 -0500


Huh.

I guess it *is* a known issue.

I will search the collector for it and if it's not there, I'll add it.

Anthony Baxter wrote:
> 
> >>> Chris McDonough wrote                   ^^^^^^^^^^^^^^^^
> > > Talking about external methods I have a little problem with them: every
> > > time a method outputs to stdout zope bombs and you have to restart it.
> > > So we have to put try/except clauses around anything when an exception
> > > logged somewere would be much better in debugging the method. It is a
> > > problem of my installation, a known one or a feature?
> >
> > I don't think it's a known issue (at least by me)... can you reliably
> > reproduce it?
> 
> Make sure you redirect stdout and stderr if you're running from,
> e.g. /etc/rc.d
> 
> python z2.py > var/zope.stdout 2> var/zope.stderr
> 
> Otherwise, on some systems, you will get a bomb either
> a) as soon as you write to stdout
> b) as soon as you fill whatever your stdio buffer size is, and
> it tries to flush.
> 
> Anthony

-- 
Chris McDonough - Digital Creations, Inc.
Publishers of Zope - http://www.zope.org