[MacPorts] #19567: ports for Mayavi and its Enthought dependencies
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- I provide here portfiles for Mayavi (py25 version) and its dependencies from Enthought (http://code.enthought.com/). For Mayavi to work, VTK5 must be installed with the carbon variant (and the python variant, obviously). -- Ticket URL: <http://trac.macports.org/ticket/19567> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Comment(by jjstickel@…): Oops, the attached file named "Portfile" is the same as "py25-apptools_Portfile". Can it be deleted? -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Comment(by stefan.janecek@…): Thanks for providing the portfiles! Tried them today, they build fine, but when I start mayavi2, it crashes with a X Window "Bad Window" error immediately after the window appears. Before that, it issues a warning that the wxPython and wxWidgets version numbers do not match. Anyone else seeing this? Anybody running the code without crashes? {{{ /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/wx-2.8-mac-unicode/wx/_core.py:14450: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch") X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Resource id in failed request: 0x17357660 Serial number of failed request: 7 Current serial number in output stream: 9 }}} -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Comment(by jjstickel@…): The warning about version number mismatch is harmless. The bad window error results if you do not choose the carbon variant for VTK. A check for the variant (if possible) or at least warning should be added to the mayavi portfile. Also, it seems that during the install, a .enthought folder is added to your home folder, if it does not already exist, and with root ownership. This should not happen. I will try to look into these issues soon, but any help is appreciated. Replying to [comment:3 stefan.janecek@…]:
Thanks for providing the portfiles! Tried them today, they build fine, but when I start mayavi2, it crashes with a X Window "Bad Window" error immediately after the window appears. Before that, it issues a warning that the wxPython and wxWidgets version numbers do not match. Anyone else seeing this? Anybody running the code without crashes?
-- Ticket URL: <http://trac.macports.org/ticket/19567#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Comment(by jjstickel@…): I updated the py25-mayavi portfile to include a check that a file provided by the +carbon of vtk5 is installed. -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Comment(by stefan.janecek@…): Replying to [comment:4 jjstickel@…]: Thanks a lot for the hint! Re-installing vtk5 using the +carbon -x11 -tcltk variant, and then re-installing the above ports did the trick. I've got the .enthought folder in my home, too, but it is not owned by root. In my case, it is most likely a left-over from the Enthought Python Distribution (EPD) I had installed (and deinstalled) before. I noticed an annoying bug in mayavi2: Most of the sliders are not connected to their respective values, i.e. nothing happens when moving them. There seem to be two different types of sliders: one type has arrows to the left and right of them, those work. The other type (for instance, the value slider of the isosurface module) doesn't have the arrows, and it doesn't work. I think this is a bug the upstream maintainer should be notified of, and I also noticed it in the EPD version of Mayavi2. Can somebody else here confirm it? Or am I the only one who is seeing it? -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Comment(by jjstickel@…): Replying to [comment:6 stefan.janecek@…]:
I noticed an annoying bug in mayavi2: Most of the sliders are not connected to their respective values...
Yes, I see this too. I am sure it is a bug upstream. You might like to report it on the Enthought-dev mailing list. -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Comment(by jjstickel@…): The updated portfiles and patch files for apptools, enthoughtbase, and mayavi resolves the sandbox violation of a .enthought folder being created during the build phase. I think these Ports are now ready for inclusion into the port tree. -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macsforever2000@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python vtk | Port: mayavi -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => macsforever2000@… * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies --------------------------------+------------------------------------------- Reporter: jjstickel@… | Owner: macsforever2000@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: python vtk Port: py25-mayavi | --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * status: assigned => closed * resolution: => fixed * port: mayavi => py25-mayavi Comment: Committed revision r55244. Thanks! Note that I was able to install everything except py25-mayavi itself. But that's not due to a problem with the portfile. -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19567: ports for Mayavi and its Enthought dependencies --------------------------------+------------------------------------------- Reporter: jjstickel@… | Owner: macsforever2000@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: python vtk Port: py25-mayavi | --------------------------------+------------------------------------------- Comment(by macsforever2000@…): I was able to install py25-mayavi with the following workaround: {{{ sudo port -n install py25-mayavi }}} This is due to base bug #2377. Also, the python variant of vtk5 is needed to build. So here is the proper command to install vtk5: {{{ sudo port install vtk5 +carbon +python -tcltk -x11 }}} -- Ticket URL: <http://trac.macports.org/ticket/19567#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts