LISE-B26 / pylabcontrol

pylabcontrol: Laboratory Equipment Control for Scientific Experiments.
GNU General Public License v3.0
9 stars 9 forks source link

when file path to be saved is too long, there is no relevant error message describing the issue #154

Closed emmarosenfeld closed 6 years ago

emmarosenfeld commented 6 years ago

When you try to save a filename with a path that's too long, the following error message shows: image Shortening the file name gets rid of this error, so I assume that's what calling the issue. It would be nice to show a message telling the user to shorten the filename + path.

akabcenell commented 6 years ago

Too long file names should now be properly recognized and the requisite '\?\' prefix appended. If there are additional issues in the future, reopen this issue.