Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad .vtu file written by poisson.jl #179

Open
billmclean opened this issue Jun 15, 2024 · 1 comment
Open

Bad .vtu file written by poisson.jl #179

billmclean opened this issue Jun 15, 2024 · 1 comment

Comments

@billmclean
Copy link

I started the first tutorial, running the commands

using Gridap
model = DiscreteModelFromFile("../models/model.json")
writevtk(model,"model")

The files model_*.vtu were written as expected, however when I tried opening model_2.vtu in paraview, I got the following error messages.

ERROR: In vtkXMLParser.cxx, line 364
vtkXMLDataParser (0x55dab2e50fa0): Error parsing XML in stream at line 31, column 1, byte index 2075: not well-formed (invalid token)

ERROR: In vtkXMLReader.cxx, line 576
vtkXMLUnstructuredGridReader (0x55dab2c58f20): Error parsing input file. ReadXMLInformation aborting.

My Julia versioninfo() output is

Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 16 × AMD Ryzen 7 3700X 8-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)

and I am using ParaView 5.12.0 packaged by Fedora 40.

@ericneiva
Copy link
Member

Hi, @billmclean, this looks a lot like this issue JuliaVTK/WriteVTK.jl#136

Therein, they suggest some workarounds.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants