Re: Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
thanks all ! I've solved this problem: Let me show my net environment first. My pc is in a local network, and through a proxy server can I reach the Internet, so I changed my Internet Settings. It seems that everything goes well, I can surf Internet, etc, but what a pity, I can't resolve a host

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread Heiko Wundram
beryan wrote: > El Fri, 23 Dec 2005 05:18:30 -0800, iclinux escribió: >> gaierror: (11001, 'getaddrinfo failed') > Take a look over firewall settings and give Python rights for accesing > port 80 Well, rather he should take a look at allowing Python to resolve host names. That's what this error is

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread beryan
El Fri, 23 Dec 2005 05:18:30 -0800, iclinux escribió: > I can visit those two websites above, but when I run your code, I get > those errors(BTW,I have closed my firewall > ): > import socket socket.getaddrinfo("www.xmethods.net", 80) > > Traceback (most recent call last): > File "",

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread David Wahler
Istvan Albert wrote: > I remeber once I had truly puzzling problem that manifested itself the > same way ... Firefox and cygwin python would work fine but the windows > python would raise errors when trying to connect via http ... > > ... finally I realized that the day before IE was set to use a p

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread Istvan Albert
must be something with your settings ... I remeber once I had truly puzzling problem that manifested itself the same way ... Firefox and cygwin python would work fine but the windows python would raise errors when trying to connect via http ... ... finally I realized that the day before IE was s

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
I can visit those two websites above, but when I run your code, I get those errors(BTW,I have closed my firewall ): >>> import socket >>> socket.getaddrinfo("www.xmethods.net", 80) Traceback (most recent call last): File "", line 1, in -toplevel- socket.getaddrinfo("www.xmethods.net", 80) g

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I'm reading DiveIntoPython these days. When running code of "Example > 12.11. Calling A Web Service Through A WSDL Proxy", I got some errors > as follow. Will you please give me some suggestion? > gaierror: (11001, 'getaddrinfo failed') this usually means that your com

Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
Environment: WinXP SP2 + Python 2.4.2, with SOAPpy-0.11.6.zip, fpconst-0.7.2.zip, and PyXML-0.8.4.win32-py2.4.exe installed. Problem: I'm reading DiveIntoPython these days. When running code of "Example 12.11. Calling A Web Service Through A WSDL Proxy", I got some errors as follow. Will you plea

Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
Environment: WinXP SP2 + Python 2.4.2, with SOAPpy-0.11.6.zip, fpconst-0.7.2.zip, and PyXML-0.8.4.win32-py2.4.exe installed. Problem: I'm reading DiveIntoPython these days. When running code of "Example 12.11. Calling A Web Service Through A WSDL Proxy", I got some errors as follow. Will you plea