# Paraview Glance error message on Windows 10

**URL:** https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748
**Category:** ParaView Support
**Created:** [October 11, 2019, 11:17am UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748 "2019-10-11T11:17:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![bflandard](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bflandard](https://discourse.paraview.org/u/bflandard)
#### Post date: [October 11, 2019, 11:17am UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/1 "2019-10-11T11:17:23Z")

</div>

Hello,

Using ParaView 5.7.0 on Windows 10, following the instructions here

> **[Exporting ParaView scenes to ParaView Glance - Kitware Blog](https://blog.kitware.com/exporting-paraview-scenes-to-paraview-glance/)**
>
> For a long time, ParaView’s WebGL exporter in the Scene Exporter of ParaView has allowed you to generate a standalone HTML file that contains 3D geometry with ... Read More

  
and using data from “example visualizations” from the help menu, I get the following error message during the save process:

ERROR: In C:\bbd\6519e7fe\build\superbuild\paraview\src\VTK\IO\Export\vtkJSONSceneExporter.cxx, line 282

vtkPVWebExporter (000002BD41AF07B0): Can not create directory C:\Projects\ParaViewGlance\look2.vtkjs

Am I missing something required to use Glance?. I’ve tried both Python 2 & 3 versions.

Thanks, Bob

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 11, 2019, 12:26pm UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/2 "2019-10-11T12:26:56Z")

</div>

Do you have write access to this directory ?

---

<div class="post-metadata">

### Author: ![bflandard](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bflandard](https://discourse.paraview.org/u/bflandard)
#### Post date: [October 11, 2019, 12:34pm UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/3 "2019-10-11T12:34:55Z")

</div>

Hello,

Not the first one (C:\bbd…), that doesn’t exist on my machine, but yes the second one (C:\Projects…). In the second one I can open the raw ParaViewGlance.html file and view the demo data sets.

Thanks, Bob

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [October 11, 2019, 2:39pm UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/4 "2019-10-11T14:39:44Z")

</div>

Are you saying that you had an error message but none the less it worked?

---

<div class="post-metadata">

### Author: ![bflandard](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bflandard](https://discourse.paraview.org/u/bflandard)
#### Post date: [October 11, 2019, 2:49pm UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/5 "2019-10-11T14:49:03Z")

</div>

Hi there,

No, It doesn’t work. I was just confirming that I have write access to the C:\Projects… directory because I was able to write the ParaViewGlance.html file to that directory, and that that file functions okay. Maybe I should have been more clear about distinguishing between the demo visualization data available from the ParaView help menu and the demo ParaViewGlance data linked to in the ParaViewGlance.html file. Neither data set is relevant to the issue though. I could have just created my own data in Paraview and then followed the instruction I linked too, to get the same error message.

Sorry if that wasn’t clear.

Thanks, Bob

---

<div class="post-metadata">

### Author: ![GregVernon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gregvernon/32/1494_2.png) [@GregVernon](https://discourse.paraview.org/u/GregVernon)
#### Post date: [July 2, 2020, 2:06am UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/6 "2020-07-02T02:06:14Z")

</div>

Sorry to bump this topic, but I seem to be having the same issue:

### To Replicate:

Exodus file: [piston\_params\_out.e](https://discourse.paraview.org/uploads/short-url/joDKF9Dgtku1w5EqXKS7EptI9Mt.e) (300.6 KB)

ParaView State File: [Piston\_State.pvsm](https://discourse.paraview.org/uploads/short-url/8CXPRlcnd5COLrEprVZO6lW2BZu.pvsm) (214.6 KB)

Base ParaView Glance HTML file (downloaded ([from here](https://kitware.github.io/paraview-glance/nightly/ParaViewGlance.html)) at ~7:30 PM Mountain Time on July 1, 2020): [ParaViewGlance.zip](https://discourse.paraview.org/uploads/short-url/96tHINbo4BzaHKF62zzgacmLat3.zip) (1.9 MB)

![image](https://discourse.paraview.org/uploads/default/original/2X/5/59fc3d68c6d8561ca7a0d483e2f6756650df218e.png)

### Results in:

```auto
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\bin\Lib\site-packages\vtkmodules\web\vtkjs_helper.py", line 50, in addDataToViewer
    for line in srcHtml:
  File "C:\Program Files\ParaView\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 4981: character maps to <undefined>

```

[Piston.html](https://discourse.paraview.org/uploads/short-url/pUsfceRDSWbgwpshGukIb95k9jr.html) (2.3 MB)  
[Piston.vtkjs](https://discourse.paraview.org/uploads/short-url/yfcpfhK0g4uyxEIlS2YDQUfA7AT.vtkjs) (70.0 KB)

![image](https://discourse.paraview.org/uploads/default/original/2X/b/b23938741af2dc2193ea215c58bd881552089bf2.png)

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [July 2, 2020, 6:20pm UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/7 "2020-07-02T18:20:37Z")

</div>

The solution was posted [here](https://discourse.paraview.org/t/error-when-exporting-vtkjs-with-paraviewglance-html/4309)

---

<div class="post-metadata">

### Author: ![bflandard](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bflandard](https://discourse.paraview.org/u/bflandard)
#### Post date: [July 3, 2020, 8:46pm UTC](https://discourse.paraview.org/t/paraview-glance-error-message-on-windows-10/2748/8 "2020-07-03T20:46:45Z")

</div>

Hi Sebastien,

Thank you for the update.

Regards, Bob
