Your message dated Fri, 10 Nov 2006 18:10:59 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#397186: fixed in vtk 5.0.2-1 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: libvtk5 Version: 5.0.1-4 Severity: normal Hi! I found a bug in VTK library: it fails to correctly read two-dimensional PLOT3D solution (Q) files. Steps to reproduce the bug (using MayaVi, version 1.5-4): Extract the attached gzipped tar archive (which includes a test PLOT3D geometry+solution pair of files, along with a Fortran77 program that generates it) $ tar xvzf VTK_PLOT3D_testcase.tar.gz fakehurr_merid.q fakehurr_merid.xyz gen_fakehurr.f $ mayavi Using menus, select File -> Open -> PLOT3D file -> Multi-block file. As XYZ Co-ordinate file, select `fakehurr_merid.xyz'; as Q Solution file, select `fakehurr_merid.q'. In the configuration dialog window, select, say, density and momentum, and then click on the More Options button. In the detailed dialog window, check BinaryFileOn, DebugOn, DoNotReduceNumberOfOutputsOn, HasByteCountOn, MultiGridOn, TwoDimensionalGeometryOn; *un*check the other checkboxes (that is to say: AbortExecuteOn, ForceReadOn, IBlankingOn, ReleaseDataFlagOn). Select SetByteOrderToLittleEndian and click on the Ok button. Back in the configuration dialog window, click on the Re-read data file button. On stderr, various vtkPLOT3DReader debug messages appear, among which: : setting ErrorCode to 0 : Geometry number of grids: 1 : Geometry, block 0 dimensions: 31 41 1 : Q number of grids: 1 : Q, block 0 dimensions: 31 41 8 : setting ErrorCode to 20005 : Geometry and data dimensions do not match. Data file may be corrupt. VTK wrongly thinks that the Q block has 31x41x8 nodes, while it actually has 31x41x1 nodes (being two-dimensional). Hence the dimension mismatch between geometry and data. Trying to visualize data fails. For instance, using menus, select Visualize -> Modules -> ContourGridPlane: selecting Z-axis and checking Show Contours in the configuration dialog window fails to show any contours. Now the good news: I studied the vtkPLOT3DReader source code and detected the cause of this bug. A patch against VTK version 5.0.1 is attached: it fixes this bug for both vtkPLOT3DReader and vtkMultiBlockPLOT3DReader classes. While I was at it, I also discarded some useless variable loading in some PLOT3D functions, fixed a misleading debug message, fixed a macro definition in order to make it correct from a fluid dynamics point of view (even though this has currently no practical effect, since the extraneous multiplying factor is 1.0), and fixed some comments. OK, I hope this patch can be applied to vtk Debian package and also incorporated into the official VTK development branch. Finally the legal details. I'm not sure that my contribution to VTK is creative enough to grant copyright protection. Anyway, should it be found to be copyrighted, I hereby release it under the same terms as the rest of VTK, that is to say: | Copyright (c) 1993-2003 Ken Martin, Will Schroeder, Bill Lorensen | Copyright (c) 2006 Francesco Poli | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modification, are permitted provided that the following conditions are met: | | * Redistributions of source code must retain the above copyright notice, | this list of conditions and the following disclaimer. | | * Redistributions in binary form must reproduce the above copyright notice, | this list of conditions and the following disclaimer in the documentation | and/or other materials provided with the distribution. | | * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names | of any contributors may be used to endorse or promote products derived | from this software without specific prior written permission. | | * Modified source versions must be plainly marked as such, and must not be | misrepresented as being the original software. | | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Moreover, in order to comply with the license of the rest of VTK, I must explicitly mark as modified the source version of VTK which can be obtained by applying my patch to the original VTK source version 5.0.1. Changes to VTK source code done by Francesco Poli in order to fix bugs: * IO/vtkPLOT3DReader.cxx -> fixed a bug in ReadQHeader() that prevented 2D files to be read -> discarded useless StagnationEnergy loading in some PLOT3D function computation methods -> fixed a debug message -> fixed VTK_PINF macro definition (irrelevant as long as VTK_RHOINF is 1.0, but anyway...) -> fixed some wrong comments * IO/vtkMultiBlockPLOT3DReader.cxx -> fixed a bug in ReadQHeader() that prevented 2D files to be read -> discarded useless StagnationEnergy loading in some PLOT3D function computation methods -> fixed a debug message -> fixed VTK_PINF macro definition (irrelevant as long as VTK_RHOINF is 1.0, but anyway...) -> fixed some wrong comments -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.33.3 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages libvtk5 depends on: ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an ii libexpat1 1.95.8-3 XML parsing C library - runtime li ii libfreetype6 2.1.7-6 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.3-13sarge1 GCC support library ii libice6 4.3.0.dfsg.1-14sarge2 Inter-Client Exchange library ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libsm6 4.3.0.dfsg.1-14sarge2 X Window System Session Management ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3 ii libtiff4 3.7.2-7 Tag Image File Format (TIFF) libra ii libx11-6 4.3.0.dfsg.1-14sarge2 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14sarge2 X Window System miscellaneous exte ii libxt6 4.3.0.dfsg.1-14sarge2 X Toolkit Intrinsics ii xlibmesa-gl [libgl 4.3.0.dfsg.1-14sarge2 Mesa 3D graphics library [XFree86] ii xlibs 4.3.0.dfsg.1-14sarge2 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime -- no debconf information
VTK_PLOT3D_testcase.tar.gz
Description: Binary data
VTK_version_5.0.1_PLOT3Dbugfixes.diff.gz
Description: Binary data
--- End Message ---
--- Begin Message ---Source: vtk Source-Version: 5.0.2-1 We believe that the bug you reported is fixed in the latest version of vtk, which is due to be installed in the Debian FTP archive: libvtk5-dev_5.0.2-1_all.deb to pool/main/v/vtk/libvtk5-dev_5.0.2-1_all.deb libvtk5-qt3-dev_5.0.2-1_all.deb to pool/main/v/vtk/libvtk5-qt3-dev_5.0.2-1_all.deb libvtk5-qt3_5.0.2-1_i386.deb to pool/main/v/vtk/libvtk5-qt3_5.0.2-1_i386.deb libvtk5-qt4-dev_5.0.2-1_all.deb to pool/main/v/vtk/libvtk5-qt4-dev_5.0.2-1_all.deb libvtk5-qt4_5.0.2-1_i386.deb to pool/main/v/vtk/libvtk5-qt4_5.0.2-1_i386.deb libvtk5_5.0.2-1_i386.deb to pool/main/v/vtk/libvtk5_5.0.2-1_i386.deb python-vtk_5.0.2-1_i386.deb to pool/main/v/vtk/python-vtk_5.0.2-1_i386.deb vtk-doc_5.0.2-1_all.deb to pool/main/v/vtk/vtk-doc_5.0.2-1_all.deb vtk-examples_5.0.2-1_all.deb to pool/main/v/vtk/vtk-examples_5.0.2-1_all.deb vtk-tcl_5.0.2-1_i386.deb to pool/main/v/vtk/vtk-tcl_5.0.2-1_i386.deb vtk_5.0.2-1.diff.gz to pool/main/v/vtk/vtk_5.0.2-1.diff.gz vtk_5.0.2-1.dsc to pool/main/v/vtk/vtk_5.0.2-1.dsc vtk_5.0.2.orig.tar.gz to pool/main/v/vtk/vtk_5.0.2.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. A. Maitland Bottoms <[EMAIL PROTECTED]> (supplier of updated vtk package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 10 Nov 2006 14:17:57 -0500 Source: vtk Binary: python-vtk vtk-tcl libvtk5-qt4 libvtk5-qt3-dev libvtk5-qt3 libvtk5 vtk-doc libvtk5-qt4-dev libvtk5-dev vtk-examples Architecture: source i386 all Version: 5.0.2-1 Distribution: unstable Urgency: low Maintainer: A. Maitland Bottoms <[EMAIL PROTECTED]> Changed-By: A. Maitland Bottoms <[EMAIL PROTECTED]> Description: libvtk5 - Visualization Toolkit - A high level 3D visualization library libvtk5-dev - VTK header files for building C++ code libvtk5-qt3 - Visualization Toolkit - A high level 3D visualization library libvtk5-qt3-dev - Visualization Toolkit - A high level 3D visualization library libvtk5-qt4 - Visualization Toolkit - A high level 3D visualization library libvtk5-qt4-dev - Visualization Toolkit - A high level 3D visualization library python-vtk - Python bindings for VTK vtk-doc - VTK class reference documentation vtk-examples - C++, Tcl and Python example programs/scripts for VTK vtk-tcl - Tcl bindings for VTK Closes: 384908 389521 389549 395566 397186 Changes: vtk (5.0.2-1) unstable; urgency=low . * New upstream release (Closes: #395566) * Build with Qt support thanks to Michael Hanke. (Closes: #384908) * Correct VTK_DATA_ROOT path (Closes: #389549) * libvtk5-qt4-dev depends on libvtk5-qt4, libvtk5-qt3-dev depends on libvtk5-qt3 (Closes: #389521) * Apply fix for two-dimensional PLOT3D by Francesco Poli (Closes: #397186) Files: 7f17de52aa42d74c6391befed6763562 1075 graphics optional vtk_5.0.2-1.dsc c2f439d1a4bc1598a1cb09ee43f794ed 8339510 graphics optional vtk_5.0.2.orig.tar.gz 63d37c48ae739729fecd8ca161f4d4f7 19845 graphics optional vtk_5.0.2-1.diff.gz 2d94c1160beaf0a73feadc56e73571f9 7977270 libs optional libvtk5_5.0.2-1_i386.deb 6da04856cd7356cced37555470577ed5 79020 libs optional libvtk5-qt3_5.0.2-1_i386.deb c1d046cbf3c73eb0b70e2988e05c7f57 72794 libs optional libvtk5-qt4_5.0.2-1_i386.deb 86760dfbdf7a2ccdbc38bdeec8028e80 1413562 interpreters optional vtk-tcl_5.0.2-1_i386.deb 1978db2e168f35f96597e7f26a76e57b 2994672 python optional python-vtk_5.0.2-1_i386.deb 515055eb91c03a87305d8b625caf7df5 39347718 doc optional vtk-doc_5.0.2-1_all.deb 0f1797085d363cf8394344552d85ca09 385208 graphics optional vtk-examples_5.0.2-1_all.deb 1e90f48b1be67bad55dc0cb64dd285eb 1179924 libdevel optional libvtk5-dev_5.0.2-1_all.deb 82f29916cd0af50c73e315ba24d95b23 13770 libdevel optional libvtk5-qt3-dev_5.0.2-1_all.deb f9ea41bd9c15075485363b16c9a079af 13758 libdevel optional libvtk5-qt4-dev_5.0.2-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFVQMLkwbJvNrxBUwRAonGAJ4lH3FmA/FQn8o9DSnwWOQ+DogNeQCeNuIy R5IJRzJlupKxRmJ7yCbooGw= =z0TB -----END PGP SIGNATURE-----
--- End Message ---

