Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gridsub -j problem #31

Closed
jgaida opened this issue Oct 23, 2015 · 1 comment
Closed

gridsub -j problem #31

jgaida opened this issue Oct 23, 2015 · 1 comment

Comments

@jgaida
Copy link

jgaida commented Oct 23, 2015

A Grid'5000 user reported that the following command failed:

gridsub -j '{"name":"Campaign", "nb_jobs":2, "resources":"nodes=1", "walltime":"00:30:00", "clusters":{"rennes":{"exec_file":"sleep 100"}}}'

with the following error message:

Error: {"status":400,"title":"Error","message":"Error submitting campaign: JDL badly defined: #<JSON::ParserError: 757: unexpected token at '{\"name\":\"Campaign\",'>"}
jgaida pushed a commit that referenced this issue Oct 23, 2015
@jgaida
Copy link
Author

jgaida commented Oct 23, 2015

Indeed, it appears that there is a problem in the way /usr/bin/gridsub forward input arguments to gridsub.rb. $@ must be quoted (see also: http://tldp.org/LDP/abs/html/internalvariables.html).

Fixed by commit 9c2227f. I also fixed other scripts as I believe all of them are impacted by this issue.

@jgaida jgaida closed this as completed Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant