[MacPorts] #36448: MyPaint doesn't run anymore.
#36448: MyPaint doesn't run anymore. -----------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: MyPaint, pygtk -----------------------+-------------------------------- I tried to run MyPaint again today. I haven't needed it for some months. It wouldn't start. So I tried if from the command line and got this error string: I'm not sure if this a MyPaint, pygtk or python error. {{{ [mypaint builtin python 2.6 json support confpath = /Users/user/.mypaint/ Traceback (most recent call last): File "/opt/local/bin/mypaint", line 176, in <module> main.main(datapath, extradata, confpath) File "/opt/local/share/mypaint/gui/main.py", line 72, in main run() File "/opt/local/share/mypaint/gui/main.py", line 47, in run app = application.Application(datadir, extradata, options.config, args) File "/opt/local/share/mypaint/gui/application.py", line 86, in __init__ self.doc = document.Document(self) File "/opt/local/share/mypaint/gui/document.py", line 38, in __init__ self.tdw.neutral_background_pixbuf = backgroundsurface.Background(pixbuf) File "/opt/local/share/mypaint/lib/backgroundsurface.py", line 22, in __init__ obj = helpers.gdkpixbuf2numpy(obj) File "/opt/local/share/mypaint/lib/helpers.py", line 113, in gdkpixbuf2numpy arr = pixbuf.get_pixels_array() RuntimeError: pygtk was not compiled with Numeric Python support ] }}} I have following versions of Python installed. They were installed as they are dependencies not because I chose them specifically. {{{ py26-cairo @1.8.10_2 (active) py26-crypto @2.6_0 (active) py26-curl @7.19.0_0 (active) py26-distribute @0.6.28_0 (active) py26-django @1.4.1_0 (active) py26-gobject @2.26.0_3 (active) py26-gtk @2.22.0_2 (active) py26-nose @1.1.2_2 (active) py26-numpy @1.6.2_0 (active) py26-openssl @0.10_1 (active) py26-pil @1.1.7_4 (active) py26-py @1.1.1_0 (active) py26-tkinter @2.6.8_0 (active) py27-cairo @1.8.10_2 (active) py27-distribute @0.6.28_0 (active) py27-gobject @2.26.0_3 (active) py27-gtk @2.22.0_2+x11 (active) py27-libxml2 @2.8.0_0 (active) py27-nose @1.1.2_2 (active) py27-numpy @1.6.2_0 (active) py27-py @1.1.1_0 (active) python26 @2.6.8_0 (active) python27 @2.7.3_0 (active) python_select @0.3_1 (active) }}} I don't know what to do to get MyPaint to work again. -- Ticket URL: <https://trac.macports.org/ticket/36448> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36448: MyPaint doesn't run anymore. -----------------------------+-------------------------- Reporter: neukomp@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: MyPaint, pygtk | -----------------------------+-------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/36448#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36448: MyPaint doesn't run anymore. -----------------------------+-------------------------- Reporter: neukomp@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: MyPaint, pygtk | -----------------------------+-------------------------- Comment (by ryandesign@…): Replying to [ticket:36448 neukomp@…]:
{{{ RuntimeError: pygtk was not compiled with Numeric Python support }}}
When Googling this error I found [http://slack4dummies.blogspot.com/2012/05/installing-mypaint-100-step-by- step.html this helpful page] which made it clear that this will happen if py-gtk is compiled without py-numpy installed, and I can verify that on my system. So we just need to add a py-numpy dependency to py-gtk and rebuild. Done in r. Wait 30 minutes, then run "sudo port selfupdate" and "sudo port upgrade outdated" as usual. -- Ticket URL: <https://trac.macports.org/ticket/36448#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36448: MyPaint doesn't run anymore. ------------------------+-------------------------- Reporter: neukomp@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py-gtk | ------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * cc: mcalhoun@… (added) * resolution: => fixed * port: MyPaint, pygtk => py-gtk Comment: Replying to [comment:2 ryandesign@…]:
So we just need to add a py-numpy dependency to py-gtk and rebuild. Done in r.
Forgot to paste in the revision number! Done in r98367. -- Ticket URL: <https://trac.macports.org/ticket/36448#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36448: MyPaint doesn't run anymore. ------------------------+-------------------------- Reporter: neukomp@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py-gtk | ------------------------+-------------------------- Comment (by neukomp@…): Thanks. It's working again!!! You guys are amazing. Thanks again. -- Ticket URL: <https://trac.macports.org/ticket/36448#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts