[Bug 2058415] Re: Reading binary data in paraview broken by libexpat1 update
Carsten Gräser
2058415 at bugs.launchpad.net
Sun Apr 7 10:45:41 UTC 2024
This also affects libdune-grid-dev by breaking the `subsamplingvtktest`
test of the package. Steps to reproduce this locally:
1. Create a new dune module using `duneproject testvtk`, adding `dune-grid` as dependency.
2. Create subdirectory `dune/grid/io/file/test/` in `testvtk`
3. Copy the file `dune-grid/dune/grid/io/file/test/checkvtkfile.hh` from the dune-grid sources to `testvtk/dune/grid/io/file/test/`.
4. Overwrite file ´testvtk/src/testvtk.cc` by the test `dune-grid/dune/grid/io/file/test/subsamplingvtktest.cc` from the dune-grid sources.
5. Build the module using `dunecontrol all` and run `testvtk/build-cmake/src/testvtk`.
The same failure will probably show up when executing the tests while
rebuilding the package `libdune-grid-dev`.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to expat in Ubuntu.
https://bugs.launchpad.net/bugs/2058415
Title:
Reading binary data in paraview broken by libexpat1 update
Status in dune-grid package in Ubuntu:
New
Status in expat package in Ubuntu:
Confirmed
Status in paraview package in Ubuntu:
Confirmed
Bug description:
The recent update of libexpat1 to version 2.5.0-2ubuntu0.1 broke Paraview.
In particular reading vtu files containing binary data fails since this update. When trying to open files that worked fine before, Paraview now reports a parsing error like this one:
ERROR: In vtkXMLParser.cxx, line 376
vtkXMLDataParser (0x5b0ac36fc970): Error parsing XML in stream at line 21, column 0, byte index 1036: not well-formed (invalid token)
ERROR: In vtkXMLReader.cxx, line 521
vtkXMLUnstructuredGridReader (0x5b0ac3d3b670): Error parsing input file. ReadXMLInformation aborting.
The problem disappears when reverting libexpat1 to version 2.5.0-2.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dune-grid/+bug/2058415/+subscriptions
More information about the foundations-bugs
mailing list