Opened 14 years ago
Closed 12 years ago
#27254 closed defect (fixed)
MyPaint @0.9.0_0 Runtime error -crashes after launch
Reported by: | catichenor@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | maidaro@…, lang@… | |
Port: | MyPaint |
Description (last modified by jmroot (Joshua Root))
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"
Change History (14)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | MyPaint gtk2 gnome-icon-theme removed |
Milestone: | MacPorts 2.0.0 |
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:2 follow-up: 3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|
I changed MyPaint to depend on tango-icon-theme today. Does that help?
comment:3 Changed 14 years ago by catichenor@…
Replying to ryandesign@…:
I changed MyPaint to depend on tango-icon-theme today. Does that help?
After uninstalling the gnome-icon-theme, MyPaint and deleting .gtkrc-2.0 then reinstalling MyPaint, it still did not work until gnome-icon-theme and .gtkrc-2.0 were restored.
comment:5 Changed 14 years ago by catichenor@…
If I change the .gtkrc-2.0 file from
gtk-icon-theme-name = "gnome"
to
gtk-icon-theme-name = "tango"
The program launches and does not crash after startup, but brush strokes do not appear on the canvas. There is no unusual output from the terminal, either.
comment:8 Changed 14 years ago by philip.chimento@…
I think this should belong to the gtk2 port, because it affects many more GTK applications.
comment:9 Changed 13 years ago by jmroot (Joshua Root)
Cc: | catichenor@… removed |
---|
Is this still a problem with 0.9.1? If so, does installing hicolor-icon-theme help?
comment:10 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Is this still a problem with 1.0.0? I included a post-activate block that I hope fixes this problem.
comment:11 Changed 13 years ago by neukomp@…
How do I get MyPaint 1.0.0? I just ran
sudo port install mypaint +no_x11 +quartz
as per the MyPaint website and it tried to install 0.9.1. This install fails.
:notice:extract ---> Extracting mypaint :debug:extract setting option extract.cmd to /usr/bin/bzip2 :debug:extract Executing org.macports.extract (mypaint) :info:extract ---> Extracting mypaint-0.9.1.tar.bz2 :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/MyPaint/mypaint-0.9.1.tar.bz2' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/MyPaint/mypaint-0.9.1.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -' :debug:extract Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/MyPaint/mypaint-0.9.1.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf - :debug:extract euid/egid changed to: 0/0 :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work to macports :debug:extract euid/egid changed to: 502/503 :debug:extract Executing proc-post-org.macports.extract-extract-0 :info:extract xinstall: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/MyPaint/files/MyPaint.in -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/MyPaint :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Sat Nov 26 16:11:06 EST 2011 :debug:patch Executing org.macports.patch (mypaint) :notice:patch ---> Applying patches to mypaint :info:patch ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/MyPaint/files/patch-SConstruct.diff :debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1" && /usr/bin/patch -p0' :debug:patch Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/MyPaint/files/patch-SConstruct.diff' :info:patch patching file SConstruct :info:patch Hunk #4 succeeded at 81 (offset 6 lines). :debug:patch Executing proc-post-org.macports.patch-patch-0 :debug:patch euid/egid changed to: 0/0 :debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1/SConstruct to macports :debug:patch euid/egid changed to: 502/503 :debug:patch euid/egid changed to: 0/0 :debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1/SConstruct :debug:patch euid/egid changed to: 502/503 :debug:patch Executing proc-post-org.macports.patch-patch-1 :debug:patch euid/egid changed to: 0/0 :debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/MyPaint to macports :debug:patch euid/egid changed to: 502/503 :debug:patch euid/egid changed to: 0/0 :debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/MyPaint :debug:patch euid/egid changed to: 502/503 :debug:patch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Sat Nov 26 16:11:06 EST 2011 :notice:configure ---> Configuring mypaint :debug:configure Using compiler 'Mac OS X gcc 4.2' :debug:configure Executing org.macports.configure (mypaint) :debug:configure Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sat Nov 26 16:11:06 EST 2011 :notice:build ---> Building mypaint :debug:build Executing org.macports.build (mypaint) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1" && scons -j2 prefix=/opt/local' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1" && scons -j2 prefix=/opt/local :info:build scons: Reading SConscript files ... :info:build Building for python2.6 :info:build You need to have numpy installed. :info:build :info:build ImportError: No module named numpy: :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1/SConstruct", line 15: :info:build import numpy :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/work/mypaint-0.9.1" && scons -j2 prefix=/opt/local " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for mypaint): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for mypaint is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_MyPaint/mypaint/main.log
comment:13 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Run "sudo port clean MyPaint" and "sudo port selfupdate" and "sudo port install py27-numpy", then try again.
comment:14 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
No response; presumed fixed.
Please remember to preview and use WikiFormatting, and to cc the maintainer. As per the ticket guidelines, please don't set the Milestone field.