Skip to content
This repository

ipython with qtconsole crashes #655

Closed
andylei opened this Issue August 01, 2011 · 8 comments

4 participants

andylei Min RK Evan Patterson Fernando Perez
andylei

Windows XP, Python 2.6, ipython 0.11

I just ran "ipython qtconsole". It immediately crashed. This is the post-mortem:

(Moved to gist: https://gist.github.com/1118274 )

Evan Patterson
Collaborator

I've seen this before, but I can't recall the exact circumstances. What version of PySide or PyQt are you using?

andylei

PyQt4.QtCore.PYQT_VERSION
[20] => 264196
PyQt4.QtCore.PYQT_VERSION_STR
[21] => 4.8.4

andylei

i also have get this exact same error message on Linux, running Ubuntu 10.10, ipython 0.11, Python 2.6.6

PyQt4 version:
In [3]: QtCore.PYQT_VERSION
Out[3]: 263940
In [4]: QtCore.PYQT_VERSION_STR
Out[4]: '4.7.4'

Evan Patterson
Collaborator

You don't have PySide installed, right? That is, if you run 'QT_API=pyqt ipython qtconsole', then you get the same result?

Also, what version of Qt do you have? I'm rather surprised that you're seeing this on both platforms (each of which is known to support the qtconsole), so I'm trying to understand what the commonalities are here.

andylei

I do have PySide installed on both platforms, and

QT_API=pyqt ipython qtconsole

solved my problems on Linux. haven't gotten a chance to check on Windows.

Evan Patterson
Collaborator

I was afraid of that. The early versions of PySide have critical bugs that prevent the qtconsole from running. If I recall correctly, PySide version 1.0.3 or greater is required.

We should probably document this somewhere. Sorry for the confusion.

Evan Patterson
Collaborator

@fperez Where is the proper place to put a note about PySide version requirements?

Come to think of it, it might be better to just raise an error in the Qt importer if a bad version of PySide is being used.

Fernando Perez
Owner
Min RK minrk closed this in 6cf495c September 09, 2011
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.