[Zope] IOError adding External Method

Dieter Maurer dieter@handshake.de
Tue, 25 Feb 2003 23:26:42 +0100


Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote at 2003-2-24 15:10 -0500:
 > ...
 > I just recently started writing an External Method, and just not tried to
 > add it to my Zope for the first time.
 > 
 > After correcting a couple of syntax errors, I got to this:
 > ...
 >   File /usr/local/Zope-2.5.1/lib/python/App/Extensions.py, line 145, in
 > getObject
 >     (Info: ('/usr/local/Zope-2.5.1/Extensions/urds.py', 'urds'))
 >   File /usr/local/lib/python2.1/warnings.py, line 92, in warn_explicit
 >   File /usr/local/lib/python2.1/warnings.py, line 98, in showwarning
 > IOError: [Errno 5] Input/output error

Python wants to issue a warning and can't because it can not write
to "stderr".

Redirect "stderr". Under Unix the "nohup" command does this for you.


Dieter