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
Run a script that produces very long output within a short timespan.
(E.g. theanets do a lot of logging when learning – like hundreds of lines being written into the output all within a few seconds.)
Watch spyder crash.
The expected behaviour is not to crash, but display the output.
I am attaching the trace that gets printed upon the crash. A stack overflow of some sort seems to be going on.
Also – I can fix the problem by commenting out line 276 in spyderlib/widgets/externalshell/baseshell.py:
Is it really absolutely necessary to call processEvents on every write? I mean, surely the updates will get drawn in the next update of the GUI regardless of whether we do this.
I am attaching a patch which removes the line in case you may find the solution acceptable.
The text was updated successfully, but these errors were encountered:
@michalgregor, thanks a lot for taking the time to post your issue report here. Unfortunately, your patch is unreadable because you changed the end-of-lines of baseshell.py, and so the patch is equivalent to the entire file! :-)
Could you open a pull request with your changes so that it is easier for us to review and merge it?
Besides, your links (i.e. trace and patch) are giving 404 errors on Google Code. I'd suggest to post the traceback here (or as a gist, if it's too long) and remove the link to patch.
Spyder Version: 2.3.0rc
Python Version: 3.4.0
Qt Version : 4.8.6, PyQt4 (API v2) 4.10.4 on Linux
pyflakes >=0.6.0: 0.8.1 (OK)
pep8 >=0.6 : 1.4.6 (OK)
IPython >=0.13 : None (NOK)
pygments >=1.6 : 1.6 (OK)
sphinx >=0.6.6 : 1.2.3 (OK)
psutil >=0.3 : 1.2.1 (OK)
rope >=0.9.2 : 0.9.3 (OK)
matplotlib >=1.0: 1.4.3 (OK)
pylint >=0.25 : 1.1.0 (OK)
What steps will reproduce the problem?
(E.g. theanets do a lot of logging when learning – like hundreds of lines being written into the output all within a few seconds.)
The expected behaviour is not to crash, but display the output.
I am attaching the trace that gets printed upon the crash. A stack overflow of some sort seems to be going on.
Also – I can fix the problem by commenting out line 276 in spyderlib/widgets/externalshell/baseshell.py:
Is it really absolutely necessary to call processEvents on every write? I mean, surely the updates will get drawn in the next update of the GUI regardless of whether we do this.
I am attaching a patch which removes the line in case you may find the solution acceptable.
The text was updated successfully, but these errors were encountered: