Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'cpython': 0.05; 'python': 0.08; 'line).': 0.09; 'time).': 0.09; 'this:': 0.15; 'received:209.85.161.174': 0.16; 'received:mail- gx0-f174.google.com': 0.16; 'linux': 0.17; '(which': 0.19; '(most': 0.21; 'runs': 0.23; '(where': 0.23; 'traceback': 0.24; 'windows': 0.26; 'testing': 0.26; 'remote': 0.27; 'bugs': 0.28; 'skip:" 30': 0.28; 'script': 0.28; 'print': 0.29; '(and': 0.29; 'terminate': 0.30; 'typically': 0.32; 'message-id:@gmail.com': 0.33; 'it.': 0.33; 'header:User-Agent:1': 0.33; 'to:addr:python- list': 0.33; 'weeks': 0.33; 'there': 0.33; 'this.': 0.33; 'received:209.85.161': 0.34; 'last):': 0.34; 'file': 0.35; 'run': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'subject:with': 0.38; 'received:192': 0.38; 'sometimes': 0.38; 'should': 0.38; 'received:192.168.1': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'most': 0.60; 'ever': 0.64; 'minutes': 0.65; 'blank': 0.74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=lAI5yK1nCUUejCotmbpFYE6kQLDjb2aSuyK9EhYRTO4=; b=tVRqCFpRfAO52DQWdg7mqZJ1FWYS6nHGk//2S0WtWrZLFdxWmkp8ktsF+/NFmqxJaV M8D2W0LfzsgaGESvzWVOorbKWzjA/GsXiYFWAHDJfnL0zT1bSSmNzWstqEkPWV14oBrJ AdZw2Yhr9drH317A3mP+WTftK/uJM7vEe2eqs= Date: Fri, 03 Feb 2012 14:14:57 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: "comp.lang.python" Subject: Script randomly exits for seemingly no reason with strange traceback X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328300143 news.xs4all.nl 6925 [2001:888:2000:d::a6]:53895 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19841 It's a rare occurrence, but sometimes my script will terminate and I get this: Traceback (most recent call last): File "C:\path\to\script\script.py", line 992, in That's it. And the line number is always the last line of the file (which in my case is a blank line). I have not seen this on Linux (where my script can run for days or weeks on a remote server), but only on Windows where I do most of my testing (and it typically only runs for minutes at a time). There may be bugs in my program, but I don't see how Python should ever print a traceback like this. -- CPython 3.2.2 | Windows NT 6.1.7601.17640