Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.chainon-marquant.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.082 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'received:verizon.net': 0.07; 'line).': 0.09; 'this:': 0.15; 'received:10.20.55.1': 0.16; 'received:bosimpout01.eigbox.net': 0.16; 'received:east.verizon.net': 0.16; 'wrote:': 0.16; '(which': 0.19; '(most': 0.21; 'feb': 0.22; 'header:In-Reply-To:1': 0.22; 'traceback': 0.24; 'code': 0.25; 'module': 0.26; 'up.': 0.26; 'skip:" 30': 0.28; 'script': 0.28; 'closing': 0.30; 'fri,': 0.30; 'terminate': 0.30; 'andrew': 0.32; 'it.': 0.33; 'header:User- Agent:1': 0.33; 'to:addr:python-list': 0.33; 'last):': 0.34; 'something': 0.35; 'file': 0.35; 'charset:us-ascii': 0.36; 'but': 0.37; 'subject:with': 0.38; 'sometimes': 0.38; 'open': 0.38; 'received:71': 0.38; 'subject:: ': 0.39; 'move': 0.40; 'to:addr:python.org': 0.40; 'most': 0.60; 'your': 0.61; 'header:Received:6': 0.61; 'bottom': 0.63; 'blank': 0.74; 'below..': 0.84; 'received:10.20.18.15': 0.84; 'received:66.96.187': 0.84; 'received:bosauthsmtp15.eigbox.net': 0.84 X-EN-OrigOutIP: 10.20.18.15 X-EN-IMPSID: VcHJ1i0050KWaAJ01cHJb1 From: inq1ltd To: python-list@python.org Subject: Re: Script randomly exits for seemingly no reason with strange traceback Date: Fri, 03 Feb 2012 19:15:30 -0500 User-Agent: KMail/4.7.2 (Linux/2.6.37.6-0.11-desktop; KDE/4.7.2; i686; ; ) In-Reply-To: <4f2c6cec$0$29989$c3e8da3$5496439d@news.astraweb.com> References: <4f2c6cec$0$29989$c3e8da3$5496439d@news.astraweb.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-EN-UserInfo: ea107384e720a598200e9790e8ca8002:9d89a6cbd5a73a41b134431a25286195 X-EN-AuthUser: inq1ltd@inqvista.com Sender: inq1ltd X-EN-OrigIP: 71.246.145.198 X-EN-OrigHost: pool-71-246-145-198.rich.east.verizon.net X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328318382 news.xs4all.nl 6850 [2001:888:2000:d::a6]:35483 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19850 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 > > > > That's it. And the line number is always the last line of the file > > (which in my case is a blank line).