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
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
participants (2)
-
Dieter Maurer -
Jean-Francois.Doyon@CCRS.NRCan.gc.ca