[MacPorts] #27254: MyPaint @0.9.0_0 Runtime error -crashes after launch

MacPorts noreply at macports.org
Wed Nov 10 17:35:08 PST 2010


#27254: MyPaint @0.9.0_0 Runtime error -crashes after launch
-----------------------------------+----------------------------------------
 Reporter:  catichenor@…           |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  new                    
 Priority:  Normal                 |   Milestone:                         
Component:  ports                  |     Version:  1.9.2                  
 Keywords:                         |        Port:  MyPaint                
-----------------------------------+----------------------------------------
Changes (by jmr@…):

  * keywords:  MyPaint gtk2 gnome-icon-theme =>
  * owner:  macports-tickets@… => ryandesign@…
  * milestone:  MacPorts 2.0.0 =>


Old description:

> After updating to 0.9.0_0 from MyPaint 0.8.2_0, MyPaint crashes after
> launch with the message:
>
> $ mypaint
>
> Xlib:  extension "RANDR" missing on display "/tmp/launch-
> ylr3pH/org.macosforge.xquartz:0".
> builtin python 2.6 json support
> confpath = /Users/chris/.mypaint/
> Warning: Where have all my icons gone?
> Theme search path: ('/opt/local/share/mypaint/desktop/icons',
> '/Users/chris/.icons', '/Users/chris/.local/share/icons',
> '/opt/local/share/icons', '/usr/local/share/icons', '/usr/share/icons',
> '/opt/local/share/pixmaps', '/usr/local/share/pixmaps',
> '/usr/share/pixmaps')
> /opt/local/share/mypaint/lib/helpers.py:115: DeprecationWarning:
> PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
>   arr = pixbuf.get_pixels_array()
> /opt/local/share/mypaint/gui/main.py:54: GtkWarning: Could not find the
> icon 'application-octet-stream'. The 'hicolor' theme
> was not found either, perhaps you need to install it.
> You can get a copy from:
>         http://icon-theme.freedesktop.org/releases
>   gtk.main()
> **
> Gtk:ERROR:gtkrecentmanager.c:1942:get_icon_fallback: assertion failed:
> (retval != NULL)
> Abort trap
>
> ---
>
> After downloading, compiling from source and installing from http://icon-
> theme.freedesktop.org/releases, the crash still occurs, with the message
> changed to:
>
> $ mypaint
>
> Xlib:  extension "RANDR" missing on display "/tmp/launch-
> ylr3pH/org.macosforge.xquartz:0".
> builtin python 2.6 json support
> confpath = /Users/chris/.mypaint/
> /opt/local/share/mypaint/lib/helpers.py:115: DeprecationWarning:
> PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
>   arr = pixbuf.get_pixels_array()
> **
> Gtk:ERROR:gtkrecentmanager.c:1942:get_icon_fallback: assertion failed:
> (retval != NULL)
> Abort trap
>
> ---
>
> Eventually I found a workaround at
> https://bugs.launchpad.net/ubuntu/+source/anjuta/+bug/651678
>
> I installed gnome-icon-theme via MacPorts, then created '~/.gtkrc-2.0'
> and added the line:
>  gtk-icon-theme-name = "gnome"

New description:

 After updating to 0.9.0_0 from MyPaint 0.8.2_0, MyPaint crashes after
 launch with the message:
 {{{
 $ mypaint

 Xlib:  extension "RANDR" missing on display "/tmp/launch-
 ylr3pH/org.macosforge.xquartz:0".
 builtin python 2.6 json support
 confpath = /Users/chris/.mypaint/
 Warning: Where have all my icons gone?
 Theme search path: ('/opt/local/share/mypaint/desktop/icons',
 '/Users/chris/.icons', '/Users/chris/.local/share/icons',
 '/opt/local/share/icons', '/usr/local/share/icons', '/usr/share/icons',
 '/opt/local/share/pixmaps', '/usr/local/share/pixmaps',
 '/usr/share/pixmaps')
 /opt/local/share/mypaint/lib/helpers.py:115: DeprecationWarning:
 PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
   arr = pixbuf.get_pixels_array()
 /opt/local/share/mypaint/gui/main.py:54: GtkWarning: Could not find the
 icon 'application-octet-stream'. The 'hicolor' theme
 was not found either, perhaps you need to install it.
 You can get a copy from:
         http://icon-theme.freedesktop.org/releases
   gtk.main()
 **
 Gtk:ERROR:gtkrecentmanager.c:1942:get_icon_fallback: assertion failed:
 (retval != NULL)
 Abort trap
 }}}
 ---

 After downloading, compiling from source and installing from http://icon-
 theme.freedesktop.org/releases, the crash still occurs, with the message
 changed to:
 {{{
 $ mypaint

 Xlib:  extension "RANDR" missing on display "/tmp/launch-
 ylr3pH/org.macosforge.xquartz:0".
 builtin python 2.6 json support
 confpath = /Users/chris/.mypaint/
 /opt/local/share/mypaint/lib/helpers.py:115: DeprecationWarning:
 PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
   arr = pixbuf.get_pixels_array()
 **
 Gtk:ERROR:gtkrecentmanager.c:1942:get_icon_fallback: assertion failed:
 (retval != NULL)
 Abort trap
 }}}
 ---

 Eventually I found a workaround at
 https://bugs.launchpad.net/ubuntu/+source/anjuta/+bug/651678

 I installed gnome-icon-theme via MacPorts, then created '~/.gtkrc-2.0' and
 added the line:
  gtk-icon-theme-name = "gnome"

--

Comment:

 Please remember to preview and use WikiFormatting, and to cc the
 maintainer. As per the ticket guidelines, please don't set the Milestone
 field.

-- 
Ticket URL: <https://trac.macports.org/ticket/27254#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list