Bug 645844

Summary: ImportError: could not import gobject (could not find _PyGObject_API object)
Product: [Fedora] Fedora Reporter: Steven Hadfield <hadfieldster>
Component: gnome-python2-extrasAssignee: Colin Walters <walters>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: walters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-25 15:16:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steven Hadfield 2010-10-22 16:09:13 UTC
Description of problem:
I just switched to rawhide from 13. Other than other issues faced, sealert has stopped working with the following error:
"""
Opps, sealert hit an error!

Traceback (most recent call last):
  File "/usr/bin/sealert", line 990, in <module>
    run_as_dbus_service(username)
  File "/usr/bin/sealert", line 110, in run_as_dbus_service
    app = SEAlert(user, dbus_service.presentation_manager, watch_setroubleshootd=True)
  File "/usr/bin/sealert", line 610, in __init__
    from setroubleshoot.browser import BrowserApplet
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/browser.py", line 11, in <module>
    import gtkhtml2
ImportError: could not import gobject (could not find _PyGObject_API object)
"""
I tried the last line: "import gtkhtml2" in python and found that it errors out (with the message below).
I can "import gobject" without any troubles, so I'm not sure not sure why this is unless this has to do with a version difference of 2.25.3 and 2.26.0

Version-Release number of selected component (if applicable):
gnome-python2-gtkhtml2-2.25.3-22.fc15.x86_64.rpm
gtkhtml2-2.11.1-9.fc15.x86_64
python-2.7-13.fc15.x86_64
pygobject2-2.26.0-4.fc15.x86_64
gnome-python2-extras-2.25.3-22.fc15.x86_64


How reproducible:
Everytime

Steps to Reproduce:
1. Run python in rawhide
2. "import gtkhml2"
  
Actual results:
"""
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: could not import gobject (could not find _PyGObject_API object)
"""

Expected results:
Package imported

Additional info:

Comment 1 Steven Hadfield 2010-10-25 15:16:57 UTC

*** This bug has been marked as a duplicate of bug 642223 ***