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

Pyvista using pythreejs no error but not displaying any output: #3360

Closed
Tracked by #3690
snehasreec opened this issue Sep 24, 2022 · 9 comments
Closed
Tracked by #3690

Pyvista using pythreejs no error but not displaying any output: #3360

snehasreec opened this issue Sep 24, 2022 · 9 comments
Labels
bug Uh-oh! Something isn't working as expected.

Comments

@snehasreec
Copy link

No description provided.

@github-actions
Copy link
Contributor

Hi and welcome! Thanks for posting your first issue in the PyVista project! Someone from @pyvista/developers will chime in before too long. If your question is support related, we may transfer it to the Discussions.

@snehasreec
Copy link
Author

pyvista report:
OS : Linux
CPU(s) : 32
Machine : x86_64
Architecture : 64bit
RAM : 62.7 GiB
Environment : Jupyter
File system : ext4
GPU Vendor : Mesa/X.org
GPU Renderer : llvmpipe (LLVM 12.0.0, 256 bits)
GPU Version : 4.5 (Core Profile) Mesa 21.2.6

Python 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]

pyvista : 0.34.1
vtk : 9.1.0
numpy : 1.22.4
imageio : 2.21.1
appdirs : 1.4.4
scooby : 0.5.12
matplotlib : 3.5.2
IPython : 8.4.0
scipy : 1.8.1
tqdm : 4.64.0

@snehasreec
Copy link
Author

Following are some of the installed packages in the environment
Package Version


ipydatawidgets 4.3.2
ipykernel 6.15.1
ipython 8.4.0
ipython_genutils 0.2.0
ipywidgets 7.7.1
jupyter 1.0.0
jupyter-client 7.3.4
jupyter-console 6.4.4
jupyter-core 4.11.1
jupyter-packaging 0.12.2
jupyter-server 1.18.1
jupyterlab 3.4.5
jupyterlab-pygments 0.2.2
jupyterlab-server 2.15.0
jupyterlab-widgets 1.1.1
matplotlib 3.5.2
matplotlib-inline 0.1.3
open3d 0.13.0
pip 22.2.1
pytz 2022.2.1
pyvista 0.34.1
PyWavelets 1.3.0
pyxdg 0.26
PyYAML 6.0
pyzmq 23.2.0
tqdm 4.64.0
traitlets 5.3.0
traittypes 0.2.1
vtk 9.1.0
widgetsnbextension 3.6.1

@peterdays
Copy link

peterdays commented Sep 25, 2022

I'm also experiencing the same issue. Here is my pv.Report

`

Date: Sun Sep 25 01:15:17 2022 WEST

            OS : Linux
        CPU(s) : 16
       Machine : x86_64
  Architecture : 64bit
           RAM : 15.0 GiB
   Environment : Jupyter
   File system : ext4
    GPU Vendor : AMD
  GPU Renderer : RENOIR (renoir, LLVM 14.0.6, DRM 3.42, 5.15.0-48-generic)
   GPU Version : 4.6 (Core Profile) Mesa 22.3.0-devel (git-7829403 2022-09-20 jammy-oibaf-ppa)

Python 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]

       pyvista : 0.36.1
           vtk : 9.1.0
         numpy : 1.21.5
       imageio : 2.21.2
       appdirs : 1.4.4
        scooby : 0.5.12
    matplotlib : 3.5.3
       IPython : 8.5.0
    ipyvtklink : 0.2.2
         scipy : 1.7.3
    itkwidgets : Version unknown
          tqdm : 4.64.1
        meshio : 5.3.4
    jupyterlab : 3.4.3
     pythreejs : Version unknown

Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904
for Intel(R) 64 architecture applications
--------------------------------------------------------------------------------`

@snehasreec can you see anything being displayed with the other backends?

@peterdays
Copy link

peterdays commented Sep 25, 2022

UPDATE: For me the problem was using the most recent version of ipywidgets (8.0.2). I followed the steps described here: #3274

@snehasreec
Copy link
Author

I cannot see anything with ipyvtklink as well

@banesullivan
Copy link
Member

Downgrading to ipywidgets==7.7.1 seems to be fixing the issue for most people and this is indeed a duplicate/similar to #3274 and #3282. We're working to stabilize this!

@snehasreec
Copy link
Author

I still cannot view any output, following are my jupyter labextension list:
jupyter labextension list JupyterLab v3.4.7
/home/snehasree/.local/share/jupyter/labextensions
open3d v0.13.0 enabled OK (python, open3d)
jupyterlab-datawidgets v7.1.2 enabled OK
jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)

/home/snehasree/torch3/share/jupyter/labextensions
ipycanvas v0.13.1 enabled OK
jupyter-threejs v2.4.0 enabled OK (python, pythreejs)
ipyevents v2.0.1 enabled OK
@jupyter-widgets/jupyterlab-manager v5.0.3 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
app dir: /home/snehasree/torch3/share/jupyter/lab
js v0.1.0 enabled OK

@tkoyama010 tkoyama010 added the bug Uh-oh! Something isn't working as expected. label Sep 27, 2022
@banesullivan
Copy link
Member

I apologize that we were unable to help you resolve this issue. Unfortunately, we do not plan to further support the pythreejs notebook backend and would like to point you to our new trame based backend that will be available in version 0.38

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

No branches or pull requests

4 participants