[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] my 3d planet game



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

--
"Formulations of number theory: Complete, Consistent, Non-trivial. Choose two."


Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.