Better error message if %paste fails #880

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

Projects

None yet

2 participants

@takluyver
IPython 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
IPython member

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

@mattrco mattrco added a commit that referenced this issue Nov 14, 2011
@mattrco mattrco Fix issue #880 - initialize TryNext with args and kwargs.
Presents a message to the user along with the traceback prompting them to install tkinter.
14d011c
@takluyver
IPython member

Closed by PR #999, merged in 6c20358.

@takluyver takluyver closed this Nov 21, 2011
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@mattrco mattrco Fix issue #880 - initialize TryNext with args and kwargs.
Presents a message to the user along with the traceback prompting them to install tkinter.
e3d9bf0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment