You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error message is not completely visible within the browser screen #9067
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.
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'
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.
Activity
takluyver commentedon Dec 6, 2015
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.
rladeira commentedon Dec 6, 2015
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
takluyver commentedon Dec 6, 2015
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