Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipyvolume notebook doesn't work #123

Open
mwcraig opened this issue Jun 18, 2021 · 4 comments
Open

ipyvolume notebook doesn't work #123

mwcraig opened this issue Jun 18, 2021 · 4 comments

Comments

@mwcraig
Copy link
Contributor

mwcraig commented Jun 18, 2021

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

@martinRenou
Copy link
Member

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 ?

@maartenbreddels
Copy link
Member

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

@maartenbreddels
Copy link
Member

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)

@mwcraig
Copy link
Contributor Author

mwcraig commented Jul 2, 2021

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants