Re: urllib.urlopen fails in Emacs

2008-09-26 Thread Niklas Norrthon
On 26 Sep, 12:21, Wojtek Walczak <[EMAIL PROTECTED]> wrote: > On Fri, 26 Sep 2008 02:23:18 -0600, Iain Dalton wrote: > > InEmacs, using run-python, > > >     import urllib > >    urllib.urlopen('http://www.google.com/') > > > results in this traceback: > ... > >     IOError: [Errno socket error] (1

Re: urllib.urlopen fails in Emacs

2008-09-26 Thread Wojtek Walczak
On Fri, 26 Sep 2008 02:23:18 -0600, Iain Dalton wrote: > In Emacs, using run-python, > > import urllib > urllib.urlopen('http://www.google.com/') > > results in this traceback: ... > IOError: [Errno socket error] (111, 'Connection refused') > > It works fine from the command line. Why