Skip to content

Error message is not completely visible within the browser screen #9067

Open

Description

@rladeira

I had some troubles lately while running some ipython notebooks in windows, because of .ipynb files having long path string. Actually, I think this is a windows issue, since it occurs in others softwares, like visual studio.

However, the error message presented by Jupyter wasn't really useful at all, since the path was so long that it could not fit in just one line. I was able to see the error message by inspecting the html element using google chrome, and just after that, I have realized that the problem was actually the long path. Probably, it would be more useful if this message is presented in a multi line box.

image

The full error message, which I was able to retrieve only by inspecting the html element, was:

'Unexpected error while saving file: Documents/xxxx/xxxxxxl/Online Courses/Specializations/Coursera - Build Intelligent Applications/2 - Machine Learning - Regression/Week 1 - Simple Regression/Code Files/Assignment/week-1-simple-regression-assignment.ipynb [Error 206] The filename or extension is too long: u'C:\Users\xxxxx\Documents\xxxx\Professional\Online Courses\Specializations\Coursera - Build Intelligent Applications\2 - Machine Learning - Regression\Week 1 - Simple Regression\Code Files\Assignment\week-1-simple-regression-assignment.ipynb_4z9ts'

Yeah, this path is insanely long... :)

Activity

  1. takluyver commented on Dec 6, 2015

    @takluyver
    Member

    Ha! I guess we should either truncate error messages beyond a certain length, or catch the 'filename too long' error specifically and display a more concise message.

  2. rladeira commented on Dec 6, 2015

    @rladeira
    Author

    I think the 'catch-long-filename-error' option would probably be better, but just a guess.

    Since I don't know how is the methodology here for closing issues, I'll leave to you decide when to close this, ok?

    Thanks

  3. takluyver commented on Dec 6, 2015

    @takluyver
    Member

    We generally close issues when they get fixed. :-)

    For future reference, issues with the notebook are now tracked on a separate repository: https://github.com/jupyter/notebook

  4. added this to the not ipython milestone on Dec 11, 2015
  5. modified the milestone: not ipython on Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions