# PARAVIEW\_DATA\_EXCLUDE\_FROM\_ALL not working ?

**URL:** https://discourse.paraview.org/t/paraview-data-exclude-from-all-not-working/271
**Category:** Development
**Created:** [July 3, 2018, 4:08pm UTC](https://discourse.paraview.org/t/paraview-data-exclude-from-all-not-working/271 "2018-07-03T16:08:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![michal.wozniak](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/848f3c/32.png) [@michal.wozniak](https://discourse.paraview.org/u/michal.wozniak)
#### Post date: [July 3, 2018, 4:08pm UTC](https://discourse.paraview.org/t/paraview-data-exclude-from-all-not-working/271/1 "2018-07-03T16:08:01Z")

</div>

Hi,

Is there a way to disable the download step ? Since we are using a vtk 8.0.1, we are now getting “HTTP response code said error” errors during the ExternalData downloading step.

I have set these two variables but i’m still getting errors.

PARAVIEW\_DATA\_EXCLUDE\_FROM\_ALL:BOOL=ON  
VTK\_DATA\_EXCLUDE\_FROM\_ALL:BOOL=ON

 ![image](https://discourse.paraview.org/uploads/default/original/1X/5e31d2e94f0c71bbaaed5407412ec4829ee95362.png)

thank you

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 16, 2018, 2:32pm UTC](https://discourse.paraview.org/t/paraview-data-exclude-from-all-not-working/271/2 "2018-07-16T14:32:34Z")

</div>

Do you have any recommendations, @brad.king?

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.paraview.org/user_avatar/discourse.paraview.org/brad.king/32/22_2.png) [@brad.king](https://discourse.paraview.org/u/brad.king)
#### Post date: [July 16, 2018, 3:05pm UTC](https://discourse.paraview.org/t/paraview-data-exclude-from-all-not-working/271/3 "2018-07-16T15:05:31Z")

</div>

FWIW the last URL that reported `Couldn't connect to server` does exist [here](http://www.vtk.org/files/ExternalData/MD5/f291b9b218880e4b880bc1416ecda74e). CMake should know how to follow the http-to-https redirect during download. The download should succeed.

One could turn off `BUILD_TESTING` completely to avoid getting any test data downloaded.

According to local testing, `VTK_DATA_EXCLUDE_FROM_ALL` and `PARAVIEW_DATA_EXCLUDE_FROM_ALL` exclude dependencies on the `VTKData` and `ParaViewData` targets except from some source packaging targets. I’d need more information about how to reproduce the problem to help further:

- With what version of ParaView did you try to use VTK 8.0.1? How was the source tree prepared?
- What “cmake” command line was used to generate the build tree?
- What build command (e.g. “make”) was used to build it?

---

<div class="post-metadata">

### Author: ![michal.wozniak](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/848f3c/32.png) [@michal.wozniak](https://discourse.paraview.org/u/michal.wozniak)
#### Post date: [July 17, 2018, 2:52pm UTC](https://discourse.paraview.org/t/paraview-data-exclude-from-all-not-working/271/4 "2018-07-17T14:52:35Z")

</div>

Hi,

We are using Paraview 5.3 with VTK 8.0.1

cmake -G Ninja  
-DPARAVIEW\_ENABLE\_CATALYST=OFF  
-DITK\_DIR=/home/buildbot/itk/build  
-DOPENGL\_gl\_LIBRARY=/home/buildbot/local/lib/libGL.so  
-DModule\_vtkIOPLY=ON  
-DPARAVIEW\_QT\_VERSION=5  
-DOPENGL\_INCLUDE\_DIR=/home/buildbot/local/include  
-DCTEST\_USE\_LAUNCHERS=TRUE  
-DOSMESA\_LIBRARY=/home/buildbot/local/lib/libOSMesa.so  
-DCMAKE\_BUILD\_TYPE=Release  
-DVTK\_USE\_X=ON  
-DBUILD\_TESTING=ON  
-DVTK\_OPENGL\_HAS\_OSMESA=ON  
-DBUILD\_SHARED\_LIBS=ON  
-DPARAVIEW\_ENABLE\_PYTHON=ON  
-DCTEST\_MODEL=Experimental  
-DPARAVIEW\_ENABLE\_WEB=OFF  
-DVTK\_USE\_OFFSCREEN=ON  
-DOPENGL\_xmesa\_INCLUDE\_DIR:PATH=IGNORE  
-DOPENGL\_glu\_LIBRARY:FILEPATH=IGNORE  
-B/worker/project-Test/project\_build  
-H/worker/project-Test/project  
-DPARAVIEW\_DATA\_EXCLUDE\_FROM\_ALL:BOOL=ON  
-DVTK\_DATA\_EXCLUDE\_FROM\_ALL:BOOL=ON

build command :

ctest -S /worker/project-Test/dashboard/dashboard.cmake -R Testproject ‘-DCTEST\_CMAKE\_GENERATOR=“Ninja”’ -DCTEST\_TEST\_TIMEOUT:STRING=250 -DCTEST\_SOURCE\_DIRECTORY:PATH=/worker/project-Test/project -DCTEST\_BINARY\_DIRECTORY:PATH=/worker/project-Test/project\_build -DCTEST\_MODEL:STRING=Experimental -DCTEST\_BUILD\_BUILDER\_NAME:STRING=project-Test -DCTEST\_BUILD\_NUMBER:STRING=377 -DCTEST\_SITE:STRING=projectDockerAWS -Dctest\_parallel\_level:STRING=24

I am currently moving my cmake configure/build/test logic to my dashboard cmake. I am trying to replicate the ParaView flow from open.cdash

I need the BUILD\_TESTING since I am testing our state file.

Is there a way to make the ExternalData step give a warning instead of producing an error. My temporary solution was to deactivate the download functions in paraview/cmake/ExternalData.cmake

---

<div class="post-metadata">

### Author: ![fstamour](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fstamour/32/5305_2.png) [@fstamour](https://discourse.paraview.org/u/fstamour)
#### Post date: [November 12, 2020, 2:09pm UTC](https://discourse.paraview.org/t/paraview-data-exclude-from-all-not-working/271/5 "2020-11-12T14:09:29Z")

</div>

Setting PARAVIEW\_DATA\_EXCLUDE\_FROM\_ALL:BOOL=ON worked for me yesterday.
