Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running cwltool with empty inputs_object fails without a meaningful error message #2043

Open
WhiteGobo opened this issue Sep 20, 2024 · 0 comments

Comments

@WhiteGobo
Copy link

Expected Behavior

When running cwltool any.cwl input.yaml and input.yaml is an empty file i expect a succesful run or a meaningful error message like

ERROR empty input

Actual Behavior

cwltool responds as rude as i have given him inputs, with an empty error message:

INFO /home/hfechner/.local/bin/cwltool 3.1.20240508115724
INFO Resolved 'test.cwl' to 'file://workdir/test.cwl'
ERROR I'm sorry, I couldn't load this CWL file, try again with --debug for more information.
The error was:

Full Traceback

  File "/home/hfechner/.local/lib/python3.12/site-packages/cwltool/main.py", line 1083, in main
    job_order_object, input_basedir, jobloader = load_job_order(
                                                 ^^^^^^^^^^^^^^^
  File "/home/hfechner/.local/lib/python3.12/site-packages/cwltool/main.py", line 383, in load_job_order
    job_order_object, _ = loader.resolve_ref(
                          ^^^^^^^^^^^^^^^^^^^
  File "schema_salad/ref_resolver.py", line 536, in resolve_ref
  File "schema_salad/ref_resolver.py", line 1013, in fetch

Your Environment

/home/hfechner/.local/bin/cwltool 3.1.20240508115724
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant