Skip to content

BSB fails on ComStock run #486

@apigott

Description

@apigott

Describe the bug
Running ComStock through Buildstock Batch seems to fail with a mismatch on the workflow generator version.

Running the default files buildstock_local comstock/ymls/bsb-integration-test-baseline.yml as written gives an error that the default workflow generator is not found (2024.07.18 as defined in buildstockbatch/buildstockbatch/base.py).

Specifying the workflow generator in the yml `workflow_generator['version']= '2025.01.29' throws an error that the entry is unexpected.

Logs

     _ __         _     __,              _ __
    ( /  )    o  //   /(    _/_       / ( /  )     _/_    /
     /--< , ,,  // __/  `.  /  __ _, /<  /--< __,  /  _, /
    /___/(_/_(_(/_(_/_(___)(__(_)(__/ |_/___/(_/(_(__(__/ /_
      Executing BuildStock projects with grace since 2018


<unknown>:1: SyntaxWarning: invalid escape sequence '\/'
<unknown>:1: SyntaxWarning: invalid escape sequence '\w'
<unknown>:1: SyntaxWarning: invalid escape sequence '\.'
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Aisling\.conda\envs\comstock\Scripts\buildstock_local.exe\__main__.py", line 7, in <module>
  File "C:\Users\Aisling\Documents\oet\buildstockbatch\buildstockbatch\utils.py", line 120, in run_with_error_capture
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Aisling\Documents\oet\buildstockbatch\buildstockbatch\local.py", line 416, in main
    LocalBatch.validate_project(args.project_filename)
  File "C:\Users\Aisling\Documents\oet\buildstockbatch\buildstockbatch\local.py", line 121, in validate_project
    super(cls, cls).validate_project(project_file)
  File "C:\Users\Aisling\Documents\oet\buildstockbatch\buildstockbatch\base.py", line 291, in validate_project
    assert cls.validate_resstock_or_comstock_version(project_file)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Aisling\Documents\oet\buildstockbatch\buildstockbatch\base.py", line 833, in validate_resstock_or_comstock_version
    raise ValidationError(f"Workflow generator version {wg_version} not found")
buildstockbatch.exc.ValidationError: Workflow generator version 2024.07.18 not found

Platform (please complete the following information):
Running locally on Windows with the latest BSB 20024.11.0
ComStock up to date with origin/main

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