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

glue-wwt in jupyter notebook/lab: 404 error #101

Open
jfoster17 opened this issue Nov 29, 2023 · 5 comments
Open

glue-wwt in jupyter notebook/lab: 404 error #101

jfoster17 opened this issue Nov 29, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@jfoster17
Copy link
Member

Describe the bug
When I try to initialize a glue_wwt viewer in Jupyter notebook or Lab I get a 404 error for the main viewing window

Screenshots
Screenshot 2023-11-29 at 12 19 17 PM

Details:

  • Operating System: MacOS 13.6.1
  • Python version (python --version): Python 3.11
  • Glue version (glue --version): 1.16.0
  • How you installed glue: mamba

Additional context
Is there an example anywhere of the preferred way to use glue-wwt in a Jupyter notebook? In this case I'm adding it to the viewer registry, which is one way that it should work (and you can tell that it sort of works, cause you get the rest of the UI). I think my pywwt is working fine, since the standalone pywwt viewer in Jupyter Lab works fine for me.

@jfoster17 jfoster17 added the bug Something isn't working label Nov 29, 2023
@jfoster17
Copy link
Member Author

Tagging @Carifio24

@Carifio24
Copy link
Member

@jfoster17 Do you have the kernel data relay package installed?

@jfoster17
Copy link
Member Author

I did not, and that fixed my problem. That should probably be an install requirement then?

@Carifio24
Copy link
Member

I'm thinking we should add a jupyter optional requirements to the setup.cfg, with both that and glue-jupyter.

@Carifio24
Copy link
Member

The linked PR adds these dependencies in upstream pywwt; I'm thinking we could then call on those in the install options here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants