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

Viewer widget not visible in Jupyter Notebook on CodeOcean #650

Open
tbirdso opened this issue May 8, 2023 · 1 comment
Open

Viewer widget not visible in Jupyter Notebook on CodeOcean #650

tbirdso opened this issue May 8, 2023 · 1 comment
Assignees

Comments

@tbirdso
Copy link

tbirdso commented May 8, 2023

Overview

itkwidgets.view produces output but does not show the expected 3D image.

Steps to reproduce

  1. In a clean environment, pip install itk itkwidgets[notebook]==1.0a23
  2. Run Hello3DWorld.ipynb

Expected Behavior

itkwidgets.view depicts 3D volume rendering

Observed Behavior

itkwidgets-no-view-codeocean

Environment

Python 3.8.5
ITK v5.3.0
itkwidgets 1.0a23
Ubuntu 20.04

Docker image: registry.codeocean.allenneuraldynamics.org/codeocean/jupyterlab:3.0.9-miniconda4.9.2-python3.8-ubuntu20.04

Other Notes

Behavior is observed in a clean environment run via CodeOcean reproducible platform.

Is this maybe an environment issue, and if so what are some things that could be going wrong or some possible steps to resolve? I think I've observed this issue in my local setup before but am uncertain what steps I took to resolve it. Once a resolution is identified, could it be added to an FAQ section in documentation?

EDIT: Note that the ImJoy extension seems to load successfully

imjoy-loaded

The local browser console shows the errors below. The "refused to execute script" error appears regardless of whether itkwidgets is installed when the notebook launches.

console-errors

@tbirdso
Copy link
Author

tbirdso commented May 8, 2023

cc @bnmajor @thewtex

@bnmajor bnmajor self-assigned this May 22, 2023
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

2 participants