Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52347

Re: Am I not seeing the Error?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'syntax': 0.04; 'python3': 0.07; '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; 'jan': 0.12; 'itself.': 0.14; "'');": 0.16; 'py_compile': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'semicolon': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'errors.': 0.24; 'script': 0.25; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'statement': 0.30; 'file': 0.32; 'checking': 0.33; 'subject:the': 0.34; 'johnson': 0.35; 'but': 0.35; 'skip:j 20': 0.36; 'next': 0.36; 'subject:?': 0.36; 'should': 0.36; 'error.': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'skip:. 10': 0.39; 'delete': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'commands': 0.60; 'received:173': 0.61; 'skip:m 50': 0.68; 'below.': 0.71; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Am I not seeing the Error?
Date Sat, 10 Aug 2013 23:07:33 -0400
References <5206F4AB.8050204@Gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
In-Reply-To <5206F4AB.8050204@Gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.454.1376190470.1251.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376190471 news.xs4all.nl 15871 [2001:888:2000:d::a6]:36216
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52347

Show key headers only | View raw


On 8/10/2013 10:19 PM, 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.
>
> collier@Nacho-Laptop:/media/collier/AI/Pysh$ python3 -m py_compile
> ./beta_engine
>    File "./beta_engine", line 344
>      JOB_WRITEURGFILES =
> multiprocessing.Process(write2file('./mem/ENGINE_PID', ENGINEPID);

That should be a comma; so should the next semicolon below.

> write2file(SENTEMPPATH, ''); write2file(INPUTMEM, ''));

This last one is 'correct', but delete it

> JOB_WRITEURGFILES.start()

and put this statement on a line by itself.


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Am I not seeing the Error? Terry Reedy <tjreedy@udel.edu> - 2013-08-10 23:07 -0400

csiph-web