[Bug 873114] Re: gi._glib.GError: Icon 'deb' not present in theme
volinthius
873114 at bugs.launchpad.net
Fri Mar 2 20:40:29 UTC 2012
Similar specs (11.10, x86-64) and fixed this by using lookup_icon()
instead load_icon() in usr/lib/python2.7/dist-
packages/AptUrl/gtk/GtkUI.py. See attached patch for fix.
** Patch added: "apturl-deb-icon-lookup.patch"
https://bugs.launchpad.net/ubuntu/+source/apturl/+bug/873114/+attachment/2802747/+files/apturl-deb-icon-lookup.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apturl in Ubuntu.
https://bugs.launchpad.net/bugs/873114
Title:
gi._glib.GError: Icon 'deb' not present in theme
Status in “apturl” package in Ubuntu:
Confirmed
Bug description:
Trying to reproduce bug #872146, apturl fails for me with this error:
Traceback (most recent call last):
File "/usr/bin/apturl-gtk", line 48, in <module>
sys.exit(apturl.main())
File "/usr/lib/python2.7/dist-packages/AptUrl/AptUrl.py", line 172, in main
apturl_list = self.parseArgs()
File "/usr/lib/python2.7/dist-packages/AptUrl/AptUrl.py", line 151, in parseArgs
"%s" % str(e))
File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/GtkUI.py", line 53, in error
d = self._get_dialog(Gtk.MessageType.ERROR, summary, msg)
File "/usr/lib/python2.7/dist-packages/AptUrl/gtk/GtkUI.py", line 46, in _get_dialog
d.set_icon(Gtk.IconTheme.get_default().load_icon('deb', 16, False))
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
return info.invoke(*args, **kwargs)
gi._glib.GError: Icon 'deb' not present in theme
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apturl 0.5ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Wed Oct 12 15:31:54 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apturl
UpgradeStatus: Upgraded to oneiric on 2011-09-23 (19 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apturl/+bug/873114/+subscriptions
More information about the foundations-bugs
mailing list