[Zope] Syntax error in XML-RPC How to?

Andrew Diller dillera@isc.upenn.edu
Thu, 9 Mar 2000 16:55:10 -0500


Ok, my syntax error was that I was replacing the username and password with strings and not putting them in
''.

That's fixed.

But I'm still having an error now.

Zope Traceback:

ba.py is the cut and pasted XML-PRC access code
request is the function in the script!

What am I missing here in trying to call this from a DTML-Method?

--------------------------

The specified object, request, was not found in module, ba.

                

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 209, in getObject
    (Info: ('/usr/local/zope/Extensions/ba.py', 'ba'))
Invalid Object Name: (see above)


-cut----