-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not show exception information correctly in IPython Console #2395
Comments
I have found a very dirty workaround, just insert
to line 3031 of Python34\lib\site-packages\IPython\core\interactiveshell.py Is it because the method IPython handle custom exception is incompatible with python 3? |
@cheneave, could you provide a step by step guide to reproduce this error? |
It works properly before step 2 My version of python and ipython is Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] Other packages required by spyder are all the latest version from pip3 |
This is an IPython upstream problem, not an Spyder problem. I'll see what I can do about it. |
I'm using the dev version of Spyder, and ipython v3.1.0
When a ipython console is first started, it shows exception information correctly. For example, if I type in a undefined name, it shows a NameError.
But after I run a source file, even an empty source file, the console will only show
Traceback (most recent call last):
File "D:\Python\Python34\lib\site-packages\IPython\core\interactiveshell.py", line 3044, in run_code
except self.custom_exceptions:
TypeError: catching classes that do not inherit from BaseException is not allowed
When exception is thrown
The text was updated successfully, but these errors were encountered: