[Zope-CMF] ProtocolError with xml-rpc
Pascal Samuzeau
samuzeau@oreka.com
Wed, 05 Dec 2001 15:23:19 +0100
Hi,
I have a script as :
identifiant = 'NEwDocument'
import xmlrpclib
x=xmlrpclib.Server("http://127.0.0.1/MySite/Members/Samuzeau/")
x.invokeFactory('Document',identifiant)
When I run it I've got the following Error, and I can't do the rest of
the script
y=x.invokeFactory('Document',identifiant)
File "/usr/local/lib/python2.2/xmlrpclib.py", line 820, in __call__
return self.__send(self.__name, args)
File "/usr/local/lib/python2.2/xmlrpclib.py", line 974, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.2/xmlrpclib.py", line 847, in request
headers
xmlrpclib.ProtocolError: <ProtocolError for
127.0.0.1:8080/MySite/Members/Samuzeau/: 302 Moved Temporarily>
What is the problem ?
Sincerily
PS
--------------------------------------------------
Oreka ! Nous sommes l'internet moins cher !
Surfez 25% moins cher avec http://www.oreka.com