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

Unable to view output - It shows only as Javascript error #14553

Closed
dai-anna opened this issue Oct 24, 2023 · 1 comment
Closed

Unable to view output - It shows only as Javascript error #14553

dai-anna opened this issue Oct 24, 2023 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@dai-anna
Copy link

dai-anna commented Oct 24, 2023

Environment data

  • VS Code version: 1.83.1 (Universal)
  • Jupyter Extension version (available under the Extensions sidebar): v2023.9.1102792234
  • Python Extension version (available under the Extensions sidebar): v2023.18.0
  • OS (Windows | Mac | Linux distro) and version: Mac (M1 Pro)
  • Python and/or Anaconda version: Python 3.11.4
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Local

Expected behaviour

Tried running test code:


reviews = ["I really liked this movie", "It was OK", "Do not watch!"]
sentiments = [1] * len(reviews)
sentiment_classes = ["0 - Positive", "1 - Neutral", "2 - Negative"]

Innotater(
    TextInnotation(reviews), MultiClassInnotation(sentiments, classes=sentiment_classes)
)

and excepted output from documentation.

Actual behaviour

image

Error: No version of module jupyter-innotater is registered
    at ph.loadClass (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4099813)
    at ph.loadClass (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4403287)
    at ph.loadModelClass (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4097773)
    at ph._make_model (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4094616)
    at ph.new_model (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4092246)
    at ph.handle_comm_open (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4091039)
    at https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:4402511
    at g._handleCommOpen (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-2023.9.1102792234-darwin-arm64/out/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js:2:36099)
    at async g._handleMessage (https://file+.vscode-resource.vscode-cdn.net/Users/annadai/.vscode/extensions/ms-toolsai.jupyter-2023.9.1102792234-darwin-arm64/out/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js:2:37993)
@dai-anna dai-anna added the bug Issue identified by VS Code Team member as probable bug label Oct 24, 2023
@roblourens roblourens assigned rebornix and unassigned roblourens Oct 24, 2023
@DonJayamanne
Copy link
Contributor

Duplicate of upstream issue ideonate/jupyter-innotater#53

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants