matplotlib / matplotlib/ipympl

Javascript error sometimes

オープン
#602 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Jupyter Notebook
スター
1.7k
フォーク
234
PR マージ指標
30日以内にマージされた PR はありません

説明

Javascript error sometimes

Image
at WidgetManager.loadClass (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.3.0/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:2457634)
    at WidgetManager.loadClass (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.3.0/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:2841448)
    at WidgetManager.loadModelClass (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.3.0/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:2454419)
    at WidgetManager._make_model (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.3.0/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:2452380)
    at WidgetManager.new_model (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.3.0/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:2450099)
    at WidgetManager.handle_comm_open (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.3.0/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:2448870)
    at https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-renderers-1.3.0/out/node_modules/%40vscode/jupyter-ipywidgets8/dist/ipywidgets.js:2:2840461
    at t._handleCommOpen (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-2025.7.0-linux-x64/dist/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js:3:119000)
    at async t._handleMessage (https://file+.vscode-resource.vscode-cdn.net/home/firestar/.vscode/extensions/ms-toolsai.jupyter-2025.7.0-linux-x64/dist/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js:3:120875)

restart kernel won't fix

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、スタックトレースに記載された VS Code Jupyter 環境で、ipympl widget を使用して障害を再現します。次に、ipywidgets.js と ipywidgetsKernel.js のスタックエントリ WidgetManager.loadClass および handle_comm_open を調査し、インストールされている Jupyter、renderer、widget のバージョンを比較します。トリガーを特定し、断続的な JavaScript エラーが発生しなくなったことを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, jupyter, jupyter-notebook, vscode
領域
frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。