Script randomly exits for seemingly no reason with strange traceback

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Feb 4 03:47:49 CET 2012


On Fri, 03 Feb 2012 19:15:30 -0500, inq1ltd wrote:

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

If that were the case, the module wouldn't run at all, it would 
consistently raise SyntaxError before running.



-- 
Steven



More information about the Python-list mailing list