Project

General

Profile

Actions

Bug #3209

closed

"script_parameters attribute must be specified" when running a pipeline with ' "script_parameters" : {} '

Added by Abram Connelly over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
-
Story points:
-

Description

Trying to run a pipeline with the following template:

{
  "name": "premeditated jointing Mass",
  "components": {
    "housekeeper": {
      "script_parameters": { },
      "script_version": "master",
      "repository": "$USER",
      "script": "examples/0-simple-pipeline/systemInfo.py",
      "runtime_constraints" : {}
    }
  }
}

fails, giving an error message:

pipline template: qr1hi-p5p6p-lnmu1nvc68ozclw
arv-run-pipeline-instance 24017: create job: ["script_parameters attribute must be specified"] with attributes {:job=> :script=>"examples/0-simple-pipeline/systemInfo.py", :script_parameters=>{}, :script_>"abram", :nondeterministic=>nil, :output_is_persistent=>false, :runtime_constraints=>{}, :owner_uuid=>"qr1hi-tpzed-rd7cyyspidta11c"}, :find_or_create=>false} arv-run-pipeline-instance 24017: component housekeeper new job failed

2014-07-08 16:54:34 +0000 -- pipeline_instance qr1hi-d1hrv-ts9egk92ndegeg1
housekeeper -                           -
arv-run-pipeline-instance 24017: job creation failed - giving up on this pipeline instance

Stuffing in dummy values, e.g.:

"script_parameters": { "dummy" : "value" },

and the error goes away.

Actions #1

Updated by Brett Smith over 11 years ago

  • Assigned To set to Brett Smith
Actions #2

Updated by Brett Smith over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:8768c4184c17debc00e6b5ea0977da5b4c26c6f0.

Actions

Also available in: Atom PDF