TypeError: Notify.Notification.set_icon_from_pixbuf() argument 1 must be gtk.gdk.Pixbuf, not None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
Undecided
|
Dustin Spicuzza |
Bug Description
Exaile 3.2.2
Ubuntu 11.10
Gnome3
I don't see any notification in Gnome3, but that's not the error. In console I saw:
Exception in thread Thread-24:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/share/
self.
TypeError: Notify.
from the notify osd plugin. This happened after the playlist finished, which may be coincidal.
Looking at the code in "/usr/share/
description: | updated |
Changed in exaile: | |
status: | New → Incomplete |
Changed in exaile: | |
status: | Fix Committed → Fix Released |
I don't think your patch is correct. Perhaps the correct fix would be to check for whether pixbuf is None, otherwise set some default pixbuf on it. If you move pixbuf up an indentation level, if it ever gets called there will be no pixbuf in that scope.