[MacPorts] #40757: py27-mayavi @4.2.0 doesn't work with ipython
#40757: py27-mayavi @4.2.0 doesn't work with ipython ------------------------+-------------------------------- Reporter: pgnmrc69@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ------------------------+-------------------------------- Hello, today I did a clean installation of py27-mayavi @4.2.0 on my Mac. I'm running OSX 10.8.5 with macports 2.2.0. Some of the ports I'm using are: {{{ py27-ipython @1.1.0 (python) vtk5 @5.10.1 (graphics, devel) }}} During the installation everything worked fine but when I run the following {{{#!python ipython from mayavi import mlab mlab.test_points3d() }}} I get the following error: {{{ X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Resource id in failed request: 0xb60ca360 Serial number of failed request: 7 Current serial number in output stream: 9 }}} I searched the web for similar problems but I could not find useful information. Any hint on how to solve this problem will be highly appreciated. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/40757> MacPorts <http://www.macports.org/> Ports system for OS X
#40757: py27-mayavi @4.2.0 doesn't work with ipython -------------------------+------------------------- Reporter: pgnmrc69@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-mayavi | -------------------------+------------------------- Changes (by macsforever2000@…): * priority: High => Normal * owner: macports-tickets@… => jjstickel@… * port: => py-mayavi Comment: In the future, please fill in the Port field, Cc the port maintainers ({{{port info --maintainers py27-mayavi}}}), and do not set the Priority field. -- Ticket URL: <https://trac.macports.org/ticket/40757#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40757: py27-mayavi @4.2.0 doesn't work with ipython -------------------------+------------------------- Reporter: pgnmrc69@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-mayavi | -------------------------+------------------------- Comment (by jjstickel@…): It works for me. Variants can make a big difference in successful operation for these. I have: {{{ $ port installed vtk5 py27-pyface py27-mayavi py27-ipython The following ports are currently installed: py27-ipython @1.1.0_0+notebook+parallel+pyqt4+scientific (active) py27-mayavi @4.2.0_0 (active) py27-pyface @4.2.0_0+pyqt4 (active) vtk5 @5.10.1_0+python27 (active) }}} You need +python27 for vtk5 and +pyqt4 for both py27-pyface and py27-ipython. Also note, you will likely need to do "export QT_API=pyqt" before running ipython (not for your current bug, but it resolves the "ValueError: API 'QString' has already been set to version 1" that you may get after you set the variants correctly). -- Ticket URL: <https://trac.macports.org/ticket/40757#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40757: py27-mayavi @4.2.0 doesn't work with ipython -------------------------+------------------------- Reporter: pgnmrc69@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-mayavi | -------------------------+------------------------- Comment (by pgnmrc69@…): Thank you for the very precise suggestions. I installed all the packages as suggested. While running the some tests I encountered a problem similar to the one described here http://trac.macports.org/ticket/37355 which I solved following the instructions provided. Now everything is working fine. Thanks again. Marco -- Ticket URL: <https://trac.macports.org/ticket/40757#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40757: py27-mayavi @4.2.0 doesn't work with ipython -------------------------+------------------------- Reporter: pgnmrc69@… | Owner: jjstickel@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: py-mayavi | -------------------------+------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/40757#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts