Follow

Jupyter notebook unable to "download as"

Overview

When running a Jupyter notebook, the cells in the notebook can be downloaded and saved locally for later reference.

Screen_Shot_2018-01-19_at_08.50.26.png

However, in some cases, the user might be faced with the following error 

500error.png

Note: there is no work lost at this point; the notebook server is still running in Domino and you can return to your notebook as it was. This error just means the conversion to the given format prior to downloading failed.

Applies to

Interactive Jupyter Notebooks running in Domino. The version is not Domino Specific.

Cause

It appears that there was a broken dependency introduced in some later versions of Jupyter notebooks.

See this link for more information: https://trac.sagemath.org/ticket/24484

Solution

Upgrade nbconvert. The following is an example of what you would add into your Dockerfile commands section in your Domino Compute Environment:

RUN pip install nbconvert==5.3.1

Alternatively you could simply add this into your requirements.txt in your Domino project:
 
nbconvert==5.3.1
Was this article helpful?
0 out of 0 found this helpful