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!newsfeed6.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'handler': 0.04; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'exception': 0.12; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'received:wlfraed': 0.16; 'row': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'instance': 0.18; 'seems': 0.20; '(most': 0.21; 'url:home': 0.21; '(or': 0.22; '+0100,': 0.23; 'traceback': 0.24; 'figure': 0.26; 'separate': 0.28; "i'm": 0.28; '(even': 0.29; 'subject:skip:u 10': 0.29; 'lines': 0.30; 'threads': 0.30; 'least': 0.30; 'adds': 0.32; 'point,': 0.32; 'thread': 0.32; 'tue,': 0.32; 'named': 0.33; 'file': 0.34; 'header:X-Complaints- To:1': 0.34; 'lee': 0.34; 'last):': 0.34; 'probably': 0.35; 'to:addr:python-list': 0.35; 'install': 0.35; 'presence': 0.36; 'received:org': 0.36; 'charset:us-ascii': 0.37; 'received:76': 0.37; 'uses': 0.38; 'data': 0.38; "i'd": 0.39; 'logs': 0.39; 'to:addr:python.org': 0.40; 'card': 0.65; 'dennis': 0.73; 'catches': 0.84; 'nagy': 0.84; 'mere': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: urllib.urlretrieve never returns??? Date: Tue, 20 Mar 2012 17:14:06 -0400 Organization: > Bestiaria Support Staff < References: <4F649BFC.1080601@shopzeus.com> <4F66E687.2050008@shopzeus.com> <4f67c09b$0$29981$c3e8da3$5496439d@news.astraweb.com> <4F682CDC.5000703@shopzeus.com> <4F68E49C.2060000@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-253-99-231.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332278055 news.xs4all.nl 6917 [2001:888:2000:d::a6]:52535 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21953 On Tue, 20 Mar 2012 21:12:12 +0100, Laszlo Nagy declaimed the following in gmane.comp.python.general: > >>Unhandled exception in thread started by > Traceback (most recent call last): > > Traceback (most recent call last): > > Traceback (most recent call last): > of I'm not even going to attempt to figure out the traces -- the mere presence of THREE "Traceback (most..." lines in a row seems to be a clear indication that at least three failed threads are interleaving their output. At this point, I'd probably try to install a thread specific exception handler (even a wild card that catches all exceptions), which uses a logger instance to IDENTIFY which thread is involved, and adds that identification to the exception traceback data (or each thread logs to a separate file named by the thread ID). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/