[Python-apps-team] Bug#550635: mayavi2: [regression] interpolated scalar coloring results in black surface

Francesco Poli frx at firenze.linux.it
Mon Apr 5 14:00:13 UTC 2010


On Sun, 4 Apr 2010 01:29:52 +0200 Gael Varoquaux wrote:

> On Sat, Mar 27, 2010 at 04:41:00PM +0100, Francesco Poli wrote:
[...]
> > It's possible: I am still using libvtk5.2/5.2.1-11 (currently in Debian
> > testing).
> > Maybe libvtk5.4/5.4.2-5 (currently in unstable) solves the
> > issue...
> 
> > Should I test mayavi2/3.3.1-1 with libvtk5.4/5.4.2-5 ?
> 
> That would be helpful. It would explain why I could not reproduce. If
> that doesn't sort it out, we'll have to seek another explaination :).

I've just upgraded to mayavi2/3.3.1-1 from Debian unstable.

First problem: it pulled in libvtk5.4/5.4.2-5 as a dependency (good!),
but did not pull in python-vtk/5.4.2-5 (not good, I would say).

As a consequence, I still have python-vtk/5.2.1-11 installed and
mayavi2 complains:

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

To the Python Applications Packaging Team: maybe mayavi2 should have a
versioned dependency on python-vtk (>= 5.4.2-5) in order to make sure
that python-vtk version is consistent with libvtk5.4

Or something similar.

After I upgraded python-vtk to version 5.4.2-5, the bug vanished.

As a consequence, I think this bug may be fixed by making sure that
mayavi2 pulls in python-vtk/5.4.2-5 or later.
Adding a versioned dependency, as suggested above, should be enough to
fix this bug.

If the Python Applications Packaging Team agrees with me, please
someone upload a new mayavi2 version to unstable having this versioned
dependency, thus closing the present bug report.

Thanks for your time.

And many thanks to Gaël, for trying to reproduce the issue and for
dedicating time to it!


-- 
 http://www.inventati.org/frx/progs/scripts/pdebuild-hooks.html
 Need some pdebuild hook scripts?
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20100405/9dd1e221/attachment.pgp>


More information about the Python-apps-team mailing list