Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'parameters': 0.04; 'syntax': 0.04; 'subject:Error': 0.07; 'collier': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; "'');": 0.16; 'definition.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sat,': 0.16; 'wrote:': 0.18; '(not': 0.18; 'aug': 0.22; 'header:User-Agent:1': 0.23; 'errors.': 0.24; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'function': 0.29; 'wonder': 0.29; "skip:' 10": 0.31; 'file': 0.32; 'checking': 0.33; 'third': 0.33; 'subject:the': 0.34; 'johnson': 0.35; 'but': 0.35; 'there': 0.35; 'skip:j 20': 0.36; 'charset:us- ascii': 0.36; 'subject:?': 0.36; 'should': 0.36; 'error.': 0.37; 'two': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'commands': 0.60; 'first': 0.61; 'line,': 0.68; 'skip:m 50': 0.68; 'mistake': 0.91; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: Am I not seeing the Error? Date: Tue, 13 Aug 2013 21:16:18 +0000 (UTC) References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 174.32.174.30 User-Agent: XPN/1.2.6 (Street Spirit ; Linux) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 53 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1376428605 news.xs4all.nl 15947 [2001:888:2000:d::a6]:39475 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52473 Denis McMahon wrote: > On Sat, 10 Aug 2013 22:19:23 -0400, Devyn Collier Johnson wrote: > >> I am checking my 1292-line script for syntax errors. I ran the following >> commands in a terminal to check for errors, but I do not see the error. > >> JOB_WRITEURGFILES = >> multiprocessing.Process(write2file('./mem/ENGINE_PID', ENGINEPID); >> write2file(SENTEMPPATH, ''); write2file(INPUTMEM, '')); >> JOB_WRITEURGFILES.start() > > When I expand this out to one item per line, > > JOB_WRITEURGFILES = > multiprocessing.Process > ( > write2file > ( > './mem/ENGINE_PID' > , > ENGINEPID > ) > ; > write2file > ( > SENTEMPPATH > , > '' > ) > ; > write2file > ( > INPUTMEM > , > '' > ) > ) > ; > JOB_WRITEURGFILES.start() > > and I wonder (not being familiar with multiprocessing) if perhaps there > should have been a third ";" after the third write2file in the job > definition. > The mistake is not that it's missing the 3rd, but that the first two semicolons should have been commas. These are parameters to a function call multiprocessing.Process() -- Signature file not found