[MacPorts] #46812: Unstable gdk-pixbuf2 @2.31.2 breaks MyPaint-devel (AttributeError: 'Pixbuf' object has no attribute 'savev')

MacPorts noreply at macports.org
Mon Feb 9 18:04:27 PST 2015

#46812: Unstable gdk-pixbuf2 @2.31.2 breaks MyPaint-devel (AttributeError: 'Pixbuf'
object has no attribute 'savev')
 Reporter:  suv-sf@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.3
 Keywords:            |       Port:  mypaint-devel, gdk-pixbuf2
 The latest unstable Gdk-pixbuf release (2.31.2) has internal changes which
 break its Python API. After the latest upgrade of gdk-pixbuf2 in MacPorts
 (r131845), MyPaint-devel now fails to save (files, thumbnails, config,
 INFO: lib.document: save_ora: u'/Users/a_user/.tmpsave.mypaint-save-
 test1.ora' (None, {'feedback_cb': <function gtk_main_tick at
 ERROR: lib.fileutils: Save method failed
 Traceback (most recent call last):
   File "/opt/local/share/mypaint/lib/fileutils.py", line 110, in
     save_result = save_method(self, temp_path, *args, **kwds)
   File "/opt/local/share/mypaint/lib/document.py", line 895, in save_ora
     thumbnail.savev(tmpfile, 'png', [], [])
 AttributeError: 'Pixbuf' object has no attribute 'savev'
 Traceback (most recent call last):
   File "/opt/local/share/mypaint/gui/filehandling.py", line 507, in
   File "/opt/local/share/mypaint/gui/filehandling.py", line 565, in
     save_method_reference(filename, **options)
   File "/opt/local/share/mypaint/gui/drawwindow.py", line 79, in wrapper
     func(self, *args, **kwargs)
   File "/opt/local/share/mypaint/gui/filehandling.py", line 317, in
   File "/opt/local/share/mypaint/gui/filehandling.py", line 370, in
   File "/opt/local/share/mypaint/lib/document.py", line 729, in save
     result = save(filename, **kwargs)
   File "/opt/local/share/mypaint/lib/fileutils.py", line 114, in
     raise ex
 AttributeError: 'Pixbuf' object has no attribute 'savev'


 Related comment in upstream bug tracker for gdk-pixbuf2:
 * https://bugzilla.gnome.org/show_bug.cgi?id=670372#c4
 Comment in same bug report referring to a commit with workaround
 implemented by another gdk-pixbuf client:
 * https://bugzilla.gnome.org/show_bug.cgi?id=670372#c7

 1. MacPorts switched to unstable gdk-pixbuf releases 4 months ago
 (r125860: 2.30.8 -> 2.31.1) - I do not know whether this was a requirement
 of one of the GNOME 3.14 ports at the time (current GTK+ 3.14 itself only
 [https://git.gnome.org/browse/gtk+/tree/configure.ac?h=gtk-3-14#n48 >=

    According to the comments in upstream bugzilla, the breakage occurred
 in latest unstable release 2.31.2.
 2. Above backtrace was obtained with current {{{MyPaint-devel
 @1.1.1.alpha.20141216+git.68f876fc_0}}} and earlier {{{gtk3
 @3.14.7_100+quartz}}} (local Portfile); MyPaint-devel fails to launch for
 me under {{{gtk3 @3.14.8_100 +quartz}}} (local Portfile) with an error
 unrelated to this ticket (and which could well be a local issue due to
 using several custom portfiles for the dependencies in local port repo).

Ticket URL: <https://trac.macports.org/ticket/46812>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list