Why does my HD Brain Extration Tool fail to computing?

researchtomliu
Wed, 11 Dec 2024 09:02:04 +0000
Support

Hello, I have updated the Slicer to the latest version 5.7. When I used the model “HD Brain Extration Tool”, It could not comptue and gave some error warnning masages. How to solve it? Thanks!

Traceback (most recent call last):
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\urllib\request.py”, line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\http\client.py”, line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\http\client.py”, line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\http\client.py”, line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\http\client.py”, line 1040, in _send_output
self.send(msg)
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\http\client.py”, line 980, in send
self.connect()
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\http\client.py”, line 1447, in connect
super().connect()
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\http\client.py”, line 946, in connect
self.sock = self._create_connection(
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\socket.py”, line 823, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\socket.py”, line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “D:\Slicer 5.7.0-2024-12-09\bin\Python\slicer\util.py”, line 3295, in tryWithErrorDisplay
yield
File “D:/Slicer 5.7.0-2024-12-09/slicer.org/Extensions-33147/HDBrainExtraction/lib/Slicer-5.7/qt-scripted-modules/HDBrainExtractionTool.py”, line 237, in onApplyButton
self.logic.process(self.ui.inputVolumeSelector.currentNode(), self.ui.outputVolumeSelector.currentNode(),
File “D:/Slicer 5.7.0-2024-12-09/slicer.org/Extensions-33147/HDBrainExtraction/lib/Slicer-5.7/qt-scripted-modules/HDBrainExtractionTool.py”, line 379, in process
run_hd_bet([input_file], [output_file], mode, config_file, device, postprocess = True, do_tta = enable_augmentation, keep_mask = save_mask, overwrite = True, bet = save_masked_volume)
File “D:\Slicer 5.7.0-2024-12-09\slicer.org\Extensions-33147\HDBrainExtraction\lib\Slicer-5.7\qt-scripted-modules\HD_BET\run.py”, line 51, in run_hd_bet
maybe_download_parameters(i)
File “D:\Slicer 5.7.0-2024-12-09\slicer.org\Extensions-33147\HDBrainExtraction\lib\Slicer-5.7\qt-scripted-modules\HD_BET\utils.py”, line 37, in maybe_download_parameters
data = urlopen(url).read()
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\urllib\request.py”, line 214, in urlopen
return opener.open(url, data, timeout)
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\urllib\request.py”, line 517, in open
response = self._open(req, data)
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\urllib\request.py”, line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\urllib\request.py”, line 494, in _call_chain
result = func(*args)
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\urllib\request.py”, line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File “D:\Slicer 5.7.0-2024-12-09\lib\Python\Lib\urllib\request.py”, line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed>

3 posts - 2 participants