[Zope] Syntax error in XML-RPC How to?
Andrew Diller
dillera@isc.upenn.edu
Thu, 9 Mar 2000 16:21:15 -0500
On Thu, Mar 09, 2000 at 12:56:42PM -0800, Michel Pelletier wrote:
> What's the traceback embedded in the HTML source of the error page?
>
> It will point you directly to where the syntax error is.
>
> -Michel
>
Well, it dosen't point to much, IMHO.
Traceback (innermost last):
File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in publish
File /usr/local/zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 165, in publish
File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_addExternalMethod)
File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
(Object: manage_addExternalMethod)
File /usr/local/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 125, in
manage_addExternalMethod
File /usr/local/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 167, in __init__
(Object: ba)
File /usr/local/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 186, in manage_edit
(Object: ba)
File /usr/local/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 195, in getFunction
(Object: ba)
File /usr/local/zope/lib/python/App/Extensions.py, line 205, in getObject
(Info: ('/usr/local/zope/Extensions/ba.py', 'ba'))
SyntaxError: (see above)
I've named the python script ba.py.
Is using 'request' proper for the 'Function name?'
thanks,
andy