Bug 642223 - Opps, sealert hit an error!
Summary: Opps, sealert hit an error!
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-python2-extras
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 645844 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-12 11:47 UTC by Martin Kho
Modified: 2011-06-13 01:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-09 13:09:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Kho 2010-10-12 11:47:39 UTC
Description of problem:
Opps, sealert hit an error!

Traceback (most recent call last):
  File "/usr/bin/sealert", line 978, in <module>
    run_as_dbus_service(username)
  File "/usr/bin/sealert", line 99, in run_as_dbus_service
    app = SEAlert(user, dbus_service.presentation_manager, watch_setroubleshootd=True)
  File "/usr/bin/sealert", line 599, in __init__
    from setroubleshoot.browser import BrowserApplet
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/browser.py", line 12, in <module>
    import gtkhtml2
ImportError: could not import gobject (could not find _PyGObject_API object)

Version-Release number of selected component (if applicable):
setroubleshoot-server-2.2.91-3.fc15.x86_64

How reproducible:


Steps to Reproduce:
1. Wait till an AVC triggers seapplet
2. Open applet
3. Dialog appears with above error message
  
Actual results:
Error dialog opens, sealert browser doesn't

Expected results:
Sealert browser opens

Additional info:

There are more apps that are hit by this issue e.g. virt-manager. See also report [1]

[1] https://bugzilla.redhat.com/show_bug.cgi?id=638945

Comment 1 Steven Hadfield 2010-10-25 15:16:57 UTC
*** Bug 645844 has been marked as a duplicate of this bug. ***

Comment 2 Steven Hadfield 2010-10-25 15:18:30 UTC
More details can be found in the separate bug report that I marked as a duplicate: 645844

Comment 3 Martin Kho 2010-11-09 12:30:00 UTC
Hi,

This report can be closed, issue solved. See [1].

Thanks,

Martin Kho

[1] http://koji.fedoraproject.org/koji/buildinfo?buildID=201765

Comment 4 Ben Liblit 2011-05-04 20:43:48 UTC
This problem still appears (or has reappeared) in Fedora 15 beta, with gtkhtml2-2.11.1-11.fc15 and gnome-python2-gtkhtml2-2.25.3-22.fc15.  The easiest way to reproduce it is to run the following command:

    python -c 'import gtkhtml2'

This leads to an error diagnostic like the one originally described:

    ImportError: could not import gobject (could not find _PyGObject_API object)

This bug should be reopened.  I'd do that myself, but it seems I don't have
permission to do so: the "Status" field is not editable by me.

Comment 5 Ben Liblit 2011-06-13 01:28:35 UTC
Running the command I suggested in comment #4 gives no error at all under the released (no-longer-beta) Fedora 15 with gtkhtml2-2.11.1-11.fc15 and gnome-python2-gtkhtml2-2.25.3-31.fc15.  OK, good, seems to work for me now!


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