[Zope] IOError adding External Method

Jerome Alet alet@librelogiciel.com
Tue, 25 Feb 2003 08:51:37 +0100


Hi,

On Mon, Feb 24, 2003 at 10:56:25PM +0000, Peter Bengtsson wrote:
> "This shouldn't happen, as this is only a warning."
> http://mail.python.org/pipermail/zope-collector-monitor/2002-August/000986.html
> 
> I.e. it's not expected behaviour.
> Write another External Method like foobar.py and contains only.
> 
> def Helloworl():
>         return "Hello World"
> 
> Let us know if that caused any problems.

you problem is most certainely a permissions problem on the filesystem.

you must ensure that the user Zope is run as can read the file which
contains your external method.

e.g. : chmod a+r externamethod.py

bye,

Jerome Alet