You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cwltool --debug --cachedir ./CACHE concatenate.cwl --infiles http://download.systemsbiology.nl/unlock/cwl/test_data/human_small.fa.gz --outname cattest
INFO /home/bart/.local/bin//cwltool 3.1.20230325110543
INFO Resolved 'concatenate.cwl' to 'file:///home/bart/UNLOCK/git-dev/cwl/tools/bash/concatenate.cwl'
DEBUG Parsed job order from command line: {
"id": "concatenate.cwl",
"infiles": [
{
"class": "File",
"location": "http://download.systemsbiology.nl/unlock/cwl/test_data/human_small.fa.gz"
}
],
"outname": "cattest"
}
ERROR Got workflow error
Traceback (most recent call last):
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/executors.py", line 217, in run_jobsfor job in jobiter:
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/command_line_tool.py", line 835, in job
visit_class([cachebuilder.files, cachebuilder.bindings], ("File"), _checksum)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/utils.py", line 216, in visit_class
visit_class(d, cls, op)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/utils.py", line 216, in visit_class
visit_class(d, cls, op)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/utils.py", line 211, in visit_class
op(rec)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/process.py", line 1348, in compute_checksumswith fs_access.open(location, "rb") as f:
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/stdfsaccess.py", line 38, in openreturnopen(self._abs(fn), mode)
FileNotFoundError: [Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/human_small.fa.gz'
ERROR Workflow error:
[Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/human_small.fa.gz'
Traceback (most recent call last):
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/executors.py", line 217, in run_jobsfor job in jobiter:
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/command_line_tool.py", line 835, in job
visit_class([cachebuilder.files, cachebuilder.bindings], ("File"), _checksum)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/utils.py", line 216, in visit_class
visit_class(d, cls, op)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/utils.py", line 216, in visit_class
visit_class(d, cls, op)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/utils.py", line 211, in visit_class
op(rec)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/process.py", line 1348, in compute_checksumswith fs_access.open(location, "rb") as f:
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/stdfsaccess.py", line 38, in openreturnopen(self._abs(fn), mode)
FileNotFoundError: [Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/human_small.fa.gz'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/main.py", line 1295, in main
(out, status) = real_executor(
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/executors.py", line 61, in __call__returnself.execute(process, job_order_object, runtime_context, logger)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/executors.py", line 144, in executeself.run_jobs(process, job_order_object, logger, runtime_context)
File "/home/bart/.local/lib/python3.10/site-packages/cwltool/executors.py", line 251, in run_jobsraise WorkflowException(str(err)) from err
cwltool.errors.WorkflowException: [Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/human_small.fa.gz'
Your Environment
cwltool version: 3.1.20230325110543
The text was updated successfully, but these errors were encountered:
Having files HTTP files as input, defining a cache directory with the --cachedir option results in a Workflow error.
Runs successfully without.
Expected Behavior
Same behaviour as without --cachedir defined. (But utilizing the cache functionality)
Actual Behavior
Workflow Error
Workflow Code
concatenate.cwl
Full Traceback
Your Environment
The text was updated successfully, but these errors were encountered: