widgetti / ipyvolume

3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL
MIT License
1.92k stars 233 forks source link

Figures not being showed #262

Open akielbowicz opened 4 years ago

akielbowicz commented 4 years ago

Hi,

I tried to run the example of the documentation but the figures are not being showed. And it doesn't raises any error. I tried in both legacy Jupyter and JupyterLab and in both it failed.

For legacy Jupyter I installed from zero using conda following the docs.

The only thing that I managed to obtain information was the console log in Firefox after I run the cell. I also tried in Chromium and have the same problem.

THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.
three.js:294:353
we
http://localhost:8888/nbextensions/jupyter-threejs/three.js:294:353
a/this.add_attributes/<
values.ts:269:27
v.forEach
underscore.js:158:8
a/this.add_attributes
values.ts:267:8
create_mesh
scatter.js:337:8
render
scatter.js:100:8
T</t.prototype.create_view/t.state_change</<
manager-base.js:92
Error
​
columnNumber: 20062
​
fileName: "http://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20190718105316"
​
lineNumber: 1
​
message: "Could not create a view for model id 710a2adbf512427c91b3bddfdbe4c3c8"
​
stack: "v/<@http://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20190718105316:1:20062\n"
​
__proto__: Object { … }
utils.js:119
v/<
utils.js:119
Error
​
columnNumber: 20062
​
fileName: "http://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20190718105316"
​
lineNumber: 1
​
message: "Could not create view"
​
stack: "v/<@http://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20190718105316:1:20062\n"
​
__proto__: Object { … }
utils.js:119
v/<
utils.js:119
TypeError: this.renderer is undefined[Learn More]
scatter.js:146:8
XHRGET
http://localhost:8888/api/contents/notebooks/example.ipynb?content=0&_=1563458011955
[HTTP/1.1 200 OK 3ms]
XHRPUT
http://localhost:8888/api/contents/notebooks/example.ipynb
[HTTP/1.1 200 OK 29ms]
madhuniha commented 4 years ago

I find that it runs in virtual environment.

Here is the console log with virtual environment: The resource from “http://52.66.121.196:8888/static/components/react/react-dom.production.min.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). 2 Untitled9.ipynb Loading failed for the Githubissues.

  • Githubissues is a development platform for aggregating issues.