Project-MONAI / Project-MONAI/tutorials

TypeError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry'

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

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

bug
主要言語
Jupyter Notebook
スター
2.5k
フォーク
803
平均マージ
6日 22時間
マージ済み PR(30日)
3

説明

[2024-09-01T16:26:05.898Z] Running ./pathology/tumor_detection/ignite/profiling_camelyon_pipeline.ipynb
[2024-09-01T16:26:05.898Z] Checking PEP8 compliance...
[2024-09-01T16:26:06.154Z] Traceback (most recent call last):
[2024-09-01T16:26:06.154Z]   File "/usr/local/bin/jupytext", line 5, in <module>
[2024-09-01T16:26:06.154Z]     from jupytext.cli import jupytext
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupytext/__init__.py", line 9, in <module>
[2024-09-01T16:26:06.154Z]     from .contentsmanager import build_jupytext_contents_manager_class
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupytext/contentsmanager.py", line 616, in <module>
[2024-09-01T16:26:06.154Z]     from jupyter_server.services.contents.largefilemanager import LargeFileManager
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/contents/largefilemanager.py", line 7, in <module>
[2024-09-01T16:26:06.154Z]     from jupyter_server.services.contents.filemanager import (
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/contents/filemanager.py", line 36, in <module>
[2024-09-01T16:26:06.154Z]     from .manager import AsyncContentsManager, ContentsManager, copy_pat
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/contents/manager.py", line 16, in <module>
[2024-09-01T16:26:06.154Z]     from jupyter_events import EventLogger
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/__init__.py", line 3, in <module>
[2024-09-01T16:26:06.154Z]     from .logger import EVENTS_METADATA_VERSION, EventLogger
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/logger.py", line 19, in <module>
[2024-09-01T16:26:06.154Z]     from .schema import SchemaType
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/schema.py", line 18, in <module>
[2024-09-01T16:26:06.154Z]     from .validators import draft7_format_checker, validate_schema
[2024-09-01T16:26:06.154Z]   File "/usr/local/lib/python3.10/dist-packages/jupyter_events/validators.py", line 44, in <module>
[2024-09-01T16:26:06.154Z]     JUPYTER_EVENTS_SCHEMA_VALIDATOR = Draft7Validator(
[2024-09-01T16:26:06.154Z] TypeError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry'

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

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

はじめの一歩

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

調査の方向性

./pathology/tumor_detection/ignite/profiling_camelyon_pipeline.ipynb の実行と、/usr/local/bin/jupytext のインポート traceback から始めます。報告された Validator の初期化まで jupyter_server と jupyter_events のインポートを追跡し、その後ノートブックの PEP8 チェックを再実行します。コマンドが TypeError なしで完了すれば完了です。

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

評価

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

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

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