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 am having an issue where typing some commands causes a errors to pop up in the internal console. For example when I type "Import" or "From" the internal console opens and drops this error:
Traceback (most recent call last):
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/IPython/qt/console/frontend_widget.py", line 60, in highlightBlock
super(FrontendHighlighter, self).highlightBlock(string)
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/IPython/qt/console/pygments_highlighter.py", line 115, in highlightBlock
for token, text in self._lexer.get_tokens(string):
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/pygments/lexer.py", line 192, in streamer
for i, t, v in self.get_tokens_unprocessed(text):
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/IPython/qt/console/pygments_highlighter.py", line 30, in get_tokens_unprocessed
for item in action(self, m):
TypeError: 'NoneType' object is not callable
This error is continuously generated as I add characters after "Import", causing the app to jump between the Internal Console and the IPython console as I am typing, which is very frustrating. This doesn't happen with any other commands I have tried, just "Import" and "From".
What steps will reproduce the problem?
I'm afraid I don't know how one would reproduce the error, it seemed to just pop up randomly a few days ago.
What is the expected output? What do you see instead?
I am expecting to just be able to type commands without errors.
Please provide any additional information below
. I have attached two screenshots, the instant "Import" is finished typing the internal console screen appears and displays the error, the same is true for "From".
Hello
Facing the same problem. Everytime I insert import or from in the ipython console it jumps imediatelly to the internal console withe the error message. Any solution for this problem already?
Hello,
I have the same problem with Spyder 2.3.1 + Python 2.7.4 and the following configuration. The problem occurs after each import (and only with this command).
From aspindle...@gmail.com on 2014-11-18T07:19:22Z
Spyder Version: 2.3.1
Python Version: 3.4.2
Qt Version : 4.8.6, PyQt4 (API v2) 4.10.4 on Darwin
pyflakes >=0.6.0: 0.8.1 (OK)
pep8 >=0.6 : None (NOK)
IPython >=0.13 : 2.3.1 (OK)
pygments >=1.6 : 2.0.1 (OK)
pandas >=0.13.1 : 0.14.1 (OK)
sphinx >=0.6.6 : 1.2.3 (OK)
psutil >=0.3 : 2.1.1 (OK)
rope >=0.9.2 : 0.9.4-1 (OK)
matplotlib >=1.0: 1.4.0 (OK)
sympy >=0.7.0 : 0.7.5 (OK)
pylint >=0.25 : None (NOK)
I am having an issue where typing some commands causes a errors to pop up in the internal console. For example when I type "Import" or "From" the internal console opens and drops this error:
Traceback (most recent call last):
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/IPython/qt/console/frontend_widget.py", line 60, in highlightBlock
super(FrontendHighlighter, self).highlightBlock(string)
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/IPython/qt/console/pygments_highlighter.py", line 115, in highlightBlock
for token, text in self._lexer.get_tokens(string):
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/pygments/lexer.py", line 192, in streamer
for i, t, v in self.get_tokens_unprocessed(text):
File "/Volumes/Data/anaconda/lib/python3.4/site-packages/IPython/qt/console/pygments_highlighter.py", line 30, in get_tokens_unprocessed
for item in action(self, m):
TypeError: 'NoneType' object is not callable
This error is continuously generated as I add characters after "Import", causing the app to jump between the Internal Console and the IPython console as I am typing, which is very frustrating. This doesn't happen with any other commands I have tried, just "Import" and "From".
What steps will reproduce the problem?
I'm afraid I don't know how one would reproduce the error, it seemed to just pop up randomly a few days ago.
What is the expected output? What do you see instead?
I am expecting to just be able to type commands without errors.
Please provide any additional information below
. I have attached two screenshots, the instant "Import" is finished typing the internal console screen appears and displays the error, the same is true for "From".
Attachment: Screen Shot 2014-11-18 at 12.17.19.png Screen Shot 2014-11-18 at 12.18.00.png
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2055
The text was updated successfully, but these errors were encountered: