browser.py still using gtkhtml2 even though it has been removed from the deps

Bug #569246 reported by apavlov
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
setroubleshoot (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: setroubleshoot

While starting SELinux Troubleshooter, I get the following alert:

Opps, sealert hit an error!

Traceback (most recent call last):
  File "/usr/bin/sealert", line 972, in <module>
    run_as_dbus_service(username)
  File "/usr/bin/sealert", line 97, in run_as_dbus_service
    app = SEAlert(user, dbus_service.presentation_manager, watch_setroubleshootd=True)
  File "/usr/bin/sealert", line 597, in __init__
    from setroubleshoot.browser import BrowserApplet
  File "/usr/lib/pymodules/python2.6/setroubleshoot/browser.py", line 11, in <module>
    import gtkhtml2
ImportError: No module named gtkhtml2

Even though gtkhtml2 is not in the deps, it is actively used by browser.py:

(Line 393) self.detail_view, self.detail_doc = self.create_htmlview(self.scrolledwindow1)
(Line 397) self.summary_view, self.summary_doc = self.create_htmlview(self.scrolledwindow2)
(Line 575) view = gtkhtml2.View()
(Line 576) doc = gtkhtml2.Document()

---

$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

$ apt-cache policy setroubleshoot
setroubleshoot:
  Installed: 2.2.52-1ubuntu1
  Candidate: 2.2.52-1ubuntu1
  Version table:
 *** 2.2.52-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
apavlov (apavlov) wrote :

Should setroubleshoot probably be removed from lucid/universe, as it is entirely non-functional?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.