glue-viz / glue-wwt

WorldWideTelescope viewer in glue
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

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

Open jfoster17 opened 10 months ago

jfoster17 commented 10 months ago

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:

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 commented 10 months ago

Tagging @Carifio24

Carifio24 commented 10 months ago

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

jfoster17 commented 10 months ago

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

Carifio24 commented 10 months ago

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

Carifio24 commented 10 months ago

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