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


Groups > comp.lang.python > #59993

Re: My first real request for help

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gheskett@wdtv.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.037
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'read.': 0.03; 'output': 0.05; 'root': 0.05; 'tries': 0.07; 'subject:help': 0.08; '__init__': 0.09; 'executable': 0.09; 'mailling': 0.09; 'python': 0.11; '(it': 0.16; '.py': 0.16; 'attributed': 0.16; 'errread,': 0.16; 'errwrite)': 0.16; 'soap,': 0.16; 'time"': 0.16; 'wrote:': 0.18; 'module': 0.19; 'subject:request': 0.19; '(in': 0.22; 'load': 0.23; 'error': 0.23; 'config': 0.24; 'expanded': 0.24; 'helper': 0.24; 'recognize': 0.24; 'decide': 0.24; 'cheers,': 0.24; 'skip:" 30': 0.26; 'switch': 0.26; 'post': 0.26; 'least': 0.26; 'somewhere': 0.26; 'skip:_ 20': 0.27; 'header:In-Reply- To:1': 0.27; 'tried': 0.27; 'point': 0.28; 'external': 0.29; 'quickly': 0.29; 'raise': 0.29; 'related': 0.29; "doesn't": 0.30; 'posting': 0.31; 'coded': 0.31; 'option.': 0.31; 'file': 0.32; 'probably': 0.32; 'run': 0.32; 'another': 0.32; 'open': 0.33; '(most': 0.33; 'not.': 0.33; 'skip:_ 10': 0.34; 'received:66': 0.35; 'something': 0.35; 'done.': 0.35; 'but': 0.35; 'version': 0.36; 'really': 0.36; 'much.': 0.36; 'otherwise.': 0.36; 'thanks': 0.36; 'should': 0.36; 'so,': 0.37; 'clear': 0.37; 'starting': 0.37; 'being': 0.38; 'thank': 0.38; 'nov': 0.38; 'to:addr:python- list': 0.38; 'that,': 0.38; 'recent': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'how': 0.40; 'even': 0.60; 'easy': 0.60; 'dangerous': 0.60; 'received:unknown': 0.61; 'new': 0.61; 'header:Message-Id:1': 0.63; 'such': 0.63; 'charset:windows-1256': 0.64; 'more': 0.64; 'attention.': 0.68; 'subject': 0.69; 'miss': 0.74; 'million': 0.74; 'received:204': 0.75; 'hand': 0.80; 'citizens.': 0.84; 'misses': 0.84; 'missing.': 0.84; 'plugins': 0.84; 'testers': 0.84; '150': 0.91; 'albert': 0.91; 'boxes': 0.91; 'hands': 0.96; '2013': 0.98
X-Spam-Status No, score=1.5 required=5.0
X-Spam-Level +
From Gene Heskett <gheskett@wdtv.com>
To python-list@python.org
Subject Re: My first real request for help
Date Tue, 19 Nov 2013 09:02:07 -0500
References <201311190431.15449.gheskett@wdtv.com> <20131119094922.GB9852@mjolnir.ximeswien.local>
In-Reply-To <20131119094922.GB9852@mjolnir.ximeswien.local>
MIME-Version 1.0
Content-Type Text/Plain; charset="windows-1256"
Content-Transfer-Encoding 7bit
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2911.1384869732.18130.python-list@python.org> (permalink)
Lines 82
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384869733 news.xs4all.nl 15947 [2001:888:2000:d::a6]:49160
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59993

Show key headers only | View raw


On Tuesday 19 November 2013 08:51:09 Albert Dengg did opine:

> On Tue, Nov 19, 2013 at 04:31:15AM -0500, Gene Heskett wrote:
> ...
> 
> > But when I switch in, as one of the plugins a new .py version of
> > camview- emc, I get this when I attempt to run linuxcnc -l, where the
> > -l is "use the same config as last time" option.
> > 
> > Starting LinuxCNC...
> > 
> > Traceback (most recent call last):
> >   File "/usr/bin/axis", line 3326, in <module>
> >   
> >     _dynamic_tabs(inifile)
> >   
> >   File "/usr/bin/axis", line 3182, in _dynamic_tabs
> >   
> >     child = Popen(cmd)
> >   
> >   File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
> >   
> >     errread, errwrite)
> >   
> >   File "/usr/lib/python2.6/subprocess.py", line 1139, in
> >   _execute_child
> >   
> >     raise child_exception
> > 
> > OSError: [Errno 2] No such file or directory
> > 
> > No clue, even when straced, as to what file might be missing.
> > 
> > So, how do I find out?
> 
> have you tried strace -e open -ff -ofile.log ?
> (it is easy to miss something in the strace output & and with -ff you
> also get subprocesses (in their own files, file.log.pid1,
> file.log.pid2,...)
> 
The man page for strace, doesn't point that out, at least clear enough to 
get my attention.

Thank you very much. I will do that, done.  Got another error on the 
terminal, something about the module helper not being setuid root.

module_helper is not setuid root
Realtime system did not load

This is associated with the expanded control strace now has, it is not 
present otherwise.

And about 150 file.log.pid's. :) That should take a while to read.

> this however, does not really look like a python problem, as from the
> look of it it misses some external executable it tries to Popen()

Hopefully I will find a clue.  Thanks again.
 
> so, you should probably on some linuxcnc/camview-emc related mailling
> list/forum.
> 
> regards,
> albert
> 
> ps: a more descriptive subject line would be helpfull for people to
> recognize what your post is about and then can quickly decide if they
> want to look at it or not.


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

How should I know if it works?  That's what beta testers are for.  I
only coded it.
		-- Attributed to Linus Torvalds, somewhere in a posting
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

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


Thread

Re: My first real request for help Gene Heskett <gheskett@wdtv.com> - 2013-11-19 09:02 -0500

csiph-web