hpcflow.sdk.core.errors#

Errors from the workflow system.

Exceptions

ActionEnvironmentMissingNameError

An action environment was missing its name.

ContainerKeyError(path)

A key could not be mapped in a container.

DuplicateExecutableError

The same executable was present twice in an executable environment.

EnvironmentPresetUnknownEnvironmentError

An environment preset could not be resolved to an execution environment.

EnvironmentSpecValidationError

An environment specification failed to validate.

ExtraInputs(message, extra_inputs)

Extra inputs were provided.

FileSpecValidationError

A file specification failed to validate.

FromSpecMissingObjectError

Missing object when deserialising from specification.

InapplicableInputSourceElementIters

An input source element iteration was inapplicable.

IncompatibleParallelModeError

The parallel mode is incompatible.

IncompatibleSGEPEError

The SGE parallel environment selected is incompatible.

IncompatibleSLURMArgumentsError

The SLURM arguments are incompatible with each other.

IncompatibleSLURMPartitionError

The requested SLURM partition is incompatible.

InputSourceValidationError

An input source failed to validate.

InputValueDuplicateSequenceAddress

An InputValue has the same sequence address twice.

InvalidIdentifier

A bad identifier name was given.

InvalidInputSourceTaskReference

Invalid input source in task reference.

JobscriptSubmissionFailure(message, ...)

A job script could not be submitted to the scheduler.

LoopAlreadyExistsError

A particular loop (or its name) already exists.

LoopTaskSubsetError

Problem constructing a subset of a task for a loop.

MalformedNestingOrderPath

A nesting order path was ill-formed.

MalformedParameterPathError

The path to a parameter was ill-formed.

MalformedWorkflowError

Workflow was a malformed document.

MayNeedObjectError(path)

An object is needed but not present.

MissingActionEnvironment

Could not find an action environment.

MissingCompatibleActionEnvironment

Could not find a compatible action environment.

MissingElementGroup

An element group should exist but doesn't.

MissingEnvironmentError

There is no environment with that name.

MissingEnvironmentExecutableError

The environment does not have the requested executable at all.

MissingEnvironmentExecutableInstanceError

The environment does not have a suitable instance of the requested executable.

MissingInputs(message, missing_inputs)

Inputs were missing.

MissingParameterData(id_lst)

Some parameter IDs do not exist

MissingStoreEARError(id_lst)

Some EAR IDs do not exist.

MissingStoreElementError(id_lst)

Some element IDs do not exist.

MissingStoreElementIterationError(id_lst)

Some element iteration IDs do not exist.

MissingStoreTaskError(id_lst)

Some task IDs do not exist.

MissingVariableSubstitutionError

No definition available of a variable being substituted.

MultipleEnvironmentsError

Multiple applicable execution environments exist.

NoAvailableElementSetsError

No element set is available.

NoCLIFormatMethodError

Some CLI class lacks a format method

NoCoincidentInputSources

Could not line up input sources to make an actual valid execution.

NoCompatibleSGEPEError

No SGE parallel environment is compatible with request.

NotSubmitMachineError

The requested machine can't be submitted to.

OutputFileParserNoOutputError

There was no output for the output file parser to parse.

ParameterSpecValidationError

A parameter specification failed to validate.

ResourceValidationError

An incompatible resource requested by the user.

RunNotAbortableError

Cannot abort the run.

SchedulerVersionsFailure(message)

We couldn't get the scheduler and or shell versions.

SubmissionEnvironmentError

Raised when submitting a workflow on a machine without a compatible environment.

SubmissionFailure(message)

A job submission failed.

TaskSchemaMissingParameterError

Parameter was missing from task schema.

TaskSchemaSpecValidationError

A task schema failed to validate.

TaskTemplateInvalidNesting

Invalid nesting in a task template.

TaskTemplateMultipleInputValues

A TaskTemplate had multiple input values bound over each other.

TaskTemplateMultipleSchemaObjectives

A TaskTemplate has multiple objectives.

TaskTemplateUnexpectedInput

A TaskTemplate was given unexpected input.

TaskTemplateUnexpectedSequenceInput

A TaskTemplate was given an unexpected sequence.

ToJSONLikeChildReferenceError

Failed to generate or reference a child object when converting to JSON.

UnavailableInputSource

An input source was not available.

UnknownEnvironmentPresetError

An execution environment was unknown.

UnknownResourceSpecItemError

A resource specification item was not found.

UnknownSGEPEError

Miscellaneous error from SGE parallel environment.

UnknownSLURMPartitionError

The requested SLURM partition isn't known.

UnknownScriptDataKey

Unknown key in script data.

UnknownScriptDataParameter

Unknown parameter in script data.

UnrequiredInputSources(message, ...)

Input sources were provided that were not required.

UnsetParameterDataError

Tried to read from an unset parameter.

UnsupportedOSError(os_name)

This machine is not of the requested OS.

UnsupportedSchedulerError(scheduler[, ...])

This scheduler is not supported on this machine according to the config.

UnsupportedScriptDataFormat

That format of script data is not supported.

UnsupportedShellError(shell, supported)

We don't support this shell on this OS.

ValuesAlreadyPersistentError

Trying to make a value persistent that already is so.

WorkflowBatchUpdateFailedError

An update to a workflow failed.

WorkflowLimitsError

Workflow hit limits.

WorkflowNotFoundError

Could not find the workflow.

WorkflowParameterMissingError

A parameter to a workflow was missing.

WorkflowSpecValidationError

A workflow failed to validate.

WorkflowSubmissionFailure

A workflow submission failed.