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 directly

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

2010-02-23 Thread MattB
On Feb 20, 7:00 pm, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Sat, 20 Feb 2010 18:28:16 +, Martin P. Hellwig wrote: On 02/20/10 00:20, MattB wrote: cut Also, based on Martin's comment, I just wanted to make you all aware that I intend no misuse, but rather am

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

2010-02-20 Thread MattB
On Feb 20, 2:02 am, Lie Ryan lie.1...@gmail.com 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

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, MattB

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 lie.1...@gmail.com 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

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: cut 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. cut It wasn't my intention to imply that, rather the opposite, that if some BOFH would see your

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: cut 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. cut It wasn't my intention to imply

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

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 mattbar...@gmail.com 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

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 mattbar...@gmail.com 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

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

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

2010-02-19 Thread MattB
On Feb 19, 6:02 pm, Martin P. Hellwig martin.hell...@dcuktec.org 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

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

2010-02-19 Thread MattB
On Feb 19, 7:20 pm, MattB mattbar...@gmail.com wrote: On Feb 19, 6:02 pm, Martin P. Hellwig martin.hell...@dcuktec.org 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

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 mattbar...@gmail.com wrote: On Feb 19, 7:20 pm, MattB mattbar...@gmail.com wrote: On Feb 19, 6:02 pm, Martin P. Hellwig martin.hell...@dcuktec.org wrote: On 02/19/10 21:48, MattB wrote: Hey all, I've been working on a program that accesses my

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

2010-02-19 Thread MattB
On Feb 19, 8:28 pm, Chris Rebert c...@rebertia.com wrote: On Fri, Feb 19, 2010 at 5:06 PM, MattB mattbar...@gmail.com wrote: On Feb 19, 7:20 pm, MattB mattbar...@gmail.com wrote: On Feb 19, 6:02 pm, Martin P. Hellwig martin.hell...@dcuktec.org wrote: On 02/19/10 21:48, MattB wrote:

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 you. If