Skip to content

For Jupyter Lab 3, Every cell output raises "Javascript Error" #194

@a3626a

Description

@a3626a

Environment A

Jupyter Lab 3.2.5
jupyterlab-vpthon 3.0.7(development version from https://github.com/jcoady/jupyterlab_vpython)

Environment B

Jupyter Lab 3.2.5
jupyterlab-vpython 3.1.1(installed via pip install jupyterlab-vpython)

Steps to Reproduce

In env A and B, executing following two cell raises "Javascript Error"

from vpython import *
box()
print("Hello, VPython!")

image

Additionally, exceptions are silently ignored and raise the "Javascript Error"
image

Expected Behavior

texts and exceptions are expected to be printed like this :
image

My Investigation

Even if I restart the kernel, the bug still exists. I guess something break my brower's javascript runtime. I must reload the brower tab to fix this.

glow.min.js is supected of causing this bug. Because right after import 'script-loader!../vpython_libraries/glow.min.js'; executed, the bug was occured.

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