Script randomly exits for seemingly no reason with strange traceback

inq1ltd inq1ltd at inqvista.com
Fri Feb 3 19:15:30 EST 2012


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).




More information about the Python-list mailing list