Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21825

Re: urllib.urlretrieve never returns???

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.057
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'am,': 0.12; '"import': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'okay,': 0.16; 'this:': 0.16; 'wrote:': 0.18; 'received:209.85.210.174': 0.21; 'received:mail- iy0-f174.google.com': 0.21; 'header:In-Reply-To:1': 0.22; 'hopefully': 0.24; 'tried': 0.27; "i'm": 0.28; 'message- id:@mail.gmail.com': 0.29; 'subject:skip:u 10': 0.29; 'sun,': 0.30; 'threads': 0.30; 'does': 0.32; 'someone': 0.34; 'to:addr :python-list': 0.35; 'however,': 0.35; 'received:google.com': 0.37; 'another': 0.37; 'received:209.85': 0.38; 'should': 0.38; 'right,': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'worth': 0.61; 'press': 0.69; '100%': 0.82; 'nagy': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=DtkcqBKDA4YQ6adcDLclHQBkguM+4L8hNVCl+fbpyFU=; b=wZnDM52H76Ji2t9557IKxRc0Q4opfQPhSkn5VyTRqBPJ9HvTKtPDQGyibgY5F5x9/W thW8ukNso50xhBJxKymz/jA49pWOWj3e5p8mz0/Blscj/QWsDsNDFKSrKzT20UKaRAG/ 0jZXpOA29IWzfWzrS4Xu0lUOsadEp2iARW8BaL7fpCwQM6KBgb+4yxXhZ8kv5Uncrsjo I8blGnBPmfAEKukjEI1l3cOKpfvSfCQd1di2jE8P9WVrZ8sM+KBly7rC6MaHjqo5njaN UZdydIt5vdpINpsj71ON1U8bXfnx+bcqci5au/Y9ZYs67GqsZfDjK/miOaLtwxgiLkq7 oBwg==
MIME-Version 1.0
In-Reply-To <4F64CA75.1060108@shopzeus.com>
References <4F649BFC.1080601@shopzeus.com> <CAPTjJmq+e1mpvbqCjJ3FsUkPtGcwTpSNgb9jDsO4trX9XDH6ew@mail.gmail.com> <4F64CA75.1060108@shopzeus.com>
Date Sun, 18 Mar 2012 04:53:24 +1100
Subject Re: urllib.urlretrieve never returns???
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.762.1332006806.3037.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1332006807 news.xs4all.nl 6951 [2001:888:2000:d::a6]:44118
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21825

Show key headers only | View raw


On Sun, Mar 18, 2012 at 4:31 AM, Laszlo Nagy <gandalf@shopzeus.com> wrote:
> You are right, I should have added "import traceback". However, I tried
> this:
>
>        except:
>            self.Log("Exception")
>
> and still nothing was logged. Another proof is that the number of threads is
> increased every time I press the button. So I'm 100% sure that urlretrieve
> does not return from the call.

Okay, was worth a shot! Hopefully someone else can help more.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: urllib.urlretrieve never returns??? Chris Angelico <rosuav@gmail.com> - 2012-03-18 04:53 +1100

csiph-web