traitlets.py Type validate method ate what would have been a valuable error message to see
まだ誰も着手していません。
評価
調査の方向性
traitlets.py のクラス Type の validate メソッドから始め、そこでの失敗がどのように一般的な "must be a type" エラーになるのかを調べます。可能であればカスタムログインの起動ケースを再現します。結果のエラーまたはログに基盤となる例外の詳細が表示されれば作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
traitlets.py has a Type class with a validate method.
If this validate method fails, it just raises the error "must be a type".
I was trying to start Jupyter with a custom login class, and I would keep getting this error when trying to start Jupyter.
It turns out that the specific conda environment had problems, and I had to manually changed the traitlets.py code to except error as e, then raise an error of str(e). On then did I finally see what the root cause of the problem was in my logs.
Would it be possible to append a string output of the specific error so we can save everyone some troubleshooting/debugging time?
- 主要言語
- Python
- スター
- 653
- フォーク
- 217
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipython/traitlets のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
ipython/traitlets の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·