java.io.IOException: Cannot run program from Insight
Posted: Wed Jul 20, 2011 2:41 pm
Hi,
I am using Omero insight on a linux machine. When I run a script I get a result summary in the Activities window and links for Info and Error (the script stdout and stderr). When I click on the option to view I get a java.io.IOException stack trace:
I can verify the file is downloaded and the permissions are as follows:
I can read the file and it contains what I want to see. However it would be nice if the link worked.
I presume that insight is trying to run a program to view the file. Is there an environment variable I need to set, e.g. to identify the default text viewer?
Thanks,
Alex
I am using Omero insight on a linux machine. When I run a script I get a result summary in the Activities window and links for Info and Error (the script stdout and stderr). When I click on the option to view I get a java.io.IOException stack trace:
java.io.IOException: Cannot run program "/home/ah403/omero/filesOmero/File_32911": java.io.IOException: error=13, Permission denied
I can verify the file is downloaded and the permissions are as follows:
[ah403@tallinn ~/omero/scripts] % ls -l /home/ah403/omero/filesOmero/File_32911
-rw-r--r-- 1 ah403 ah403 167 2011-07-20 15:20 /home/ah403/omero/filesOmero/File_32911
I can read the file and it contains what I want to see. However it would be nice if the link worked.
I presume that insight is trying to run a program to view the file. Is there an environment variable I need to set, e.g. to identify the default text viewer?
Thanks,
Alex