[Kubuntu] unfound icon error

Bug #156005 reported by Jonathan Riddell
4
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

I installed system-config-printer-applet on Kubuntu. On printing I get this error

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 210, in
maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/share/system-config-printer/applet.py", line 791, in handle_dbus_signal
    self.refresh ()
  File "/usr/share/system-config-printer/applet.py", line 648, in refresh
    self.check_state_reasons (c, my_printers)
  File "/usr/share/system-config-printer/applet.py", line 473, in check_state_reasons
    emblem = image.get_pixbuf ()
ValueError: image should be a GdkPixbuf or empty

It must be expecting an icon to be there which isn't unless you have Gnome installed. Either a dependency should be added or better it should do something sensible when it doesn't find the icon it expects.

Revision history for this message
Tim Waugh (twaugh) wrote :

Yes, it requires /usr/share/icons/gnome/22x22/status/{info,important,error}.png.

This code has changed since the package you are using was built. It now uses icon themes. Please try this:

python -c 'import gtk;t=gtk.icon_theme_get_default();t.load_icon("info",22,0)'
python -c 'import gtk;t=gtk.icon_theme_get_default();t.load_icon("important",22,0)'
python -c 'import gtk;t=gtk.icon_theme_get_default();t.load_icon("error",22,0)'

Do you get any errors?

Changed in system-config-printer:
status: New → Incomplete
Revision history for this message
wolfger (wolfger) wrote :

Over 7 months with no response. We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in system-config-printer:
status: Incomplete → Invalid
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.