Thanks for the feedback. I really appreciate it.
Charlie Nolan wrote:
(python:31706): Gdk-WARNING **: gdkdrawable-x11.c:878 drawable is not a
pixmap or window
The program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 54 error_code 3 request_code 18 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.)
I have no clue what is causing this. I know wx and pygame isnt supposed
to be used together, but it works on windows yet Im wondering what I
have to do to get it to play nice in linux. Maybe someone from the
mailing list can help?
Traceback (most recent call last):
File "wxSol.py", line 1768, in OnCountDown
self.RefreshSingle()
File "wxSol.py", line 2172, in RefreshSingle
self.CalcElemPerc()
File "wxSol.py", line 2231, in CalcElemPerc
info = self.elements[int(num)]
KeyError: -1
I think I've fixed this bug. Something about an invalid key and uploaded
a new version.
Thanks again.
Cheers
Astan