From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: Trying to use pygtk2 in a multithreaded python program dont work. Example dhcp-2130:WoZ$python Python 2.2.1 (#1, Aug 30 2002, 12:15:30) [GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import gtk >>> gtk.threads_init() Traceback (most recent call last): File "<stdin>", line 1, in ? RuntimeError: pygtk threading disabled at compile time >>> The effect of this is that _all_ other threads will freeze when gtk.mainloop() is run. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Start python 2. import threads/threadings and gtk 3. Start a new thread using either the threads or threading modules 4. Start gtk.mainloop() Actual Results: The initial threads will freeze Expected Results: All the threads should coexist peacefully Additional info:
I've been running pygtk2 rebuilt with threads for the past five months and had no problems.
*** This bug has been marked as a duplicate of 80908 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.