Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19850
| From | inq1ltd <inq1ltd@inqvista.com> |
|---|---|
| Subject | Re: Script randomly exits for seemingly no reason with strange traceback |
| Date | 2012-02-03 19:15 -0500 |
| References | <mailman.5415.1328300143.27778.python-list@python.org> <4f2c6cec$0$29989$c3e8da3$5496439d@news.astraweb.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5424.1328318382.27778.python-list@python.org> (permalink) |
Check your code in that module for open parenthesis something like below.. Most likely your code is looking for the closing parenthesis. Start at the bottom and move up. pink = str(self.RecordKey[2] <--missing ")" jimonlinux > On Fri, 03 Feb 2012 14:14:57 -0600, Andrew Berg wrote: > > 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).
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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