Hi, you are performing some GTK ops in the thread, aren't you? Consider calling that with gobject.idle_add, so they will run in main thread.
Please see pygtk threading/FAQ for details. Petr On Čt, 2013-12-26 at 22:45 +0200, Ronald Sayers wrote: > Hello, > > I just added a infobar into my application - > https://github.com/wifiextender/pshot and the uploading processes is > started in a new thread - > thread.start_new_thread(self.on_upload_clicked, > ("start_in_new_thread", )) . Once it reaches the point - if > resp_json['success']: , I get the following message, not every time > but it happens and closes the whole application: > > (pshot.py:5016): Gdk-WARNING **: pshot.py: Fatal IO error 11 (Resource > temporarily unavailable) on X server :0. > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
