apturl cannot find icon and exits

Bug #576021 reported by Enrique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
Triaged
Undecided
Unassigned
apturl (Ubuntu)
New
Undecided
Unassigned

Bug Description

 apturl fails immediately with the following errors:

# apturl apt:exaile
/usr/lib/python2.6/dist-packages/AptUrl/Helpers.py:47: DeprecationWarning: Accessed deprecated property Package.description, please see the Version class for alternatives.
  if pkgobj.description.count("\n") > 0:
/usr/lib/python2.6/dist-packages/AptUrl/Helpers.py:50: DeprecationWarning: Accessed deprecated property Package.description, please see the Version class for alternatives.
  summary = pkgobj.description
/usr/lib/python2.6/dist-packages/AptUrl/Helpers.py:56: DeprecationWarning: Accessed deprecated property Package.homepage, please see the Version class for alternatives.
  homepage = pkgobj.homepage
Traceback (most recent call last):
  File "/usr/bin/apturl-gtk", line 48, in <module>
    sys.exit(apturl.main())
  File "/usr/lib/python2.6/dist-packages/AptUrl/AptUrl.py", line 220, in main
    if not ui.askInstallPackage(apturl.package, sum, desc, homepage):
  File "/usr/lib/python2.6/dist-packages/AptUrl/gtk/GtkUI.py", line 155, in askInstallPackage
    dia.set_icon(gtk.icon_theme_get_default().load_icon('deb', 16, False))
glib.GError: Icon 'deb' not present in theme

 That makes imposible to install packages when clicking on apt: links

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Upstream bug confirmed. Apturl assumes that the icon theme has a "deb" icon, fail when it hasn't.

File "/usr/lib/python2.6/dist-packages/AptUrl/gtk/GtkUI.py", line 155, in askInstallPackage
    dia.set_icon(gtk.icon_theme_get_default().load_icon('deb', 16, False))
glib.GError: Icon 'deb' not present in theme

Marking as upstream.

Changed in linuxmint:
status: New → Triaged
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.