#40757 closed defect (invalid)
py27-mayavi @4.2.0 doesn't work with ipython
Reported by: | mmpagani (Marco Pagani) | Owned by: | jjstickel (Jonathan Stickel) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | jfilippidis@… | |
Port: | py-mayavi |
Description
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
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.
Change History (5)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jjstickel@… |
---|---|
Port: | py-mayavi added |
Priority: | High → Normal |
comment:2 Changed 11 years ago by jjstickel (Jonathan Stickel)
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).
comment:3 Changed 11 years ago by mmpagani (Marco Pagani)
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
comment:4 Changed 11 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.