ipython / ipython/traitlets

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

Abierto
#541 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
653
Forks
217
Merge medio
2 d 21 h
PR fusionados (30 d)
2

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.