Skip to content

Bug: 'openjd summary' command fails in some cases #156

@mwiebe

Description

@mwiebe

Describe the bug

The openjd summary command fails to summarize job templates that require job parameter values to resolve:

Expected Behaviour

Here is approximately the output I expect with blender_render from deadline-cloud-samples:

$ openjd summary blender_render/template.yaml

--- Summary for 'Blender Render' ---

Parameters:
  - BlenderSceneFile (PATH)
  - Frames (STRING): 1-10
  - OutputDir (PATH): C:\Dev\deadline-cloud-samples\job_bundles\blender_render\output
  - OutputPattern (STRING): output_####
  - Format (STRING): JPEG
  - CondaPackages (STRING): blender
  - RezPackages (STRING): blender

Total steps: 1
Total tasks: 10
Total environments: 0

--- Steps in 'Blender Render' ---

1. 'RenderBlender' (10 total Tasks)
  Task parameters:
    - Frame (INT)

Current Behaviour

Here is the output I see with blender_render from deadline-cloud-samples:

$ openjd summary blender_render/template.yaml
ERROR generating Job: Values missing for required job parameters: BlenderSceneFile

Reproduction Steps

Run the command as shown.

Environment

At minimum:

  1. Operating system (e.g. Windows Server 2022; Amazon Linux 2023; etc.)
  2. Output of python3 --version
  3. Version of your openjd-cli package (see: pip show openjd-cli):

Please share other details about your environment that you think might be relevant to reproducing the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions