A
Amit Goyal
Hi All,
I am new to Python and was trying the sample code on Dive into Python
for WSDL. Below is the error I get.
Traceback (most recent call last):
File "<pyshell#13>", line 4, in -toplevel-
print 'Light sensor value: ' + server._ns(namespace).readLSpercent
(int_1 = "1")
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 470, in
__call__
return self.__r_call(*args, **kw)
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 492, in
__r_call
self.__hd, self.__ma)
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 363, in
__call
config = self.config)
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 187, in
call
r.endheaders()
File "c:\Python24\lib\httplib.py", line 798, in endheaders
self._send_output()
File "c:\Python24\lib\httplib.py", line 679, in _send_output
self.send(msg)
File "c:\Python24\lib\httplib.py", line 646, in send
self.connect()
File "c:\Python24\lib\httplib.py", line 614, in connect
socket.SOCK_STREAM):
gaierror: (11001, 'getaddrinfo failed')
I am using Python 2.4.4 and the following versions.
'0.12.0'
Regards,
Amit
I am new to Python and was trying the sample code on Dive into Python
for WSDL. Below is the error I get.
Traceback (most recent call last):
File "<pyshell#13>", line 4, in -toplevel-
print 'Light sensor value: ' + server._ns(namespace).readLSpercent
(int_1 = "1")
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 470, in
__call__
return self.__r_call(*args, **kw)
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 492, in
__r_call
self.__hd, self.__ma)
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 363, in
__call
config = self.config)
File "c:\Python24\Lib\site-packages\SOAPpy\Client.py", line 187, in
call
r.endheaders()
File "c:\Python24\lib\httplib.py", line 798, in endheaders
self._send_output()
File "c:\Python24\lib\httplib.py", line 679, in _send_output
self.send(msg)
File "c:\Python24\lib\httplib.py", line 646, in send
self.connect()
File "c:\Python24\lib\httplib.py", line 614, in connect
socket.SOCK_STREAM):
gaierror: (11001, 'getaddrinfo failed')
I am using Python 2.4.4 and the following versions.
'0.12.0'
Regards,
Amit