You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the example notebook when using vscode
However, I do actually see the widget rendering at this point (so the above may be a red herring). However, clicking on any of the nodes produces this error message:
The widgets work fine in Jupyter lab with Firefox.
Poking around a bit I see that the widget defines an _id attribute which defaults to "#". I wonder if maybe vscode is misinterpreting this attribute or reserves that attribute for internal use, and if the problem might be fixed by renaming _id. I tried testing this, but I couldn't actually get vs code to load locally defined ipytree widgets.
ipytree = 0.2.1
ipywidgets = 7.7.0
VS Code version info:
Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:20.994Z (2 wks ago)
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Darwin x64 20.6.0
The text was updated successfully, but these errors were encountered:
I'm seeing the same issue. Clicking on a node in the tree results in a modal dialog from vscode:
If I go ahead and create the file (named "#"), clicking a node will open the file in the vscode editor pane.
When running the example notebook when using vscode
However, I do actually see the widget rendering at this point (so the above may be a red herring). However, clicking on any of the nodes produces this error message:
The widgets work fine in Jupyter lab with Firefox.
Poking around a bit I see that the widget defines an
_id
attribute which defaults to"#"
. I wonder if maybe vscode is misinterpreting this attribute or reserves that attribute for internal use, and if the problem might be fixed by renaming_id
. I tried testing this, but I couldn't actually get vs code to load locally defined ipytree widgets.ipytree = 0.2.1
ipywidgets = 7.7.0
VS Code version info:
Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:20.994Z (2 wks ago)
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Darwin x64 20.6.0
The text was updated successfully, but these errors were encountered: