linux64 1.0 RC1
if the user does not have correct permissions to open a file, then there is no error message to the user that this happened.
THe file does not load, and nothing else happens,.. not what the user expects.
there is an error in the terminal of course, but on windows and OSX that wont be visible. THe is an exception that should be caught and handled gracefully
with an error message telling the user that the file could not be read for some reason, please check the read permissions for that file etc.
Anonymous
Hmm...
I get following error when trying to open file where user don't have read permissions:
/home/lopaavol/BioImageXD/trunk/Logging.py: 194 Failed to open file /media/hdd2/testfiles/lsmfiles/sample1_original.lsm for reading: [Errno 13] Permission denied: u'/media/hdd2/testfiles/lsmfiles/sample1_original.lsm'
and also second window:
Failed to read dataset /media/hdd2/testfiles/lsmfiles/sample1_original.lsm.
Was the file permissions set that it wasn't readable or was that directory not executable?
i was that the file was not readable. the directory was owned by another user, as were the files in it.
So can't we close this task then?
this can be closed when the user gets an error message pop up when a file could not be opened due to wrong file permissions. OK?