[Iplant-api-dev] Agave Tutorial Error

Rion Dooley dooley at tacc.utexas.edu
Tue Jul 29 10:54:12 MST 2014


LOL. My apologies. I must be staring at the monitor too long. The issue is a typo in the submit command.

$ jobs-submit -h
jobs-submit [OPTION]...

Submit a new job request.

 Options:
  -z, --access_token  Access token
  -F, --filetoupload  The file containing the json app description to submit
  -W, --watch         Watch the job history after it has been submitted, updating
                      every few seconds until the job reaches a terminal state.
  -H, --hosturl       URL of the service
  -d, --development   Run in dev mode using default dev server
  -f, --force         Skip all user interaction
  -i, --interactive   Prompt for values
  -q, --quiet         Quiet (no output)
  -v, --verbose       Verbose output
  -V, --veryverbose   Very verbose output
  -h, --help          Display this help and exit
      --version       Output version information and exit


You are running the command:

$  jobs-submit -F -V samtools-sort-job.json

The -F options specifies the file to submit. In the above command, you are telling it the file name is “-V”. Try reversing the order of the -F and -V. That should work for you.

--
Rion




On Jul 29, 2014, at 12:44 PM, Pete Lawson <geekypete at gmail.com<mailto:geekypete at gmail.com>> wrote:

Rion,

I made sure to renew the token before I submitted the job. Right now my token is expired, but only because I have not renewed for today. I don't think it was the result of a token being expired, but I will quickly run through the process again after renewing my token to confirm, and then post my results.

Thanks!
-Pete


On Tue, Jul 29, 2014 at 1:26 PM, Rion Dooley <dooley at tacc.utexas.edu<mailto:dooley at tacc.utexas.edu>> wrote:
Hi Pete. Is your token still valid? Can you run auth-check -V and see what it says?…(don’t paste your token or keys on the mailing list)

--
Rion




On Jul 29, 2014, at 12:21 PM, Pete Lawson <geekypete at gmail.com<mailto:geekypete at gmail.com>> wrote:

Hello all,

I am completing the Agave app development tutorial at https://github.com/iPlantCollaborativeOpenSource/iplant-agave-sdk/blob/master/README.md and have gotten to the portion where I am running a job, but when I submit my job, with the -V parameter to receive  STDERR​ I receive the following output:

login3$ jobs-submit -F -V samtools-sort-job.json
EXPECTED value GOT EOF
EXPECTED value GOT EOF

I have validated both JSON (app description and job submission)  files and they have no issues, and I followed the tutorial carefully. This may be too vague an error to gain any insight, but is this a result of a mistake on my part, or some server-side issues?

Thanks for the assistance!

-Pete Lawson
_______________________________________________
Iplant-api-dev Mailing List: Iplant-api-dev at iplantcollaborative.org<mailto:Iplant-api-dev at iplantcollaborative.org>
List Info and Archives: http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev
One-click Unsubscribe: http://mail.iplantcollaborative.org/mailman/options/iplant-api-dev/dooley%40tacc.utexas.edu?unsub=1&unsubconfirm=1



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20140729/aba536cd/attachment.html 


More information about the Iplant-api-dev mailing list