Hi,
When exporting a scene from ParaView for use with ParaView Glance I seem to be running into trouble. My workflow is:
exportScene > “name”.vtkjs > click cog and select paraviewGlance HTML (save textures had both on & off)
I get the error with:
- Both Paraview Version 5.8.0 and the nightly build v5.8.0-680-g92ad34aa43
- Paraview Glance npm version 4.9.4
- Have reproduced on 2 different machines
Generic Warning: In C:\bbd\ecd3383f\build\superbuild\paraview\src\Remoting\Export\vtkPVWebExporter.cxx, line 97
Failed to bundle vtkjs data file into HTML viewer
Traceback (most recent call last):
File "C:\Program Files\ParaView 5.8.0-Windows-Python3.7-msvc2015-64bit\bin\Lib\site-packages\vtkmodules\web\vtkjs_helper.py", line 50, in addDataToViewer
for line in srcHtml:
File "C:\Program Files\ParaView 5.8.0-Windows-Python3.7-msvc2015-64bit\bin\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 1032: character maps to <undefined>
A vtkjs file is produced which can be loaded into ParaView Glance and this seems to work fine. The HTML file is also produced, but this does not render in chrome or firefox.
Is there any way to fix this, or an update I need to do?
When exporting without link to HTML is fine. Although, all of the pipelines in the view set their visibility to on which is a bit of a pain (any way to remedy this would also be appreciated)
Many thanks for any help you can give