Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.169 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.73; '*S*': 0.07; 'socket': 0.04; 'firewall': 0.09; 'exceptions.': 0.16; 'ideas?': 0.16; 'timeout': 0.16; 'header:In-Reply-To:1': 0.22; 'seconds': 0.26; 'import': 0.27; 'subject:skip:u 10': 0.29; 'disabled': 0.30; 'resources.': 0.30; 'does': 0.32; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.35; 'received:192': 0.38; 'to:addr:python.org': 0.40; 'rights': 0.68; 'received:62': 0.70; 'received:192.168.13': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:62.179.121.47': 0.84; 'received:upcmail.net': 0.84 X-SourceIP: 80.99.162.160 Date: Mon, 19 Mar 2012 20:32:03 +0100 From: Laszlo Nagy User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: urllib.urlretrieve never returns??? References: <4F649BFC.1080601@shopzeus.com> <4F66E687.2050008@shopzeus.com> In-Reply-To: <4F66E687.2050008@shopzeus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332185597 news.xs4all.nl 6970 [2001:888:2000:d::a6]:32809 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21905 The pythonw.exe may not have the rights to access network resources. >> Have you set a default timeout for sockets? >> >> import socket >> socket.setdefaulttimeout(10) # 10 seconds I have added pythonw.exe to allowed exceptions. Disabled firewall completely. Set socket timeout to 10 seconds. Still nothing. urllib.urlretrieve does not return from call.... any other ideas?