Re: Can't Access ANY url from python (errno 61)

2010-02-25 Thread Lie Ryan
On 02/24/10 17:07, MattB wrote: > All -- problem solved. Following Lie's suggestions, and the links > from those pages, I went hunting around in my /library/preferences/ > SystemConfiguration/. I opened all of the 6 or 7 files that were in > there, and all looked as if they contained info directl

Re: Can't Access ANY url from python (errno 61)

2010-02-23 Thread MattB
On Feb 20, 7:00 pm, Steven D'Aprano wrote: > On Sat, 20 Feb 2010 18:28:16 +, Martin P. Hellwig wrote: > > On 02/20/10 00:20, MattB wrote: > > > > >> Also, based on Martin's comment, I just wanted to make you all aware > >> that I intend no misuse, but rather am just trying to learn, as I'm a

Re: Can't Access ANY url from python (errno 61)

2010-02-20 Thread Steven D'Aprano
On Sat, 20 Feb 2010 18:28:16 +, Martin P. Hellwig wrote: > On 02/20/10 00:20, MattB wrote: > >> >> Also, based on Martin's comment, I just wanted to make you all aware >> that I intend no misuse, but rather am just trying to learn, as I'm a >> programming noob. > > It wasn't my intention to

Re: Can't Access ANY url from python (errno 61)

2010-02-20 Thread Martin P. Hellwig
On 02/20/10 00:20, MattB wrote: Also, based on Martin's comment, I just wanted to make you all aware that I intend no misuse, but rather am just trying to learn, as I'm a programming noob. It wasn't my intention to imply that, rather the opposite, that if some BOFH would see your action as m

Re: Can't Access ANY url from python (errno 61)

2010-02-20 Thread Lie Ryan
On 02/20/10 19:36, MattB wrote: > On Feb 20, 2:02 am, Lie Ryan wrote: >> On 02/20/10 13:32, MattB wrote: >> >> >> >>> I'm using the network in my own apartment. Not the campus's. >>> Moreover, my mac's MAC address is different from the MAC address shown >>> by my router, but as I said I'm also blo

Re: Can't Access ANY url from python (errno 61)

2010-02-20 Thread Shashwat Anand
throw up your 'ifconfig' and mozilla-proxy output here. It seems you don't know whether you are using proxy. For mozilla proxy : open mozilla -> cmd + "," -> Network -> Settings -> Paste everything that is there/ may be take a snapshot and upload a link. ~l0nwlf On Sat, Feb 20, 2010 at 2:06 PM,

Re: Can't Access ANY url from python (errno 61)

2010-02-20 Thread MattB
On Feb 20, 2:02 am, Lie Ryan wrote: > On 02/20/10 13:32, MattB wrote: > > > > > I'm using the network in my own apartment. Not the campus's. > > Moreover, my mac's MAC address is different from the MAC address shown > > by my router, but as I said I'm also blocked when using my friend's > > wirele

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread Lie Ryan
On 02/20/10 13:32, MattB wrote: > > I'm using the network in my own apartment. Not the campus's. > Moreover, my mac's MAC address is different from the MAC address shown > by my router, but as I said I'm also blocked when using my friend's > wireless router at his apartment. > > So it must be my

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread Shashwat Anand
try this : >>> url = 'http://www.google.com' >>> proxy = {'http': 'http://username:passw...@proxy:port'} >>> content = urllib.urlopen(url, proxies = proxy).read() Hopefully it should run without error. Second approach can be to check whether your environment variables are setup. $set will show y

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread MattB
On Feb 19, 8:28 pm, Chris Rebert wrote: > On Fri, Feb 19, 2010 at 5:06 PM, MattB wrote: > > On Feb 19, 7:20 pm, MattB wrote: > >> On Feb 19, 6:02 pm, "Martin P. Hellwig" > >> wrote: > >> > On 02/19/10 21:48, MattB wrote: > >> > > Hey all, > > >> > > I've been working on a program that accesses

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread Chris Rebert
On Fri, Feb 19, 2010 at 5:06 PM, MattB wrote: > On Feb 19, 7:20 pm, MattB wrote: >> On Feb 19, 6:02 pm, "Martin P. Hellwig" >> wrote: >> > On 02/19/10 21:48, MattB wrote: >> > > Hey all, >> >> > > I've been working on a program that accesses my school's password >> > > protected website and down

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread MattB
On Feb 19, 7:20 pm, MattB wrote: > On Feb 19, 6:02 pm, "Martin P. Hellwig" > wrote: > > > > > On 02/19/10 21:48, MattB wrote: > > > > Hey all, > > > > I've been working on a program that accesses my school's password > > > protected website and downloads directory names. I'm using mechanize. > >

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread MattB
On Feb 19, 6:02 pm, "Martin P. Hellwig" wrote: > On 02/19/10 21:48, MattB wrote: > > > Hey all, > > > I've been working on a program that accesses my school's password > > protected website and downloads directory names. I'm using mechanize. > > > Recently, the program has been unable to open the

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread Martin P. Hellwig
On 02/19/10 21:48, MattB wrote: Hey all, I've been working on a program that accesses my school's password protected website and downloads directory names. I'm using mechanize. Recently, the program has been unable to open the website, returning the 'errno 61 connection refused' error. I presum

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread Chris Rebert
On Fri, Feb 19, 2010 at 1:48 PM, MattB wrote: > Hey all, > > I've been working on a program that accesses my school's password > protected website and downloads directory names. I'm using mechanize. > > Recently, the program has been unable to open the website, returning > the 'errno 61 connection

Re: Can't Access ANY url from python (errno 61)

2010-02-19 Thread Jonathan Gardner
On Fri, Feb 19, 2010 at 1:48 PM, MattB wrote: > > I've been working on a program that accesses my school's password > protected website and downloads directory names. I'm using mechanize. > > Recently, the program has been unable to open the website, returning > the 'errno 61 connection refused' e

Can't Access ANY url from python (errno 61)

2010-02-19 Thread MattB
Hey all, I've been working on a program that accesses my school's password protected website and downloads directory names. I'm using mechanize. Recently, the program has been unable to open the website, returning the 'errno 61 connection refused' error. I presume the school's server was blocking