[wxPython-users] X Errors on the command line

Josiah Carlson jcarlson at uci.edu
Mon Aug 14 09:01:49 PDT 2006


Donn Ingle <donn.ingle at gmail.com> wrote:
> 
> I am writing a wxPython app that will initially be called from the
> command-line using flags etc. When I start an app (any wxgtk/py app) it
> usually spits out X errors like:
> X Error: BadDevice, invalid or uninitialized input device 169
>   Major opcode:  147
>   Minor opcode:  3
>   Resource id:  0x0
> Failed to open device
> X Error: BadDevice, invalid or uninitialized input device 169
>   Major opcode:  147
>   Minor opcode:  3
>   Resource id:  0x0
> Failed to open device
> 
> Is there some way to suppress these so they don't appear?
> 
> (I don't want to call my python scripts from bash scripts so one can do
> 2>/dev/null type things.)

You are using KDE, right?  Perhaps on Kubuntu?  I've run into the same
problem with Kubuntu 6.06, and haven't found a way of getting rid of it. 
It doesn't seem to crash the application, but it is indeed annoying.

 - Josiah





More information about the wxpython-users mailing list