Project-MONAI / Project-MONAI/MONAILabel
slicer3d monailabel extension unable to fetch image from the server
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 891
- Forks
- 269
- Avg merge
- 15h 41m
- Merged PRs (30d)
- 1
Description
Describe the bug
Slicer3d on macos is unable to fetch the image from the server on pressing the button "Next Sample"
Server logs
Traceback (most recent call last):
File "/Applications/Slicer.app/Contents/Extensions-31382/MONAILabel/lib/Slicer-5.2/qt-scripted-modules/MONAILabel.py", line 1268, in onNextSampleButton
self._volumeNode = sampleDataLogic.downloadFromURL(
IndexError: list index out of range
To Reproduce
Steps to reproduce the behavior:
- have monailabel server running from a distant machine and try to load image from it by pressing "Next Image"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at MONAILabel.py, especially onNextSampleButton around line 1268 and its downloadFromURL call. Reproduce with a remote MONAI Label server on macOS and inspect why the returned list is empty; done when Next Sample fetches the image without IndexError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100