[wxpython-users] X Server Problem with the AUI resize

John Alexis Guerra Gómez john.guerra at gmail.com
Wed May 21 17:51:53 PDT 2008


Greetings, I have a serious problem with an application that I'm 
developing with wxPython. The Idea is to have two main Frames and have 
the ability to go from one to another using buttons and hiding and 
showing them.
I created a main Frame and a Secondary One. At the start of the program 
I create both windows both hide the second one, and when I push a button 
in the first window I hide the first one and show the second one. 
Everything works perfectly until I started using AUIs, I replaced the 
sizers of the second window with panes in AUIs and now, when I show the 
second window and try to resize the panes in the frame draging with the 
mouse I got this error:

The program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 44465 error_code 8 request_code 56 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


And the program completly crashes.

The weirdest part of the situation is that when I run the second window 
as an stand alone application everything works smothly.

Anyone has an idea of what's happening here? Please help

I'm using Debian Etch 4.0r3 with Python 2.4.4 , wxpython 2.8.7.1-0 from 
the deb packages, X.Org version: 7.1.1

Thanks

-- 
John Alexis Guerra Gómez
Jefe de Desarrollo / Chief Development Officer
DUTO - Ingeniería con Función Social / Engineering with Social Purpose
http://www.duto.org




More information about the wxpython-users mailing list