spinalcordtoolbox / sct_docker

Docker distribution of Spinal Cord Toolbox
3 stars 3 forks source link

Win10 Enterprise 1803 errors #31

Open alexfoias opened 5 years ago

alexfoias commented 5 years ago

I ran sct-v4.0.0-beta.0-ubuntu-18.04 on Win10 Enterprise 1803 using admin mode and I ran into this error when executing sct_check_dependencies

Overwriting environment variable $MPLBACKEND=agg
[FAIL]
(<type 'exceptions.RuntimeError'>, RuntimeError(u'Invalid DISPLAY variable',), <traceback object at 0x7f3f8656d5a8>)

Another error was generated by fsleyes.

sct@93f762ccb9bd:~/sct_course-london19/single_subject/data/t2$ fsleyes /home/sct/sct_course-london19/single_subject/data/t2/t2.nii.gz -cm greyscale /home/sct/sct_course-london19/single_subject/data/t2/t2_seg.nii.gz -cm red -a 70.0 &
[1] 640
sct@93f762ccb9bd:~/sct_course-london19/single_subject/data/t2$ Unable to access the X Display, is $DISPLAY set properly?
jcohenadad commented 5 years ago

looks exactly like this issue: https://github.com/neuropoly/sct_docker/issues/24, where the solution was to run sudo apt-update.

also: have you properly installed xming?

jcohenadad commented 5 years ago

@alexfoias any update?

alexfoias commented 5 years ago

The problem seems to be fixed when using the Xming launch shortcut after starting the docker container.