ipython / ipython/traitlets

traitlets.py Type validate method ate what would have been a valuable error message to see

オープン
#541 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
653
フォーク
217
平均マージ
2日 21時間
マージ済み PR(30日)
2

説明

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?

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

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

評価

この issue はまだ評価されていません。

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

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