# Paraview Glance - Only checked files will be loaded error

**URL:** https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514
**Category:** Web Support
**Created:** [October 7, 2020, 10:31am UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514 "2020-10-07T10:31:39Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![BrunoP](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BrunoP](https://discourse.paraview.org/u/BrunoP)
#### Post date: [October 7, 2020, 10:31am UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/1 "2020-10-07T10:31:39Z")

</div>

Hello everyone,

I have two problems that I am trying to solve, and would appreciate your help.

- I managed to customise PV glance and everything works fine in development mode.  
But when I generate production build and open index.html I cannot load any other supported format except glance and getting error: “Only checked files will be loaded”. More precisely: ''Failed to construct ‘Worker’: Script at ‘file:///…/Paraview\_Glance/paraview-glance/dist/itk/WebWorkers/Pipeline.worker.js’ cannot be accessed from origin ‘null’.  
How can I fix this? I would expect that solution to this problem could lie in my 2nd question.

- 2nd question is how can I generate standalone html such as you are providing? I would like to use generated index.html for exporting scene files from Paraview.

All the best,  
Bruno.

---

<div class="post-metadata">

### Author: ![BrunoP](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BrunoP](https://discourse.paraview.org/u/BrunoP)
#### Post date: [October 7, 2020, 5:43pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/2 "2020-10-07T17:43:20Z")

</div>

Hi, just an update, I’ve generated standalone html, which now I see was rather silly question, but that still does not fix the main problem. Moreover if I try use generated standalone html for export in ParaView, I’m getting blank screen with message “glanceInstance.processURLArgs();”.  
Any help with this would be appreciated.

Thanks,  
Bruno.

---

<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 7, 2020, 7:48pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/3 "2020-10-07T19:48:02Z")

</div>

On the first question, all the itk readers won’t be available from the standalone html file when loaded from the file system. Those require separate files that needs to be served via http.

1. If you run `npm run bundle`, that will produce that standalone (limited version) of PV Glance

2. I’m not sure.

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [October 7, 2020, 7:53pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/4 "2020-10-07T19:53:35Z")

</div>

To follow up Seb’s message, you need to host the files in “dist/” on a webserver. If you have Python 3 installed, you can do a quick test of this by going into your “dist/” folder and running “python3 -m http.server”, and then going to “[http://localhost:8000](http://localhost:8000)”

As for your last problem, do you mean that the page is just a white page with the text “glanceInstance.processURLArgs();”?

---

<div class="post-metadata">

### Author: ![BrunoP](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BrunoP](https://discourse.paraview.org/u/BrunoP)
#### Post date: [October 7, 2020, 9:19pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/5 "2020-10-07T21:19:56Z")

</div>

Hi Sebastien,

Thank you for clarifications. I’ve use standalone-html module. I’ve tested it as Forrest suggested and all works fine, reading all supported formats.  
Now only last problem still remains.

Thanks,  
Bruno.

---

<div class="post-metadata">

### Author: ![BrunoP](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BrunoP](https://discourse.paraview.org/u/BrunoP)
#### Post date: [October 7, 2020, 9:28pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/6 "2020-10-07T21:28:29Z")

</div>

Hi Forrest,

Thanks for expanding on Sebastien’s answer. I’ve tested it and it works as supposed to.

Regarding my last problem, yes the page is just white with “glanceInstance.processURLArgs();” text. I’ve generated standalone html with bundle and standalone commands, same result. Tried to export scene with latest stable and nightly build of ParaView, again same result. Do I need some other version?

All the best,  
Bruno.

---

<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 8, 2020, 4:27pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/7 "2020-10-08T16:27:16Z")

</div>

I just talked to @Forrest_Li and we understand the issue. He is going to see if he can update the generated HTML so that when PV add the data to that file, it won’t insert it in the wrong location.

---

<div class="post-metadata">

### Author: ![BrunoP](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BrunoP](https://discourse.paraview.org/u/BrunoP)
#### Post date: [October 8, 2020, 6:56pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/8 "2020-10-08T18:56:45Z")

</div>

Thank you both, let me know when you update it. I will try to find some older version of standalone html that was working and see if I can locate where it fails in this newly generated one.

Cheers,  
Bruno.

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [October 8, 2020, 7:09pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/9 "2020-10-08T19:09:54Z")

</div>

Glance should now be updated. You can get the latest standalone build here: [https://kitware.github.io/paraview-glance/nightly/ParaViewGlance.html](https://kitware.github.io/paraview-glance/nightly/ParaViewGlance.html)

---

<div class="post-metadata">

### Author: ![BrunoP](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BrunoP](https://discourse.paraview.org/u/BrunoP)
#### Post date: [October 8, 2020, 8:22pm UTC](https://discourse.paraview.org/t/paraview-glance-only-checked-files-will-be-loaded-error/5514/10 "2020-10-08T20:22:41Z")

</div>

Thank you, everything works perfectly.
