# Error downloading Liver CT sample image

**URL:** <https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291>\
**Category:** Support\
**Created:** [March 10, 2023, 8:19pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291 "2023-03-10T20:19:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amirmahdimech](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Amirmahdimech](https://discourse.slicer.org/u/Amirmahdimech)\
**Post date:** [March 10, 2023, 8:19pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/1 "2023-03-10T20:19:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 11, 2023, 6:59am UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/2 "2023-03-11T06:59:55Z")

</div>

What is the error message in the Python console?

---

<div class="post-metadata">

**Author:** ![Amirmahdimech](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Amirmahdimech](https://discourse.slicer.org/u/Amirmahdimech)\
**Post date:** [March 11, 2023, 3:59pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/3 "2023-03-11T15:59:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 11, 2023, 4:00pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/4 "2023-03-11T16:00:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Amirmahdimech](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Amirmahdimech](https://discourse.slicer.org/u/Amirmahdimech)\
**Post date:** [March 11, 2023, 4:20pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/5 "2023-03-11T16:20:43Z")

</div>

Here the error  
"Status: Idle

Requesting download CTLiver.nrrd from [https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e](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](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](https://github.com/Slicer/SlicerTestingData/releases/download/SHA256/e16eae0ae6fefa858c5c11e58f0f1bb81834d81b7102e021571056324ef6f37e) …

Download failed:

Download failed (attempt 3 of 3)…"

---

<div class="post-metadata">

**Author:** ![Amirmahdimech](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Amirmahdimech](https://discourse.slicer.org/u/Amirmahdimech)\
**Post date:** [March 11, 2023, 4:22pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/6 "2023-03-11T16:22:26Z")

</div>

```auto
[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>

```

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 11, 2023, 4:34pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/7 "2023-03-11T16:34:06Z")

</div>

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](https://stackoverflow.com/questions/15820739/python-urlerror-urlopen-error-errno-10060)).

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`.

---

<div class="post-metadata">

**Author:** ![Amirmahdimech](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Amirmahdimech](https://discourse.slicer.org/u/Amirmahdimech)\
**Post date:** [March 11, 2023, 5:51pm UTC](https://discourse.slicer.org/t/error-downloading-liver-ct-sample-image/28291/8 "2023-03-11T17:51:58Z")

</div>

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
