You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the similar issue in Spyder 3.0.0 and even Spyder 3.0.1 after run the following code
importsysreload(sys)
The error code in internal console are as follows
>>> Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch
Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch
handler(msg)
File "C:\Anaconda\lib\site-packages\spyder\widgets\ipythonconsole\namespacebrowser.py", line 188, in _handle_execute_replyself.handle_exec_method(msg)
File "C:\Anaconda\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 227, in handle_exec_method
properties = ast.literal_eval(data['text/plain'])
KeyError: 'text/plain'
handler(msg)
File "C:\Anaconda\lib\site-packages\spyder\widgets\ipythonconsole\namespacebrowser.py", line 188, in _handle_execute_replyself.handle_exec_method(msg)
File "C:\Anaconda\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 224, in handle_exec_method
view = ast.literal_eval(data['text/plain'])
KeyError: 'text/plain'
@dalthviz, this is an easy one. Please add a verification before line 224 of widgets/ipythonconsole/shell.py to see if the dictionary data has a 'text/plain' key. If that's not the case, please make view an empty dictionary :-)
The text was updated successfully, but these errors were encountered:
A user reported in our mailing list:
I got the similar issue in Spyder 3.0.0 and even Spyder 3.0.1 after run the following code
The error code in internal console are as follows
@dalthviz, this is an easy one. Please add a verification before line 224 of
widgets/ipythonconsole/shell.py
to see if the dictionarydata
has a'text/plain'
key. If that's not the case, please makeview
an empty dictionary :-)The text was updated successfully, but these errors were encountered: