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-qtconsole --gui qt" hangs on 64-bit win7 #1436

Closed
mwiebe opened this issue Feb 23, 2012 · 2 comments
Closed

"ipython-qtconsole --gui qt" hangs on 64-bit win7 #1436

mwiebe opened this issue Feb 23, 2012 · 2 comments
Milestone

Comments

@mwiebe
Copy link
Contributor

mwiebe commented Feb 23, 2012

Running the qtconsole, then doing "%gui qt" works fine, but from the command line the window shows up but never gives a prompt.

@mwiebe
Copy link
Contributor Author

mwiebe commented Feb 23, 2012

I dug deeper into the badness, here is some more insight based on the sample output below.

  • Behavior of ipython-qtconsole.exe and "pythonw ipython-qtconsole-script.pyw" is very unhelpful. It assumes users will see the message printed to the console. They will not, and just assume ipython has poor quality standards. ;) If IPython detected it was run with pythonw, it could pop up a message box instead of printing to the console in this case. This is also important for the case where dependencies like pyside/pyqt are not installed.
  • Why does the ipython-qtconsole not support the --gui option? This is an option for the kernel, not the qtconsole itself, and works fine once
    you're in.
C:\>python "C:\Python27\Scripts\ipython-qtconsole-script.pyw" --gui qt
IPython: an enhanced interactive Python shell.

Options
-------
<SNIP>
To see all available configurables, use `--help-all`

[IPKernelApp] Bad config encountered during initialization:
[IPKernelApp] Unrecognized flag: '--gui'
<HANG>

@takluyver
Copy link
Member

See #1426 for the --gui issue. I think this issue is originally just that, so I'll close it as a duplicate - you might want to open a new issue for the behaviour with pythonw.

Aside: hurrah, another Windows tester ;-). The core developers mostly use Linux or Macs, so Windows support sometimes doesn't get as much attention.

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

2 participants