Python urllib2 problem: Name or service not known

Alex Borghgraef alexander.borghgraef at gmail.com
Tue Feb 28 10:50:24 CET 2012


On Feb 28, 1:36 am, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:
> On Mon, 27 Feb 2012 12:48:27 -0800, Alex Borghgraef wrote:
> > Hi all,
>
> > Some time ago I've written some python code to read video data off an IP
> > camera connected via a router to a laptop. Now I try to run this code on
> > a different laptop and router combination, but now I can't access the
> > camera.
>
> [...]
>
> Check your web proxy and firewall.

Hmm. Damn. I had disabled the proxy in .bashrc, but apparently the one
in /etc/bash.bashrc was still enabled. Thanks.

I'll still have to find out a way to get this thing working with proxy
enabled if I ever want to connect it to our overall network.

--
Alex



More information about the Python-list mailing list