[Tutor] http connection, windows xp
t sr
tsr9988 at yahoo.com
Tue Jun 7 21:38:47 CEST 2005
I'm having trouble getting a script to make an
internet connection with my windows xp laptop with a
wireless connection. It works fine on my desktop with
a dial-up connection;
page = urllib.urlopen(my_URL).read()
gives the message;
Traceback (most recent call last):
File "C:/Python24/test.py", line 475, in -toplevel-
main()
File "C:/Python24/test.py", line 393, in main
entries = parse_category(cat)
File "C:/Python24/test.py", line 366, in
parse_category
page = urllib.urlopen(URL_CAT % cat).read()
File "C:\Python24\lib\urllib.py", line 77, in
urlopen
return opener.open(url)
File "C:\Python24\lib\urllib.py", line 180, in open
return getattr(self, name)(url)
File "C:\Python24\lib\urllib.py", line 296, in
open_http
h.endheaders()
File "C:\Python24\lib\httplib.py", line 794, in
endheaders
self._send_output()
File "C:\Python24\lib\httplib.py", line 675, in
_send_output
self.send(msg)
File "C:\Python24\lib\httplib.py", line 642, in send
self.connect()
File "C:\Python24\lib\httplib.py", line 626, in
connect
raise socket.error, msg
IOError: [Errno socket error] (10060, 'Operation timed
out')
I've tried turning off the firewall and tinkering with
windows networking properties to no avail.
I'm new to python, can someone please help me get a
clue :)
T sR
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Tutor
mailing list