"This shouldn't happen, as this is only a warning." http://mail.python.org/pipermail/zope-collector-monitor/2002-August/000986.h... 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. Peter At 15:10 2003-02-24 -0500, Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
Hello,
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:
Site Error An error was encountered while publishing this resource. IOError Sorry, a site error occurred. Traceback (innermost last): File /usr/local/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /usr/local/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 114, in publish File /usr/local/Zope-2.5.1/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook File /usr/local/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 98, in publish File /usr/local/Zope-2.5.1/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: manage_addExternalMethod) File /usr/local/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: manage_addExternalMethod) File /usr/local/Zope-2.5.1/lib/python/Products/ExternalMethod/ExternalMethod.py, line 60, in manage_addExternalMethod File /usr/local/Zope-2.5.1/lib/python/Products/ExternalMethod/ExternalMethod.py, line 109, in __init__ (Object: checkurdsauth) File /usr/local/Zope-2.5.1/lib/python/Products/ExternalMethod/ExternalMethod.py, line 132, in manage_edit (Object: checkurdsauth) File /usr/local/Zope-2.5.1/lib/python/Products/ExternalMethod/ExternalMethod.py, line 139, in getFunction (Object: checkurdsauth) 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
Anyone know what could be causing this?
Thanks,
Jean-François Doyon Internet Service Development and Systems Support / Soutien de systèmes et developement de services Internet GeoAccess Division / Division GéoAccès Canada Center for Remote Sensing / Centre canadien de télédétection Natural Resources Canada / Ressources naturelles Canada Phone / Téléphone: (613) 992-4902 Fax / Télécopieur: (613) 947-2410 http://atlas.gc.ca
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )