Issue showing implicit_plot3d in Sage using anything other than tachyon

I’m having an issue with Jupyter Lab where 3D graphs I try to render in Sage do not show up. The viewer backends I have tried to force are: threejs, canvas3d, jsmol, and java3d. My graphs are able to render when I force the viewer to be tachyon, but the graphs are not interactive. I think this is related to an issue with nodejs, though I’m not sure how to resolve it. Below is what is returned in the terminal when I attempt to run a Lab notebook.

Very relevant edit: I should mention that this works fine in a regular Jupyter notebook.

[W 2021-02-25 13:00:08.507 LabApp] Could not determine jupyterlab build status without nodejs

[W 2021-02-25 13:00:10.579 ServerApp] 404 GET /nbextensions/threejs/build/three.min.js (127.0.0.1) 40.70ms referer=http://localhost:8888/lab/tree/Jupyter/mcs_320/2-24.ipynb

[W 2021-02-25 13:00:10.582 ServerApp] 404 GET /nbextensions/threejs/examples/js/controls/OrbitControls.js (127.0.0.1) 41.68ms referer=http://localhost:8888/lab/tree/Jupyter/mcs_320/2-24.ipynb

[W 2021-02-25 13:00:11.219 ServerApp] 404 GET /nbextensions/threejs/build/three.min.js (127.0.0.1) 5.28ms referer=http://localhost:8888/lab/tree/Jupyter/mcs_320/2-24.ipynb

[W 2021-02-25 13:00:11.287 ServerApp] 404 GET /nbextensions/threejs/examples/js/controls/OrbitControls.js (127.0.0.1) 2.15ms referer=http://localhost:8888/lab/tree/Jupyter/mcs_320/2-24.ipynb

Here is a link the my question on the Sage forum.

That error is harmless and not relevant. It’s just saying you can’t do jupyter lab build as an informational message.

These errors indicate that something is trying to load classic notebook extensions, which would not work in JupyterLab. That may be the problem.

1 Like