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

VtkReader fails on certain .vtu files #178

Open
matthias-thimm opened this issue Sep 20, 2024 · 0 comments
Open

VtkReader fails on certain .vtu files #178

matthias-thimm opened this issue Sep 20, 2024 · 0 comments

Comments

@matthias-thimm
Copy link

Error message:
ERROR: StringIndexError: invalid index [302465], valid nearby indices [302464]=>'\xe6\xbd', [302466]=>'\n'
Stacktrace:
[1] string_index_err(s::String, i::Int64)
@ Base .\strings\string.jl:12
[2] getindex
@ .\strings\string.jl:470 [inlined]
[3] get_raw_xml_and_data(file::String)
@ Peridynamics.VtkReader C:\Users\Matthias Thimm.julia\packages\Peridynamics\LZzLb\src\VtkReader\VtkReader.jl:80
[4] _read_vtu(vtu_file::String)
@ Peridynamics.VtkReader C:\Users\Matthias Thimm.julia\packages\Peridynamics\LZzLb\src\VtkReader\VtkReader.jl:272
[5] read_vtk(file::String)
@ Peridynamics.VtkReader C:\Users\Matthias Thimm.julia\packages\Peridynamics\LZzLb\src\VtkReader\VtkReader.jl:314
[6] find_uxlimits(vtk_files::Vector{String})
@ Main d:\Thimm\Phasenfeld\PhaseField.jl\video\plot_Shockwave.jl:80
[7] main()
@ Main d:\Thimm\Phasenfeld\PhaseField.jl\video\plot_Shockwave.jl:229
[8] top-level scope
@ d:\Thimm\Phasenfeld\PhaseField.jl\video\plot_Shockwave.jl:241

Error occured upon reading the enclosed file (Contour_10.vtu).
Contour_10.zip

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

1 participant