
neap - issue #1
neap startup fails with the following TypeError: GdkPixbuf.add_alpha() argument 2 must be char, not int
What steps will reproduce the problem? 1. run neap with outdated python-gtk
What is the expected output? What do you see instead? Expected output is nothing, i.e. a running neap. Instead, users get the following message:
Traceback (most recent call last): File "neap", line 392, in <module> nap = nap() File "neap", line 90, in init self.update_pixbuf(self.get_current_desktop()) File "neap", line 185, in update_pixbuf self.pixbuf = self.pixbuf.add_alpha(True, 0x23, 0x57, 0xbd) TypeError: GdkPixbuf.add_alpha() argument 2 must be char, not int
Please use labels and text to provide additional information. The problem is that gtk.gdk.Pixbuf.add_alpha prior to PyGTK 2.15.2 seems to expect chars rather than ints to specify the alpha settings.
Comment #1
Posted on Mar 17, 2010 by Swift DogFixed.
Status: Fixed
Labels:
Type-Defect
Priority-Medium