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 q4thread in version 10.1 not starting properly #182

Closed
lupien opened this issue Oct 24, 2010 · 2 comments
Closed

ipython q4thread in version 10.1 not starting properly #182

lupien opened this issue Oct 24, 2010 · 2 comments
Milestone

Comments

@lupien
Copy link

lupien commented Oct 24, 2010

With the new 10.1 version (i am using the fedora 13 package), the qt4 application thread is not started if I start ipython like (1):
ipython -pylab (my matplotlib config is setup for Qt4Agg)
or
ipython -q4thread

However starting as (2):
ipython -pylab -q4thread
work as expected.

To test, after starting, I execute:
from PyQt4 import QtGui
w=QtGui.QWidget()
And this now fail (core dump) with 10.1 started like (1), but works with (2) and used to work
with version 10

I tracked down the problem to the calls of check_gtk in _select_shell in Shell.py.
The call to check_gtk changes th_mode to be tkthread for me even if I selected q4thread.
It should probably change th_mode only for gtk.
I did not check but it probably causes problem with qthread and wthread.

@takluyver
Copy link
Member

Cannot replicate in trunk or 0.10 on my setup. Can you still reproduce this, and if so, does it happen on trunk as well?

@fperez
Copy link
Member

fperez commented Mar 23, 2011

Fixed in 0.10.2 (ready for release and already in the 0.10 series branch), closing.

@fperez fperez closed this as completed Mar 23, 2011
minrk pushed a commit to minrk/ipython that referenced this issue Jul 1, 2013
bollwyvl added a commit to regro-cf-autotick-bot/ipython-feedstock that referenced this issue Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants