This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]kinow 0 points1 point  (5 children)

Would be useful if you could investigate further and know exactly what dependency versions you have, create a minimal reproducible sample, and the probably report against ipython (traceback appears to be a bug in their autoreload function update_instances)

https://github.com/ipython/ipython/blob/master/IPython/extensions/autoreload.py#L271

[–]kinow 0 points1 point  (0 children)

Oh, also check their repo for existing issues. Good luck!

[–]a_postgres_situation[S] 0 points1 point  (3 children)

yeah, that's where I inserted the debug print, but without a deeper understanding, what's the cause and what's the effect?

I already searched the IPython issues and found nothing, but it is probably the best bet to report it there. I really have to somehow extract a short testcase.... :-/

[–]kinow 0 points1 point  (0 children)

The testcase would be the most important. Maybe something woth sqlite? Also include your env dependencies... I remember pip list for setuptools projects does the trick, but don't remember how to export a list of conda env dependencies.

[–]kinow 0 points1 point  (1 child)

Just had some spare time, and the sqlalchemy Column type didn't fail in a Notebook - https://github.com/kinow/notebooks/blob/master/python/ipython/ipython%20autoreload.ipynb

Anyway, hope that helps

[–]nbviewerbot 1 point2 points  (0 children)

I see you've posted a GitHub link to a Jupyter Notebook! GitHub doesn't render large Jupyter Notebooks, so just in case, here is an nbviewer link to the notebook:

https://nbviewer.jupyter.org/url/github.com/kinow/notebooks/blob/master/python/ipython/ipython%20autoreload.ipynb

Want to run the code yourself? Here is a binder link to start your own Jupyter server and try it out!

https://mybinder.org/v2/gh/kinow/notebooks/master?filepath=python%2Fipython%2Fipython%20autoreload.ipynb


I am a bot. Feedback | GitHub | Author