Opened 9 years ago

Closed 9 years ago

#47762 closed defect (fixed)

py-mayavi @4.4.0_0: update to 4.4.2

Reported by: aloschil@… Owned by: jjstickel (Jonathan Stickel)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc:
Port: py-mayavi

Description

The following message arises when attempting to launch py27-mayfavi application:

********************************************************************************
WARNING: Imported VTK version (6.2) does not match the one used
         to build the TVTK classes (6.1). This may cause problems.
         Please rebuild TVTK.
********************************************************************************

Version of mayavi: py27-mayavi @4.4.0_0 (active)

Version of VTK: vtk @6.2.0_0+python27 (active)

Attachments (4)

mayavi_wrapper.patch (758 bytes) - added by jjstickel (Jonathan Stickel) 9 years ago.
mayavi_vtk62_191.diff (3.9 KB) - added by jjstickel (Jonathan Stickel) 9 years ago.
py-mayavi_Portfile.diff (579 bytes) - added by jjstickel (Jonathan Stickel) 9 years ago.
py-mayavi_Portfile.2.diff (717 bytes) - added by jjstickel (Jonathan Stickel) 9 years ago.
with version update

Download all attachments as: .zip

Change History (11)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jjstickel@…
Port: py-mayavi added; py27-mayavi removed

In the future, please Cc the port maintainers (port info --maintainers py27-mayavi), if any.

comment:2 Changed 9 years ago by jjstickel (Jonathan Stickel)

This warning seems harmless, but nonetheless a revision bump to py-mayavi should be done. However, I am finding that py-mayavi will not build now with the recent py-setuptools (15.0). I'll see if I can make things work, but no promises about the timing.

Changed 9 years ago by jjstickel (Jonathan Stickel)

Attachment: mayavi_wrapper.patch added

comment:5 Changed 9 years ago by jjstickel (Jonathan Stickel)

The attached patch applies the workaround described here:

https://github.com/enthought/mayavi/issues/159

My guess is this is related to vtk 6.2 (rather than setuptools), but I am not sure. Anyway, this provides a working Mayavi, although some functionality may be missing. Hopefully an upstream fix will be provided by next release.

Changed 9 years ago by jjstickel (Jonathan Stickel)

Attachment: mayavi_vtk62_191.diff added

Changed 9 years ago by jjstickel (Jonathan Stickel)

Attachment: py-mayavi_Portfile.diff added

comment:8 Changed 9 years ago by jjstickel (Jonathan Stickel)

I updated the patch to the portfile and uploaded a new patchfile to use, based on https://github.com/enthought/mayavi/pull/191. This is the preferred fix from upstream. It worked for me. Please commit. Thanks.

Changed 9 years ago by jjstickel (Jonathan Stickel)

Attachment: py-mayavi_Portfile.2.diff added

with version update

comment:9 Changed 9 years ago by jjstickel (Jonathan Stickel)

A version update for mayavi has been released that includes the relevant fix. Please use the most recent patch to the portfile that is attached.

comment:10 Changed 9 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer added

comment:11 Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed
Summary: py27-mayavipy-mayavi @4.4.0_0: update to 4.4.2
Version: 2.3.3
Note: See TracTickets for help on using tickets.