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

Specifying --gui=tk at the command line #4156

Closed
benjamin-hodgson opened this issue Sep 1, 2013 · 0 comments · Fixed by #4158
Closed

Specifying --gui=tk at the command line #4156

benjamin-hodgson opened this issue Sep 1, 2013 · 0 comments · Fixed by #4158
Labels
Milestone

Comments

@benjamin-hodgson
Copy link

I'd like to be able to specify --gui=tk at the command line.

I'm trying to embed a kernel into my Tkinter app following the similar Qt example. When I use kernel.initialise(['python', '--gui=tk']) I get the error message:

CRITICAL | The 'gui' trait of an IPKernelApp instance must be any of ('qt', 'wx', 'gtk', 'glut', 'pyglet', 'osx') or None, but a value of 'tk' <class 'str'> was specified.

I can't use --pylab=tk because I don't want the kernel to try to initialise Matplotlib.

minrk added a commit to minrk/ipython that referenced this issue Sep 1, 2013
typo prevented `--gui tk` from working, even though it is supported.
Should prevent similar bugs in the future.

closes ipython#4156

should be backported to 1.1
minrk added a commit that referenced this issue Sep 4, 2013
generate choices for `--gui` configurable from real mapping

typo prevented --gui tk from working, even though it is supported.
Should prevent similar bugs in the future.

closes #4156
minrk added a commit that referenced this issue Sep 4, 2013
…l mapping

typo prevented `--gui tk` from working, even though it is supported. Should
prevent similar bugs in the future.

closes #4156

should be backported to 1.1
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
typo prevented `--gui tk` from working, even though it is supported.
Should prevent similar bugs in the future.

closes ipython#4156

should be backported to 1.1
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
generate choices for `--gui` configurable from real mapping

typo prevented --gui tk from working, even though it is supported.
Should prevent similar bugs in the future.

closes ipython#4156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant