Skip to content
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

(IPython) Some exceptions are only shown in the kernel's console #1922

Closed
spyder-bot opened this issue Feb 17, 2015 · 2 comments
Closed

(IPython) Some exceptions are only shown in the kernel's console #1922

spyder-bot opened this issue Feb 17, 2015 · 2 comments

Comments

@spyder-bot
Copy link
Collaborator

spyder-bot commented Feb 17, 2015

From joss...@gmx.de on 2014-08-01T08:33:47Z

Spyder Version: 2.3.0
Python Version: 2.7.6
Qt Version : 4.8.4, PyQt4 (API v2) 4.9.6 on Windows
pyflakes >=0.5.0: 0.7.3 (OK)
pep8 >=0.6 : 1.4.6 (OK)
IPython >=0.13 : 1.2.0 (OK)
pygments >=1.6 : 1.6 (OK)
sphinx >=0.6.6 : 1.2.1 (OK)
psutil >=0.3 : 1.2.1 (OK)
rope >=0.9.2 : 0.9.4 (OK)
matplotlib >=1.0: 1.3.1 (OK)
sympy >=0.7.0 : 0.7.5 (OK)
pylint >=0.25 : 1.1.0 (OK)

What steps will reproduce the problem?

  1. start spyder and there an iPython console
    1. run this code:
# -- coding: utf-8 --
from PyQt4.QtCore import QTimer
from PyQt4.QtGui import QApplication

def fun():
    print "there will be an exception after this"
    a

app = QApplication([])
timer = QTimer()
timer.start(1000)
timer.timeout.connect(fun)
app.exec_()

What is the expected output? What do you see instead?

The print command is shown in the IPython Console. But the exception is only shown in the iPython Kernel window (in spyder 2.2 it was not shown at all!). The exception in the kernel window is not nicely colored and cannot be clicked.

Is it possible that one could show the exception also in IPython console? This would faciliate finding errors a lot.
Or is it possible to at least make the error in the IPython console clickable?

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1922

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-08-17T10:06:54Z

Labels: Cat-IPythonConsole MS-v2.3.2

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-09-20T15:25:57Z

I reported the issue upstream because it's not related to Spyder but a problem with IPython itself. If you want, you can continue the discussion there: ipython/ipython#6509

Labels: -MS-v2.3.2

@impact27 impact27 added this to the v4.2.1 milestone Nov 9, 2020
@ccordoba12 ccordoba12 modified the milestones: v4.2.1, v4.2.2 Nov 12, 2020
@ccordoba12 ccordoba12 modified the milestones: v4.2.2, v5.0alpha4 Dec 24, 2020
@ccordoba12 ccordoba12 modified the milestones: v5.0alpha4, v5.0alpha5 Feb 14, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.0alpha5, v5.0alpha6 Feb 23, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.0alpha6, v5.0beta1 Mar 19, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.0.0, v5.x Apr 2, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.x, v5.2.0 Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants