Red Hat Bugzilla – Bug 219954
gtk2reactor.py needs to be fixed on FC6
Last modified: 2007-11-30 17:11:51 EST
In FC5 gobject was built into the gtk module, now in FC6 gobject has been
seperated out into the pygobject2 rpm. The gtk module in FC6 no longer supports
a gobject and gtk2reactor.py needs to be patched to accomodate this.
I am not sure on if this file has been fixed in FC7, but I know for a fact that
it is broken in FC6.
Please see attached patch. To demonstrate what has changed try:
on FC5 the above script will indicate it is included, in FC6+ an error occurs.
The patch I have attached fixes python-twisted for FC6+ in this regard. Please
communicate to upstream and apply updates to Fedora FC6, as I need this patch
for a package I am about to submit for review.
Created attachment 143871 [details]
Patch that fixes problem for me
the patch is probably not acceptable upstream since it will not be
A better approach is probably to hide away the difference by trying to import
either gobject or gtk._gobject as a "gobject" global and then keep the code as is.
That sounds good to me. My python is very rusty so I'm not sure how to do such
This problem seems to be fixed in python-twisted-core package.
Closing bug, if there is any reason why this bug should not be closed, then
reopen explaining why or add a dependency.