Bug 645844 - ImportError: could not import gobject (could not find _PyGObject_API object)
Summary: ImportError: could not import gobject (could not find _PyGObject_API object)
Keywords:
Status: CLOSED DUPLICATE of bug 642223
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-python2-extras
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-22 16:09 UTC by Steven Hadfield
Modified: 2010-10-25 15:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-25 15:16:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.