[Pkg-scicomp-devel] Bug#567727: paraview: Locale-dependent number format in .pvd files
Jö Fahlke
jorrit at jorrit.de
Sat Jan 30 22:27:31 UTC 2010
Package: paraview
Version: 3.6.2-1~joe1
Severity: normal
I have a .pvd file with entries like
<DataSet timestep="9.62917e-10" group="" part="0" name="" file="./s0001:fdtd-00001.pvtu"/>
If a german locale (LANG=de_DE.UTF-8) is in effect, paraview reads the
timestep as the integer "9" without any diagnostic. If I replace the decimal
seperator in the data file with the german ",", like this:
<DataSet timestep="9,62917e-10" group="" part="0" name="" file="./s0001:fdtd-00001.pvtu"/>
then paraview reads the timestep correctly. If I leave the decimal seperator
in the data file as ".", but start paraview with LC_ALL=C, the timestep is
also read correctly. An example dataset is attached.
Note that the Calculator filter suffers from a similiar problem; any number
containing a decimal point is accepted, but anything after the point is
silently ignored.
Note also that the package version 3.6.2-1~joe1 above is the version 3.6.2-1
from unstable recompiled for testing.
Bye,
Jö.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages paraview depends on:
ii libavcodec52 5:0.5+svn20100115-0.0 library to encode decode multimedi
ii libavformat52 5:0.5+svn20100115-0.0 ffmpeg file format library
ii libavutil50 5:0.5+svn20100115-0.0 avutil shared libraries
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libexpat1 2.0.1-7 XML parsing C library - runtime li
ii libfontconfig1 2.8.0-2 generic font configuration library
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.2-9 GCC support library
ii libgl1-mesa-glx [l 7.6.1-1 A free implementation of the OpenG
ii libglib2.0-0 2.22.4-1 The GLib library of C routines
ii libglu1-mesa [libg 7.6.1-1 The OpenGL utility library (GLU)
ii libhdf5-openmpi-1. 1.8.3-2.1 Hierarchical Data Format 5 (HDF5)
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libjpeg62 6b-15 The Independent JPEG Group's JPEG
ii libopenmpi1.3 1.3.3-4 high performance message passing l
ii libpng12-0 1.2.42-1 PNG library - runtime
ii libpython2.6 2.6.4-4 Shared Python runtime library (ver
ii libqt4-assistant 4:4.5.3-4 Qt 4 assistant module
ii libqt4-dbus 4:4.5.3-4 Qt 4 D-Bus module
ii libqt4-network 4:4.5.3-4 Qt 4 network module
ii libqt4-sql 4:4.5.3-4 Qt 4 SQL module
ii libqt4-xml 4:4.5.3-4 Qt 4 XML module
ii libqtcore4 4:4.5.3-4 Qt 4 core module
ii libqtgui4 4:4.5.3-4 Qt 4 GUI module
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
ii libswscale0 5:0.5+svn20100115-0.0 ffmpeg video scaling library
ii libtiff4 3.9.2-2 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.3.3-1 X11 client-side library
ii libxext6 2:1.1.1-2 X11 miscellaneous extension librar
ii libxml2 2.7.6.dfsg-2+b1 GNOME XML library
ii libxrender1 1:0.9.5-1 X Rendering Extension client libra
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii python 2.5.4-9 An interactive high-level object-o
ii python-support 1.0.6 automated rebuilding support for P
ii qt4-dev-tools 4:4.5.3-4 Qt 4 development tools
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages paraview recommends:
ii mpi-default-bin 0.6 Standard MPI runtime programs
ii qt4-dev-tools 4:4.5.3-4 Qt 4 development tools
Versions of packages paraview suggests:
ii h5utils 1.12-2 HDF5 files visualization tools
ii hdf5-tools 1.8.3-2.1 Hierarchical Data Format 5 (HDF5)
-- no debconf information
--
-:- strncmp_ [wu at b-180-5-180.k.dial.de.ignite.net] has joined #macht
-:- strncmp_ is now known as strcmp
<strcmp> Wer kommt auf die beschissene Idee, sich strncmp zu nennen?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase.tar.gz
Type: application/octet-stream
Size: 5265 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20100130/a1ff8b2a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20100130/a1ff8b2a/attachment.pgp>
More information about the Pkg-scicomp-devel
mailing list