Python Crashes While trying to run GTK Script Help?

view story

http://askubuntu.com – I am using Ubuntu 12.04, While I am trying to run a python script developed for providing native GTK interaction with python, It crashes so does python. My Other GTK python programs are running smoothly. Please Provide any solution ! Thank you Here is error terminal gives Interactive console to manipulate GTK+ widgets. >>> [xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. python: ../../src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_ (HowTos)