Issue(s)
I have Domino 5.1 and VSCode has behavioural issues
When I clear cells, and run them - they do not run
When I change kernel, a separate instance of the notebook opens
Only notebooks with /mnt in the file tab will run
Errors in VSCode, like : NO File file:///mplaybook.ipynb or Notebook not found:
Cause
You may have a VSCode 4.0.1 / code-server 1.63.0 installed, which may exhibit issues in the Domino UI. Please update to 4.2.X or better.
This can also be accomplished by changing to a different Environment image, Domino 5.2 image has 4.2 already!
Resolution (for Domino 5.1)
User JupyterLab to run your notebooks natively!
or
Build your Environment with upgraded VSCode:
USER root ################### # Install/upgrade vscode workspace ################### ### COPY vscode-start.sh /opt/domino/workspaces/vscode/start # Install VSCode using install script ### RUN chmod 755 /opt/domino/workspaces/vscode/start && \ # Installing an old version so the python extension still works RUN curl -fOL https://github.com/coder/code-server/releases/download/v4.2.0/code-server_4.2.0_amd64.deb && \ dpkg -i code-server_4.2.0_amd64.deb && \ rm -rf code-server_4.2.0_amd64.deb # Install VSCode extensions for python (pinned to this version so the python extension works for python notebooks) RUN cd /tmp && \ mkdir -p /home/ubuntu/.local/share/code-server/ && \ mkdir -p /home/ubuntu/.config && \ wget -nv https://github.com/microsoft/vscode-python/releases/download/2021.12.1559732655/ms-python-release.vsix && \ code-server --install-extension ./ms-python-release.vsix --extensions-dir /home/ubuntu/.local/share/code-server/extensions || true && \ chown -R ${DOMINO_USER}.${DOMINO_GROUP} "/home/${DOMINO_USER}" && \ rm -rf /tmp/* && \ rm -rf /var/tmp/*
Comments
0 comments
Please sign in to leave a comment.