Skip to content

Silent error in trestle author jinja on incorrect file names #1826

Open
@butler54

Description

@butler54

Describe the bug

Trestle author jinja was fed incorrectly capitalized file names.

To Reproduce

Steps to reproduce the behavior:

Use the current version of oscal-compass/compliance-trestle-ssp-demo

make ssp-markdown

trestle author jinja -i ACME_platform_ssp.md.jinja -ssp ACME_SSP -p ACME_int_guidance -o ACME_platform_ssp.md -bf "[.]" -vap "ACME Assigned:" -vnap "Assignment:"
should be

trestle author jinja -i acme_platform_ssp.md.jinja -ssp ACME_SSP -p ACME_int_guidance -o acme_platform_ssp.md -bf "[.]" -vap "ACME Assigned:" -vnap "Assignment:"

However, executing the former results in a silent error not pointing to a missing file.

Expected behavior

Report if a file is missing explicitly

Screenshots / Logs.

If applicable, add screenshots to help explain your problem.

Environment

  • OS: Linux
  • Python version: 3.11
  • Installed packages: compliance-trestle 3.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions