Closed astier closed 5 years ago
I faced the same problem. Why did you close this issue? Here is the report. https://stackoverflow.com/questions/55737826/pudb3-raises-typeerror-when-i-try-to-open-modules
Yikes. Turns out this has been fixed on master for a long time (which was the reason why I couldn't reproduce it), but had never been part of a release. Time to do a release... 2019.1 is up on the package index. This should address the issue. Let me know (and reopen this issue) if not.
I doubt the problem was related to Conda environment path. Though, after I have re-installed anaconda, the problem disappeared. I will open this issue when I found the way to reproduce the problem.
I believe #309 solved this problem.
Problem
Pressing the key m in a pudb-session in a conda-environment where matplotlib is installed throws a TypeError and leaves me in the POST-MORTEM MODE. When I press m a second time pudb crashes with the same exception.
Steps to reproduce
echo 'print("Test")' > test.py
conda create -n test matplotlib
conda activate test
pip install pudb
python -m pudb.run test.py