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


Groups > comp.lang.python > #19841

Script randomly exits for seemingly no reason with strange traceback

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 <bahamutzero8825@gmail.com>
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 <bahamutzero8825@gmail.com>
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" <python-list@python.org>
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 <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.5415.1328300143.27778.python-list@python.org> (permalink)
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

Show key headers only | View raw


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 <module>

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

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


Thread

Script randomly exits for seemingly no reason with strange traceback Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-03 14:14 -0600
  Re: Script randomly exits for seemingly no reason with strange traceback Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-03 23:25 +0000
    Re: Script randomly exits for seemingly no reason with strange traceback inq1ltd <inq1ltd@inqvista.com> - 2012-02-03 19:15 -0500
      Re: Script randomly exits for seemingly no reason with strange traceback Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-04 02:47 +0000
    Re: Script randomly exits for seemingly no reason with strange traceback Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-04 10:32 -0600
      Re: Script randomly exits for seemingly no reason with strange traceback Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-04 17:06 +0000
        Re: Script randomly exits for seemingly no reason with strange traceback Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-04 12:13 -0600
    Re: Script randomly exits for seemingly no reason with strange traceback Chris Angelico <rosuav@gmail.com> - 2012-02-05 07:43 +1100
      Re: Script randomly exits for seemingly no reason with strange traceback John Nagle <nagle@animats.com> - 2012-02-15 13:28 -0800
        Re: Script randomly exits for seemingly no reason with strange traceback Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-15 15:41 -0600

csiph-web