Skip to content

informative error when trying to load directories #3217

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

Merged
merged 1 commit into from
Apr 24, 2013

Conversation

ivanov
Copy link
Member

@ivanov ivanov commented Apr 24, 2013

prior to this commit, the error message for trying to load a directory
looked like this:

ValueError: '~' was not found in history, as a file, url, nor in the
user namespace.

now, the error displayed is as follows:

ValueError: '~' is a directory, not a regular file.

prior to this commit, the error message for trying to load a directory
looked like this:

    ValueError: '~' was not found in history, as a file, url, nor in the
    user namespace.

now, the error displayed is as follows:

    ValueError: '~' is a directory, not a regular file.
@minrk
Copy link
Member

minrk commented Apr 24, 2013

yup.

minrk added a commit that referenced this pull request Apr 24, 2013
informative error when trying to load directories

prior to this commit, the error message for trying to load a directory
looked like this:

    ValueError: '~' was not found in history, as a file, url, nor in the
    user namespace.

now, the error displayed is as follows:

    ValueError: '~' is a directory, not a regular file.
@minrk minrk merged commit 106d3e8 into ipython:master Apr 24, 2013
@ivanov ivanov deleted the load-for-dirs branch April 24, 2013 23:18
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
informative error when trying to load directories

prior to this commit, the error message for trying to load a directory
looked like this:

    ValueError: '~' was not found in history, as a file, url, nor in the
    user namespace.

now, the error displayed is as follows:

    ValueError: '~' is a directory, not a regular file.
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

Successfully merging this pull request may close these issues.

2 participants