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
Beginner Error: ipython qtconsole #1431
Comments
just a shot in the dark, but have you tried doing this without sudo? |
yes |
You have a broken qt installation, it seems. This is not really an ipython bug, I bet you'd have problems running any PyQt app, as the error message is coming from deep inside Qt. Can you confirm first that you can indeed run arbitrary PyQt examples? I suggest debugging your PyQt installation first, as that seems to be what's broken here. |
I reinstalled everything qt related, and it now works! Thanks! On Fri, Feb 24, 2012 at 3:32 AM, Fernando Perez <
|
good, closing. |
importing pyside partially and then falling back to pyqt causes a crash in sip (see ipythongh-1431) To avoid it try to locate all modules before the import and should that fail print a warning.
with leousa in irc I could now reproduce this issue, the cause seems to be an incomplete pyside installation which is possible in debian and ubuntu. A fix is to install pyside completely (python-pyside.qtsvg python-pyside.qtcore python-pyside.qtgui), remove it or setting QT_API=pyqt ipython qtconsole |
I can confirm this issue and that installing the missing python-pyside packages fixed this issues. Once again thanks to the guys in ipyhon IRC channel for helping me figure this out. |
importing pyside partially and then falling back to pyqt causes a crash in sip (see ipythongh-1431) To avoid it try to locate all modules before the import and should that fail print a warning.
…o import importing pyside partially and then falling back to pyqt causes a crash in sip (see gh-1431) To avoid it try to locate all modules before the import and should that fail print a warning. debian splits pyside into many small packages so sometimes people end up with incomplete pyside installations.
importing pyside partially and then falling back to pyqt causes a crash in sip (see ipythongh-1431) To avoid it try to locate all modules before the import and should that fail print a warning.
Hi there people!
I have been struggling for days to get ipython qtconsole to work.
Here are some details:
I am running ubuntu
I can run ipython fine.
I have installed libzmq 2.1.11 and pyzmq 2.1.11
When I attempt to run $ipython qtconsole, I get the following:
$sudo ipython qtconsole
python: /build/buildd/sip4-4.12.1/siplib/siplib.c:7860: sip_api_can_convert_to_type: Assertion `(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)' failed.
arjun@ArjunUbuntu:~$ [IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-21405.json
What do I do?
The text was updated successfully, but these errors were encountered: