Hello, I discovered the same "feature" on Redhat 7.2 last week. It turns out that pygtk is compiled as part of the gnome-python package. PyGtk IS compiled with threads enabled. BUT someone applied a broken patch that conditionally call's g_thread_init in init_pygtk() based on the value of an environment variable. As written, the patch simply never allows g_thread_init to be called. Our solution was to arrange for g_thread_init to be called elsewhere before "import gtk".
Toby ----- Original Message ----- From: "Ivo van der Wijk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 10, 2001 3:31 PM Subject: Re: [pygtk] Threading problem/question > On Mon, Dec 10, 2001 at 11:01:32AM +0100, Ivo van der Wijk wrote: > > Hi all, > > > > Okay, I guess the redhat rpm doesn't have thread support or so - I compiled > pygtk myself (against python2.1), which fixes all problems again. > > Ivo > > -- > Drs. I.R. van der Wijk -=- > Brouwersgracht 132 Amaze Internet Services V.O.F. > 1013 HA Amsterdam, NL -=- > Tel: +31-20-4688336 Linux/Web/Zope/SQL/MMBase > Fax: +31-20-4688337 Network Solutions > Web: http://www.amaze.nl/ Consultancy > Email: [EMAIL PROTECTED] -=- > _______________________________________________ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
