[Zope] External Method Error.
Yee-Ba Andere
ingeniur@MailAndNews.com
Wed, 5 Jan 2000 01:56:25 -0500
I followed the External Method howto by brian to the tee. But i get back these
trace back errors:
traceback (innermost last):
File /home/whho/Zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
File /home/whho/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish
File /home/whho/Zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
File /home/whho/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish
File /home/whho/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_addExternalMethod)
File /home/whho/Zope/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: manage_addExternalMethod)
File /home/whho/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 125, in manage_addExternalMethod
File /home/whho/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 167, in __init__
(Object: upload_external)
File /home/whho/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 186, in manage_edit
(Object: upload_external)
File /home/whho/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 195, in getFunction
(Object: upload_external)
File /home/whho/Zope/lib/python/App/Extensions.py, line 205, in getObject
(Info: ('/home/whho/Zope/Extensions/upload.py', 'upload'))
SyntaxError: (see above)
I can't understand it. The filename I entered (without .py) is correct and
even i follow the Function name in my upload.py which is upload_external. I'm
loss.
I'm using zope2-1-1 binary from zope.org and running under Mandrake 6.0. Help
please!