Skip to content

quickvolshow and showvol crashes on VS Code #430

Open
@goioCodes

Description

@goioCodes

I have been trying to make the package work on a VS Code notebook to no avail. Some of the things I tried did work in a Jupyter notebook after much testing. I performed all of the testing by only running the first 3 examples. quickscatter and quickquiver work correctly on VS Code, however running the quickvolshow example instantly crashes the application, triggering an "Are you sure you want to close without saving?" pop-up, which upon selecting any of the options does nothing and it is impossible to interact with the notebook any longer, requiring a full restart. I'm not sure whether this is a VS Code problem.

Here's everything I tried, none of the following options made quickshowvol work:

  • Default anaconda install using python==3.10.9, with ipyvolume==0.6.0 installed from conda-forge with the automatically downloaded dependencies. This results in pythreejs==2.4.1 since pythreejs==2.4.2 is not available on conda-forge. This hangs the kernel when executing any method on a jupyter notebook (includng quickscatter and quickquiver), but quickscatter and quickquiver work correctly on VSC.
  • Updating the installation to pythreejs==2.4.2 using pip. Everything works in Jupyter notebook, but only quickscatter and quickquiver work in VSC.
  • Installing ipyvolume with pip on top of a default anaconda installation, same as above (it works on Jupyter).
  • Downgrading to pythreejs==2.3.0 causes the quickscatter and quickquiver widgets to also not render correctly on VSC, they are missing all of the GUI elements on the right. Didn't test with Jupyter.
  • From empty environment using python==3.8, install with pip ipyvolume==0.5.2, matplotlib and ipython_genutils. Same as above.

Is there some way to get it working? Just in case, here's one of the environments that works in Jupyter notebook but still crashes VSC.
environment.yml.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions