tutorial icon indicating copy to clipboard operation
tutorial copied to clipboard

ipyvolume notebook doesn't work

Open mwcraig opened this issue 4 years ago • 4 comments

I think this is because it doesn't install the jupyterlab 3.0

mwcraig avatar Jun 18 '21 15:06 mwcraig

Using ipyvolume 0.6.0a8, it seems to activate properly in JupyterLab, but I am having a JS error:

Uncaught TypeError: Cannot read property 'getUniforms' of undefined
    at bt (212.beb1cf25180dbd83d1e7.js?v=beb1cf25180dbd83d1e7:2)
    at ma.renderBufferDirect (212.beb1cf25180dbd83d1e7.js?v=beb1cf25180dbd83d1e7:2)
    at yt (212.beb1cf25180dbd83d1e7.js?v=beb1cf25180dbd83d1e7:2)
    at vt (212.beb1cf25180dbd83d1e7.js?v=beb1cf25180dbd83d1e7:2)
    at ma.render (212.beb1cf25180dbd83d1e7.js?v=beb1cf25180dbd83d1e7:2)
    at M._render_eye (568.1f8f7778089deb72b58b.js?v=1f8f7778089deb72b58b:1)
    at M._real_update (568.1f8f7778089deb72b58b.js?v=1f8f7778089deb72b58b:1)

This looks like a ThreeJS issue. Maybe a wrong ThreeJS version gets pulled. Any idea @maartenbreddels ?

martinRenou avatar Jun 21 '21 09:06 martinRenou

Weird, that could be. Is this using the setup from the main README at https://github.com/jupyter-widgets/tutorial ?

maartenbreddels avatar Jun 21 '21 09:06 maartenbreddels

this can also be triggered when trying to display a non-displayable widget (e.g. as Scatter object), sometimes these are returned, and for some reason (although we do not inherit from DOMWidget), the widget manager tries to display a scatter object. (Same happens with bqplot I think)

maartenbreddels avatar Jun 21 '21 09:06 maartenbreddels

@maartenbreddels -- we are seeing the failure using the README instructions at commit c19e35ed323b8c0c95aa8d404d35e29af7281f09

If you could take a look that would be great! We'd really like to demo ipyvolume in the tutorial this year.

mwcraig avatar Jul 02 '21 15:07 mwcraig