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

pythreejs DirectionalLight() function not making objects render #5

Open
mandeepika opened this issue Mar 28, 2021 · 3 comments
Open

Comments

@mandeepika
Copy link
Contributor

Have been trying around different things and noticed that if we don't use DirectionalLight() function in the code, the objects are able to render properly. On query, I commented out the lines using that function and it works. Same is the case when I try on thebe and ckeditor locally. So I am assuming DirectionalLight() function is creating some conflicts resulting in 'Error Displaying Widget'. (I haven't yet but need to investigate the DirectionalLight() function more).

@moorepants
Copy link
Member

Nice find!

@moorepants
Copy link
Member

I recommend getting this example (jupyter-book/thebe#262) working in thebe and track the issue there because we are more likely to get help from other people that use/work on thebe. Asking questions to the pythreejs developers in the jupyter discourse, their gitter, or mailing lists is the best way to get help.

@sandertyu
Copy link
Collaborator

Source code for DirectionalLight().
Documentation for DirectionalLight().

The source does import ipywidgets, so that is almost certainly the base issue. I'm not exactly sure yet which part of the ipywidgets code is causing the problem though, because there are no render() functions as we know to be problematic.

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