TypeError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry'
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
调研方向
从运行 ./pathology/tumor_detection/ignite/profiling_camelyon_pipeline.ipynb 和 /usr/local/bin/jupytext 的导入 traceback 开始。跟踪 jupyter_server 和 jupyter_events 的导入,直到报告中的 Validator 初始化,然后重新运行 notebook 的 PEP8 检查。命令在没有 TypeError 的情况下完成即表示完成。
由索引模型根据 Issue 内容生成。
描述
[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'
- 主要语言
- Jupyter Notebook
- 星标
- 2.6k
- 派生
- 805
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Project-MONAI/tutorials 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 76/100
Project-MONAI/tutorials#2069 ·
-
难度 1/5 1 小时以内 新手友好度 85/100
Project-MONAI/tutorials#1704 ·
-
难度 4/5 3-5 天 新手友好度 45/100
Project-MONAI/tutorials#2080 ·
-
Rehost CONSep可能已有人在做 @vikashg 于 9 天前认领。 未关闭
Project-MONAI/tutorials#2079 · 1 条评论 · 已指派 2 人 ·
-
难度 4/5 3-5 天 新手友好度 62/100
Project-MONAI/tutorials#2071 ·
查看 Project-MONAI/tutorials 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
Open-Systems-Pharmacology/OSPSuite.ReportingEngine#1380 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
osmberlin/tagging-schema-browser#311 ·
维护者通常 1 天内回复
-
package-request
难度 2/5 1-3 小时 新手友好度 74/100
ScoopInstaller/Main#8582 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 76/100