Error downloading Liver CT sample image

Hi guys
I’m using Slicer 5.2.2 and for some reason it cannot download Liver CT sample data which is built-in.
Does anybody know how I can download the sample data online?
regards

What is the error message in the Python console?

It says “failed to download from repository”.
I’ve downloaded previous versions(4.0.2 and 4.1) and tried to download the sample data and it was successful, but since I need Liver’s sample data which is only present in 5.0 and after versions, I have to somehow download it and load it into Slicer.

Please copy here the application log (menu: Help / Report a bug) for a bit more details. Thank you.

Here the error
"Status: Idle

Requesting download CTLiver.nrrd from https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e

Download failed:

Download failed (attempt 1 of 3)…

Requesting download CTLiver.nrrd from https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e

Download failed:

Download failed (attempt 2 of 3)…

Requesting download CTLiver.nrrd from https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e

Download failed:

Download failed (attempt 3 of 3)…"

[DEBUG][Qt] 11.03.2023 19:44:40 [] (unknown:0) - Session start time .......: 2023-03-11 19:44:40
[DEBUG][Qt] 11.03.2023 19:44:40 [] (unknown:0) - Slicer version ...........: 5.2.2 (revision 31382 / fb46bd1) win-amd64 - installed release
[DEBUG][Qt] 11.03.2023 19:44:40 [] (unknown:0) - Operating system .........: Windows /  Professional / (Build 19044, Code Page 65001) - 64-bit
[DEBUG][Qt] 11.03.2023 19:44:40 [] (unknown:0) - Memory ...................: 8056 MB physical, 20344 MB virtual
[DEBUG][Qt] 11.03.2023 19:44:40 [] (unknown:0) - CPU ......................: GenuineIntel , 4 cores, 4 logical processors
[DEBUG][Qt] 11.03.2023 19:44:40 [] (unknown:0) - VTK configuration ........: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 11.03.2023 19:44:40 [] (unknown:0) - Qt configuration .........: version 5.15.2, with SSL, requested OpenGL 3.2 (compatibility profile)
[WARNING][Qt] 11.03.2023 19:44:41 [] (unknown:0) - Could not get the INetworkConnection instance for the adapter GUID.
[DEBUG][Qt] 11.03.2023 19:44:41 [] (unknown:0) - Internationalization .....: disabled, language=
[DEBUG][Qt] 11.03.2023 19:44:41 [] (unknown:0) - Developer mode ...........: disabled
[DEBUG][Qt] 11.03.2023 19:44:41 [] (unknown:0) - Application path .........: C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin
[DEBUG][Qt] 11.03.2023 19:44:41 [] (unknown:0) - Additional module paths ..: NA-MIC/Extensions-31382/RawImageGuess/lib/Slicer-5.2/qt-scripted-modules
[DEBUG][Python] 11.03.2023 19:45:17 [Python] (C:\Users\SIGMA\AppData\Local\NA-MIC\Slicer 5.2.2\lib\Slicer-5.2\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:38) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 11.03.2023 19:45:21 [Python] (C:\Users\SIGMA\AppData\Local\NA-MIC\Slicer 5.2.2\lib\Slicer-5.2\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:38) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 11.03.2023 19:45:21 [Python] (C:\Users\SIGMA\AppData\Local\NA-MIC\Slicer 5.2.2\lib\Slicer-5.2\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:38) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 11.03.2023 19:45:23 [] (unknown:0) - Switch to module:  "Welcome"
[DEBUG][Qt] 11.03.2023 19:45:50 [] (unknown:0) - Switch to module:  "SampleData"
[DEBUG][Python] 11.03.2023 19:45:50 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <p>Status: <i>Idle</i></p>
[DEBUG][Python] 11.03.2023 19:45:55 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <b>Requesting download</b> <i>CTLiver.nrrd</i> from https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e ...
[ERROR][Python] 11.03.2023 19:47:31 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <font color="red"><b>	Download failed: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond></b></font>
[ERROR][Python] 11.03.2023 19:47:31 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <font color="red"><b>Download failed (attempt 1 of 3)...</b></font>
[DEBUG][Python] 11.03.2023 19:47:31 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <b>Requesting download</b> <i>CTLiver.nrrd</i> from https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e ...
[ERROR][Python] 11.03.2023 19:48:10 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <font color="red"><b>	Download failed: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond></b></font>
[ERROR][Python] 11.03.2023 19:48:10 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <font color="red"><b>Download failed (attempt 2 of 3)...</b></font>
[DEBUG][Python] 11.03.2023 19:48:10 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <b>Requesting download</b> <i>CTLiver.nrrd</i> from https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e ...
[ERROR][Python] 11.03.2023 19:48:40 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <font color="red"><b>	Download failed: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond></b></font>
[ERROR][Python] 11.03.2023 19:48:40 [Python] (C:/Users/SIGMA/AppData/Local/NA-MIC/Slicer 5.2.2/bin/../lib/Slicer-5.2/qt-scripted-modules/SampleData.py:386) - <font color="red"><b>Download failed (attempt 3 of 3)...</b></font>

It seems that you are using a proxy server that does not let direct access to the server. You can specify proxy server for Python (see for example here).

If that doesn’t work then you can download from the displayed URL using your web browser and rename the downloaded file to liver.nrrd.

First time that I tried downloading the file, since it didn’t have a format assigned to it I gave up on it. But after I changed it’s name to liver.nrrd it worked!
Thanks Andras