Re: urllib2 problem with ports.

2006-06-16 Thread Ant
Fredrik Lundh wrote: > check your proxy configuration. most likely, your new machine is set up > to route all requests via a remote proxy. Here's me looking like a fool :-) The parts of the machine (eg Firefox, GAIM etc) that I'd set up use a direct connection - it looks like the guy who'd had

Re: urllib2 problem with ports.

2006-06-15 Thread Fredrik Lundh
Ant wrote: > This gives the output (Stack trace snipped - can post if required): > > urllib2.HTTPError: HTTP Error 502: Proxy Error ( The Uniform Resource > Locator (URL) does not use a recognized protocol. Either the protocol > This I believe is a problem with the addition of a non-default port

urllib2 problem with ports.

2006-06-15 Thread Ant
Hi all, I have just moved to a new machine, and so have installed the latest version of Python (2.4.3 - previously I believe I was running 2.4.2). Unfortunately this seems to have broken urllib2... An app I wrote for testing our web application makes heavy use of urllib2 against the localhost, an