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

Better error message if %paste fails #880

Closed
takluyver opened this issue Oct 15, 2011 · 2 comments
Closed

Better error message if %paste fails #880

takluyver opened this issue Oct 15, 2011 · 2 comments
Milestone

Comments

@takluyver
Copy link
Member

The %paste magic can try a number of options, but on Linux it depends on having Tkinter installed. As reported on the mailing list, if Tkinter is missing, the user gets a traceback and an uninformative TryNext exception. We should catch this and provide a more informative message.

@minrk
Copy link
Member

minrk commented Oct 20, 2011

Note that this should also close #211, where it is detected as just not working, presumably on account of the lame error.

@takluyver
Copy link
Member Author

Closed by PR #999, merged in 6c20358.

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Presents a message to the user along with the traceback prompting them to install tkinter.
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