https://bugs.gpodder.org/show_bug.cgi?id=911

           Summary: Crash in desktopfile.py:get_icon:GError: Unrecognized
                    image file format
           Product: gPodder
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=445)
 --> (https://bugs.gpodder.org/attachment.cgi?id=445)
Handle GError raised by pixbuf_new_from_file_at_size()

Crash in 2.0 reported via Fedora's ABRT:
https://bugzilla.redhat.com/show_bug.cgi?id=569111 . The code is the same in
today's git though. I've attached a patch to handle the GError.

desktopfile.py:59:get_icon:GError: Unrecognized image file format

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gpodder/gtkui/desktopfile.py", line
127, in get_applications_as_model
    result.append([app.name, app.cmd, app.get_icon()])
  File "/usr/lib/python2.6/site-packages/gpodder/gtkui/desktopfile.py", line
59, in get_icon
    return gtk.gdk.pixbuf_new_from_file_at_size(self.icon, 24, 24)
GError: Unrecognized image file format

Local variables in innermost frame:
self: <gpodder.gtkui.desktopfile.UserApplication object at 0x2fcb290>

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to