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: 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 To: "python-list" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 Greetings all; I am trying to make a machine vision kit of modules work in linuxcnc, which= =20 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= =20 married to an RTAI equipt kernel version, has not been updated past=20 2.6.32-12x-RTAI. Those patches are very invasive but a 3.8.something=20 version is being worked on as we speak. But in the meantime, in an effort to debug the failure of the camera=20 application to work WITH linuxcnc, I ran the debug level up to maximum to=20 see if I might find the first point of failure, and get this on the console= =20 when linuxcnc is launched from the cli: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Xlib.protocol.request.QueryExtension parse error? unable to instantiate [/dev/video0] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Then it reverts to the normal traceback reporting the same thing but=20 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=20 plugged in, and the program "cheese" can display this cameras output just=20 fine using /dev/video0 as the src device. When cheese runs this camera, there is a several second delay while cheese= =20 is apparently talking to it to establish the correct output format before=20 cheese starts displaying its output, so I am wondering if an initialization= =20 time delay might be the fix, but I haven't a clue about how to go about=20 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 =2D-=20 "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." =2DEd Howdershelt (Author) My web page: is up! My views=20 =46rom 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.