Skip to content

exceptions

Exceptions that the Deadline Job Attachments library can raise.

AssetOutsideOfRootError

Bases: JobAttachmentsError

Exception for errors related to assets being outside of the asset root.

AssetSyncCancelledError

Bases: JobAttachmentsError

Exception thrown when an operation (synching files to/from S3) has been cancelled.

AssetSyncError

Bases: Exception

Exception for errors related to synching files to/from S3.

JobAttachmentS3BotoCoreError

Bases: AssetSyncError

Exception to wrap any botocore.exceptions.BotoCoreError.

JobAttachmentsError

Bases: Exception

Exception for errors related to the Deadline Service.

JobAttachmentsS3ClientError

Bases: AssetSyncError

Exception for errors related to the S3 client.

MalformedAttachmentSettingError

Bases: JobAttachmentsError

Exception raised when encountering error parsing input attachment settings.

ManifestCreationException

Bases: Exception

Exception for errors related to Creating Manifests.

ManifestDecodeValidationError

Bases: JobAttachmentsError

Exception for errors related to asset manifest decoding.

MisconfiguredInputsError

Bases: JobAttachmentsError

Exception for errors related to missing input directories, empty input directories, missing input files, and input directories classified as files

MissingAssetRootError

Bases: JobAttachmentsError

Exception for when trying to retrieve asset root from metadata (in S3) that doesn't exist.

MissingJobAttachmentSettingsError

Bases: JobAttachmentsError

Exception raised when attempting to use Job Attachments but the settings are not set in Queue.

MissingManifestError

Bases: JobAttachmentsError

Exception for when trying to retrieve asset manifests that don't exist.

MissingS3BucketError

Bases: JobAttachmentsError

Exception raised when attempting to use Job Attachments but the S3 bucket is not set in Queue.

MissingS3RootPrefixError

Bases: JobAttachmentsError

Exception raised when attempting to use Job Attachments but the S3 root prefix is not set in Queue.

PathOutsideDirectoryError

Bases: JobAttachmentsError

Exception thrown in the _ensure_paths_within_directory function to signal that a given file path, especially ones that may contain "..", does not reside in the specified root path.

UnsupportedHashingAlgorithmError

Bases: JobAttachmentsError

Exception for when an unsupported hashing algorithm is provided.

VFSExecutableMissingError

Bases: JobAttachmentsError

Exception for when trying to retrieve VFS executable path doesn't exist.

VFSFailedToMountError

Bases: JobAttachmentsError

Exception for when trying to mount VFS at a given path.

VFSLaunchScriptMissingError

Bases: JobAttachmentsError

Exception for when trying to retrieve VFS launch script path doesn't exist.

VFSOSUserNotSetError

Bases: JobAttachmentsError

Exception attempting to use the vfs without an os user

VFSRunPathNotSetError

Bases: JobAttachmentsError

Exception for when the run path hasn't been set for the vfs