-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add slicer-notebook image #33
Conversation
This work was adapted from https://github.com/ihnorton/dockerfiles/tree/master/slicer2binder Co-authored-by: Isaiah Norton <[email protected]>
This URL will be shortly be valid: cc: @lassoan |
Remaining issues:
|
I have been getting this same error when using the linux build. It should probably be split out as its own build issue. |
I've managed to fix all the issues (interactive slice viewer works nicely) and even configured desktop vnc access. You can try it here: https://mybinder.org/v2/gh/lassoan/SlicerNotebooks/use-slicer-notebook-image I just need to clean things up a bit and then send a pull request. |
@jcfr please check my proposed fixes. This should be ready to go, we can create an issue for the remaining tasks. |
Thanks, i will do this tomorrow (or may be tonight) Thanks for your patience 🙏 |
630d802
to
b79fe62
Compare
Re-building image locally for testing. |
Going on a 🏃 .... will check when build is complete. |
- install ipython widgets required by JupyterNotebookLib in Slicer (both in Jupyter kernel and client) - download Slicer application and SlicerJupyter packages from Midas - fix remote desktop access (switch to jupyter-desktop-server), disable window manager for a cleaner look - force update PIL using pillow to fix ImportError: ...python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned
b79fe62
to
89b6bb5
Compare
Outstanding ! 🎉 🙏 😄 After building the latest image, I was able to run the image and connect to the notebook using the following:
I tried to run the notebook associated with branch 20200515 and having the prefix Todo:
Few observations (non blocker):
|
Notebooks are renamed. We can update the docker image name after the official image is pushed.
I have updated the top-level README.md (there was not readme file in the slicer-base folder either but it was documented in the top-level readme).
I'm not sure what you mean, please fix this.
Documented the limitation in JupyterNotebooksLib.AppWindowmethod.
Added an issue to track this: Slicer/SlicerJupyter#44. Happens rearely enough so that it is not annoying.
Progress reporting is implemented in JupyterNotebooksLib.downloadFromURL. There are a few remaining tasks in the first post (automatic update, reduce image size, etc.). @jcfr if you can resolve those then it's great, if not then you can create bug reports for them. |
I'll merge this and create issues for the items that we have not addressed. |
This work was adapted from https://github.com/ihnorton/dockerfiles/tree/master/slicer2binder
Todo:
slicer/slicer-notebook:latest
, we should have a proper tag of the formslicer/slicer-notebook:YYYYMMDD-SHA{7}
like what is done in https://github.com/dockcross/dockcrossslicer-notebook/README.md