Re: Soemthing wrong w/ urllib module or something.

2007-09-05 Thread Lamonte Harris
Anyone got an answer for this? On 9/3/07, Lamonte Harris [EMAIL PROTECTED] wrote: Yeah I can browse it like normal. For some reason though my News System that worked like a charm just stopped working also. Is there any alternatives that I could try to use to POST to a PHP script? On

Re: Soemthing wrong w/ urllib module or something.

2007-09-05 Thread Daniel Larsson
Are you using http proxying when you browse to the server? Have you tried to do $ curl http://DOMAINHERE/ If that works, connecting with a plain socket should work too. Otherwise, I believe urllib has support for a proxying server, check the docs. On 9/5/07, Lamonte Harris [EMAIL PROTECTED]

Re: Soemthing wrong w/ urllib module or something.

2007-09-03 Thread Tim Golden
Lamonte Harris wrote: Error Message in cmd: Traceback (most recent call last): File wniamp_lastest5_playlist.py, line 25, in module response = urllib2.urlopen(request) File C:\Python25\lib\urllib2.py, line 121, in urlopen return _opener.open(url, data) File

Re: Soemthing wrong w/ urllib module or something.

2007-09-03 Thread Tim Golden
[Tim Golden] To do the obvious, can you open a socket connection to the domain you're using? code from socket import socket socket ().connect ((DOMAINHERE, 80)) /code or does it give you the same error? [Lamonte Harris] Yeah I basically got the same error. Traceback (most

Soemthing wrong w/ urllib module or something.

2007-09-02 Thread Lamonte Harris
Error Message in cmd: Traceback (most recent call last): File wniamp_lastest5_playlist.py, line 25, in module response = urllib2.urlopen(request) File C:\Python25\lib\urllib2.py, line 121, in urlopen return _opener.open(url, data) File C:\Python25\lib\urllib2.py, line 374, in open