Bug #539
closedproblem in running the command jsaga-job-run in windows
0%
Description
Hello all,
I am a new bie for jsaga. I downloaded the latest version for windows and installed. There are two issues currently i am facing in this,
First one, when i ran 'jsaga-job-run.bat' -help, i didnt see any option "-f". (i am interested in submitting a job file to jsaga and execute)
Second when i ran 'jsaga-job-run -Executable date -r local://localhost', i got the following error.
*****************************
NoSuccess: java.io.IOException: Cannot run program "/bin/sh": CreateProcess error=3, The system cannot find the path specified
at fr.in2p3.jsaga.adaptor.job.local.LocalJobControlAdaptor.submit(LocalJobControlAdaptor.java:79)
at fr.in2p3.jsaga.impl.job.instance.AbstractSyncJobImpl.doSubmit(AbstractSyncJobImpl.java:187)
at fr.in2p3.jsaga.impl.task.AbstractTaskImpl.run(AbstractTaskImpl.java:101)
at fr.in2p3.jsaga.impl.job.instance.JobImpl.run(JobImpl.java:43)
at net.eads.ved.jsaga.simpleJob.main(simpleJob.java:35)
Caused by: java.io.IOException: Cannot run program "/bin/sh": CreateProcess error=3, The system cannot find the path specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at fr.in2p3.jsaga.adaptor.job.local.LocalJobControlAdaptor.submit(LocalJobControlAdaptor.java:73)
... 4 more
Caused by: java.io.IOException: CreateProcess error=3, The system cannot find the path specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 9 more
Not sure, its a bug or not.
I am afraid that whether i am using the right version or not.The second command worked when i ported the bundle in linux and still the fist one persist. I am interested to use Jsaga in windows only and hence i want to get out of this issue
Updated by Reynaud Sylvain almost 15 years ago
- Status changed from New to Resolved
- Assigned To set to Reynaud Sylvain
Hi Balachandar,
First point: option -f has been added to jsaga-job-run command rather recently, it is not yet available in the stable release. Until we create a new stable release, you should use the development release for this:
http://grid.in2p3.fr/software/jsaga-dev/download.html
Second point: this is not a bug, but a configuration problem. I have updated the FAQ of this plug-in about this:
http://grid.in2p3.fr/software/jsaga-dev/adaptors/jsaga-adaptor-classic/faq.html#windows
Since JSAGA is first of all an API (command line interfaces are just examples of how to use it), both bugs, usage problems and server problems throw exceptions. If you are not sure, you can ask for help on the user forum:
https://forge.in2p3.fr/projects/jsaga/boards/show/11
Regards,
Sylvain