Missing dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gpodder (Ubuntu) |
Fix Released
|
Low
|
Thomas Perl |
Bug Description
Binary package hint: gpodder
After update to Kubuntu Maverick, gpodder would not start:
** Message: pygobject_
Plugin loaded: gpodder.soundcloud
Creating new from file gPodder
Traceback (most recent call last):
File "/usr/bin/gpodder", line 193, in <module>
gui.
File "/usr/lib/
gp = gPodder(bus_name, config)
File "/usr/lib/
BuilderWidg
File "/usr/lib/
GtkBuilderW
File "/usr/lib/
self.new()
File "/usr/lib/
self.
File "/usr/lib/
self.tray_icon = GPodderStatusIc
File "/usr/lib/
self.__icon = gtk.icon_
glib.GError: Icon 'gtk-dialog-
It seems that installing librsvg2-common resolved the startup issue, but when running gpodder from console, I still get:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
generate_
File "/usr/lib/
show_padlock, show_missing, icon_size, status_
File "/usr/lib/
icon = icon_theme.
GError: Icon 'gtk-dialog-
and the gui does not refresh the way it should (e.g. the downloads tab refreshes only when changing the tabs, I cannot see the list of episodes in each podcast etc.). It seems that librsvg2-common is not the only missing dependency...
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gpodder 2.6-1
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Thu Oct 14 07:23:07 2010
PackageArchitec
ProcEnviron:
LANGUAGE=
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: gpodder
tags: | added: patch |
Changed in gpodder (Ubuntu): | |
importance: | Undecided → Low |
The root of this problem seems to be that gtkui/model.py tries to load the icon specified by gtk.STOCK_ DIALOG_ QUESTION if a given icon cannot be found in the current theme. As far as I understand (I've never worked with GTK), this tends to refer to the icon named 'dialog-question' (see the Freedesktop naming convention [1]). However, in at least two popular icon themes, Oxygen and Tango, this icon is presently *not implemented* [2]. Thus load_icon throws an exception that isn't handled, and the program hangs.
I don't know what the nicest solution to this is, but the gPodder devs themselves suggest in their FAQ that one should simply install the Gnome icon theme and force usage of that [3]. This doesn't sound like a very nice approach to me; I mean, half the reason the Freedesktop icon conventions are around is precisely so programs can just refer to icons by their description, leaving it to the desktop environment to provide a consistent look and feel.
I've attached two patches that I think take care of the problem in a nicer way. However, I have no experience with GTK or the gPodder code in general, so things should perhaps be done differently.
PS: Should this bug perhaps be renamed? If one adds an extra icon theme dependency, users still have to force the use of it according to [3], which gives an inconsistent look (in the case of KDE a *very* inconsistent one).
[1] http:// standards. freedesktop. org/icon- naming- spec/icon- naming- spec-latest. html techbase. kde.org/ Projects/ Oxygen/ namingSpec/ status wiki.gpodder. org/wiki/ FAQs#Missing_ icons_on_ the_gpodder_ interface
[2] http://
[3] http://