aws-deadline / deadline-cloud-for-after-effects

AWS Deadline Cloud for After Effects
Apache License 2.0
8 stars 9 forks source link

Bug: Submitter is incompatible with some AE comp names #50

Open yuanmich2 opened 3 months ago

yuanmich2 commented 3 months ago

Expected Behaviour

Submitter should either sanitize incorrectly formatted names or provide an error that helps you identify and manually fix the issue.

Current Behaviour

When the submission fails, a very generic looking error pops up which makes it very difficult to debug.

image

In the logs printed to C:\Users\Administrator\AppData\Local\Temp\1 shows more descriptive errors, but the location of these logs are undocumented.

Failed to submit the job bundle to AWS Deadline Cloud:
An error occurred (ValidationException) when calling the CreateJob operation: Could not decode job template. Error: '6 validation errors for JobTemplate
parameterDefinitions[1] -> name:
    string does not match regex "(?-m:^[A-Za-z_][A-Za-z0-9_]*\Z)"
parameterDefinitions[2] -> name:
    string does not match regex "(?-m:^[A-Za-z_][A-Za-z0-9_]*\Z)"
parameterDefinitions[3] -> name:
    string does not match regex "(?-m:^[A-Za-z_][A-Za-z0-9_]*\Z)"
parameterDefinitions[4] -> name:
    string does not match regex "(?-m:^[A-Za-z_][A-Za-z0-9_]*\Z)"
parameterDefinitions[4] -> userInterface -> groupLabel:
    ensure this value has at most 64 characters
parameterDefinitions[5] -> name:
    string does not match regex "(?-m:^[A-Za-z_][A-Za-z0-9_]*\Z)"'
ERROR CODE: 1 

Reproduction Steps

Create a new AE composition with a name like "MB-MS-WW-DalePlay-Artist-Social=9x16-logo" Try to submit the comp as a render job

Code Snippet

n/a