Is there something wrong with XML-RPC client and Zope 2.6.0 ?
Things that worked perfectly with Zope 2.5.1 don't work any more !

Even when I make a "hello world" Python script handler like
## Script (Python) "xtest"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
return 'Hello world'

And from a console :

$ cd /zope/root/lib/python (using xmlrpclib provided with Zope 2.6.0)

>>> from xmlrpclib import Server
>>> s = Server('http://localhost')
>>> s.xtest()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/home/zope/Zope-2.6.0-src/lib/python/xmlrpclib.py", line 829, in
    return self.__send(self.__name, args)
  File "/usr/home/zope/Zope-2.6.0-src/lib/python/xmlrpclib.py", line 983, in
  File "/usr/home/zope/Zope-2.6.0-src/lib/python/xmlrpclib.py", line 861, in
    return self.parse_response(h.getfile())
  File "/usr/home/zope/Zope-2.6.0-src/lib/python/xmlrpclib.py", line 904, in
    return u.close()
  File "/usr/home/zope/Zope-2.6.0-src/lib/python/xmlrpclib.py", line 579, in
    raise apply(Fault, (), self._stack[0])
xmlrpclib.Fault: <Fault -2: 'Unexpected Zope error value: \nTraceback (most
recent call last):\n  File
"/usr/home/zope/Zope-2.6.0-src/lib/python/ZPublisher/Publish.py", line 150,
in publish_module\n    response = publish(request, module_name, after_list,
debug=debug)\n  File
"/usr/home/zope/Zope-2.6.0-src/Products/Localizer/__init__.py", line 58, in
new_publish\n    x = Publish.old_publish(request, module_name, after_list,
debug)\n  File
"/usr/home/zope/Zope-2.6.0-src/lib/python/ZPublisher/Publish.py", line 114,
in publish\n    sys.exc_info()[2],\n  File
"/usr/home/zope/Zope-2.6.0-src/lib/python/ZPublisher/Publish.py", line 89,
in publish\n    object=request.traverse(path,
validated_hook=validated_hook)\n  File
"/usr/home/zope/Zope-2.6.0-src/lib/python/ZPublisher/BaseRequest.py", line
299, in traverse\n
subobject=object.__bobo_traverse__(request,entry_name)\n  File
"/usr/home/zope/Zope-2.6.0-src/lib/python/OFS/Application.py", line 106, in
__bobo_traverse__\n    try: REQUEST.RESPONSE.notFoundError("%s\\n%s" %
(name, method))\n  File
"/usr/home/zope/Zope-2.6.0-src/lib/python/ZPublisher/HTTPResponse.py", line
606, in notFoundError\n    "Sorry, the requested resource does not exist."
+\nNotFound:  \n \n\n \n \n \n\n \n   Site Error \n   An error was
encountered while publishing this resource.\n   \n    Resource not found
\n\n  Sorry, the requested resource does not exist. Check the URL and try
again.   Resource:  RPC2\nPOST \n   \n\n   Troubleshooting Suggestions \n\n
\n   The URL may be incorrect. \n   The parameters passed to this resource
may be incorrect. \n   A resource that this resource relies on may be\n
encountering an error. \n   \n\n   For more detailed information about the
error, please\n  refer to the HTML source for this page.\n   \n\n   If the
error persists please contact the site maintainer.\n  Thank you for your
patience.\n   \n  \n \n'>

(sorry for this long traceback...)

Did I miss something ?

Thanks in advance !


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to