[PyKDE] X Error

Martin P Holland m.holland at noether.freeserve.co.uk
Sun Jul 9 22:23:34 BST 2000


Hi there,

I've investigated a bit more. I've got this code inside a method

        print "process events"
        app=KApplication.getKApplication()
        app.processEvents()
        print "done"

and it bombs out with:

process events
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  3
Aborted (core dumped)

so it seems that the processEvents() is giving the error.

This method gets called repeatedly and it doesn't always dump core. In fact
each time I run the program I get a different result (maybe this is not so
surprising as the events to process will not always be the same on consecutive
runs)

Anyone seen anything similar?

atb

Martin

-- 
http://www.noether.freeserve.co.uk







More information about the PyQt mailing list