hi Alexander, I use Zope as an XML-RPC server for VB clients, and made the upgrade to 2.6 with no problems. if you specify a server URL without a path component, e.g. http://myserver:8080 then the path component /RPC2 is added on by the client, in the python and VB implementations we use. the traceback indicates this is being searched for, but not found. do you have this folder in your zope root folder? this hasn't changed between 2.5.1 and 2.6.0 though, this shouldn't be the problem, just a thought. HTH a little Ben Alexander Tuchacek wrote:
hallo,
i wrote a python client that sends data to the zope server per xml-rpc, since i have changed to zope 2.6 the xml-rpc comunication does not worke any more? i have testet also with the beta drivers from http://www.pythonware.com/products/xmlrpc/index.htm, the same.
does anybody have an idea whats wrong ? is this a known problem? by the way, a java client had no problem to access the zope objects per xml-rpc on the 2.6 server!
many thanks for help, alex
zope 2.4:
import from xmlrpclib * url = 'http://myserver:8080' server = Server(url) print server.test.reflector("sxxx","cxxxxxxx") ['sxxx', 'cxxxxxxx']
zope 2.6:
print server.test.reflector("sxxx","cxxxxxxx") Traceback (most recent call last): File "<stdin>", line 1, in ? File "xmlrpclib.py", line 986, in __call__ return self.__send(self.__name, args) File "xmlrpclib.py", line 1239, in __request verbose=self.__verbose File "xmlrpclib.py", line 1037, in request return self._parse_response(h.getfile(), sock) File "xmlrpclib.py", line 1138, in _parse_response return u.close() File "xmlrpclib.py", line 703, in close raise apply(Fault, (), self._stack[0]) xmlrpclib.Fault: <Fault -2: 'Unexpected Zope error value: \nTraceback (most recent call last):\n File "/usr/local/Zope-2.6.0-linux2-x86 /lib/python/ZPublisher/Publish.py", line 150, in publish_module\n response = publish(request, module_name, after_list, debug=debug)\n File "/usr/local/Zope-2.6.0-linux2-x86/lib/python/ZPublisher/Publish.py", line 114, in publish\n sys.exc_info()[2],\n File "/usr/l ocal/Zope-2.6.0-linux2-x86/lib/python/ZPublisher/Publish.py", line 89, in publish\n object=request.traverse(path, validated_hook=vali dated_hook)\n File "/usr/local/Zope-2.6.0-linux2-x86/lib/python/ZPublisher/BaseRequest.py", line 299, in traverse\n subobject=object .__bobo_traverse__(request,entry_name)\n File "/usr/local/Zope-2.6.0-linux2-x86/lib/python/OFS/Application.py", line 106, in __bobo_tra verse__\n try: REQUEST.RESPONSE.notFoundError("%s\\n%s" % (name, method))\n File "/usr/local/Zope-2.6.0-linux2-x86/lib/python/ZPubli sher/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 r esource 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'>
http://www.krcf.org tel: +49 175 7764011 fax: +49 221 135422 callto:snmdir.ath.cx/tuchacek GnuPG/PGP public key ID 52993D8D
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )