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


Groups > comp.lang.python > #52659

Need somebody schmardter than me

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.041
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'scripts': 0.03; ';-)': 0.03; 'output': 0.05; 'debug': 0.07; 'meantime,': 0.09; 'output,': 0.09; 'runs': 0.10; 'python': 0.11; 'gui': 0.12; 'displaying': 0.16; 'exists,': 0.16; 'officer"': 0.16; 'patches': 0.16; 'seconds.': 0.16; 'soap,': 0.16; 'src': 0.16; 'start?': 0.16; 'url:shtml': 0.16; 'skip:= 10': 0.16; 'all.': 0.16; 'bit': 0.19; 'trying': 0.19; 'starts': 0.20; 'seems': 0.21; 'machine': 0.22; 'now?': 0.24; 'parse': 0.24; 'fine': 0.24; 'cheers,': 0.24; "haven't": 0.24; 'second': 0.26; 'point': 0.28; 'correct': 0.29; 'wondering': 0.29; 'reporting': 0.29; 'apparently': 0.31; 'install,': 0.31; 'worked': 0.33; 'running': 0.33; 'call.': 0.33; 'to:name:python-list': 0.33; 'url:non-standard http port': 0.33; 'copying': 0.34; 'updated': 0.34; 'maybe': 0.34; 'problem': 0.35; 'received:66': 0.35; 'display': 0.35; 'created': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'controls': 0.36; 'up!': 0.36; 'thanks': 0.36; 'should': 0.36; 'effort': 0.37; 'application': 0.37; 'so,': 0.37; 'two': 0.37; 'list': 0.37; 'level': 0.37; 'being': 0.38; 'version,': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'unable': 0.39; 'how': 0.40; 'dangerous': 0.60; 'received:unknown': 0.61; 'url:%20': 0.61; 'new': 0.61; 'establish': 0.61; 'numbers': 0.61; 'first': 0.61; 'header:Message-Id:1': 0.63; 'maximum': 0.63; 'subject:Need': 0.64; 'more': 0.64; 'talking': 0.65; 'greetings': 0.72; 'url:%1': 0.72; 'led': 0.72; 'million': 0.74; 'received:204': 0.75; 'hand': 0.80; '8.3': 0.84; 'all;': 0.84; 'cable': 0.84; 'citizens.': 0.84; 'boxes': 0.91; 'device.': 0.93; 'married': 0.93; 'hands': 0.96; 'kit': 0.97
X-Spam-Status No, score=-1.4 required=5.0
X-Spam-Level
From Gene Heskett <gheskett@wdtv.com>
To "python-list" <python-list@python.org>
Subject Need somebody schmardter than me
Date Sun, 18 Aug 2013 16:09:54 -0400
MIME-Version 1.0
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding quoted-printable
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.2.1376856608.19984.python-list@python.org> (permalink)
Lines 59
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376856608 news.xs4all.nl 15894 [2001:888:2000:d::a6]:46602
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52659

Show key headers only | View raw


Greetings all;

I am trying to make a machine vision kit of modules work in linuxcnc, which 
uses a lot of python for scripts and gui controls in the user interface.

This is on a Ubu 10.04.4 LTS install, which because linuxcnc is intimately 
married to an RTAI equipt kernel version, has not been updated past 
2.6.32-12x-RTAI.  Those patches are very invasive but a 3.8.something 
version is being worked on as we speak.

But in the meantime, in an effort to debug the failure of the camera 
application to work WITH linuxcnc, I ran the debug level up to maximum to 
see if I might find the first point of failure, and get this on the console 
when linuxcnc is launched from the cli:
================

Xlib.protocol.request.QueryExtension
parse error?
unable to instantiate [/dev/video0]

================

Then it reverts to the normal traceback reporting the same thing but 
quoting the line numbers of the two scripts that led to the failed call.

/dev/video0 exists, is created when the usb cable from the camera is 
plugged in, and the program "cheese" can display this cameras output just 
fine using /dev/video0 as the src device.

When cheese runs this camera, there is a several second delay while cheese 
is apparently talking to it to establish the correct output format before 
cheese starts displaying its output, so I am wondering if an initialization 
time delay might be the fix, but I haven't a clue about how to go about 
that in python despite my copying the list for what, a year or more now?

So, where should I start?

Heck, maybe I might learn a bit of python while running this one down. ;-)

Thanks all.

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)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
My views 
<http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml>
From 0 to "what seems to be the problem officer" in 8.3 seconds.
		-- Ad for the new VW Corrado
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 | NextNext in thread | Find similar | Unroll thread


Thread

Need somebody schmardter than me Gene Heskett <gheskett@wdtv.com> - 2013-08-18 16:09 -0400
  Re: Need somebody schmardter than me Roy Smith <roy@panix.com> - 2013-08-18 16:19 -0400
    Re: Need somebody schmardter than me Gene Heskett <gheskett@wdtv.com> - 2013-08-18 16:48 -0400
    Re: Need somebody schmardter than me Chris Angelico <rosuav@gmail.com> - 2013-08-18 22:20 +0100
  Re: Need somebody schmardter than me Gene Heskett <gheskett@wdtv.com> - 2013-08-18 19:33 -0400

csiph-web