Steps to replicate the issue (include links if applicable):
- Login to toolforge
- become qpqtool
- Clone https://github.com/sohomdatta1/qpqtool into a directory
- Checkout commit d02b5418f43a5883f1a112a6fff387a5fa61c843
- toolforge jobs load jobs.yaml
What happens?:
The CLI crashes with the following error:
ERROR: An internal error occured while executing this command. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tjf_cli/cli.py", line 1113, in main run_subcommand(args=args, api=api) File "/usr/lib/python3/dist-packages/tjf_cli/cli.py", line 1049, in run_subcommand op_load(api, args.file, args.job) File "/usr/lib/python3/dist-packages/tjf_cli/cli.py", line 791, in op_load changes = calculate_changes( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/tjf_cli/loader.py", line 88, in calculate_changes LOGGER.warning(f"Unknown key '{key}' in job '{job['name']}' definition") ~~~^^^^^^^^ TypeError: string indices must be integers, not 'str'
What should have happened instead?:
Probably not that :)