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

Date 2012-02-03 14:14 -0600
From Andrew Berg <bahamutzero8825@gmail.com>
Subject Script randomly exits for seemingly no reason with strange traceback
Newsgroups comp.lang.python
Message-ID <mailman.5415.1328300143.27778.python-list@python.org> (permalink)

Show all headers | 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