cwltool fails in git bash
See original GitHub issuereporting this for @am-cornelis trying to run cwltool in git bash (on Windows) fails when trying to create a symlink.
I’m pasting below the extensive bug report she sent me:
At the ELIXIR All Hands - CWL workshop, I came across the following error message, which you wanted to hear about.
I was running the cwl-runner on windows using git bash:
$ cwl-runner helloworld.cwl input.yaml
C:\Apps\Python27\Scripts\cwl-runner 1.0.20170309164828
Resolved 'helloworld.cwl' to
'file:///C:/src/play/cwl-workshop/helloworld.cwl'
Got workflow error
Traceback (most recent call last):
File "c:\apps\python27\lib\site-packages\cwltool\main.py", line 230,
in single_job_executor
r.run(**kwargs)
File "c:\apps\python27\lib\site-packages\cwltool\job.py", line 213, in run
stageFiles(self.pathmapper, os.symlink, ignoreWritable=True)
AttributeError: 'module' object has no attribute 'symlink'
Workflow error, try again with --debug for more information:
'module' object has no attribute 'symlink'
This is my setup:
Windows 10 Pro, with Git Bash (2.7.0)
$ python --version
Python 2.7.11
$ pip --version
pip 7.1.2 from c:\apps\python27\lib\site-packages (python 2.7)
$ cwl-runner --version
C:\Apps\Python27\Scripts\cwl-runner 1.0.20170309164828
Cheers, Amélie
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
running "git log" results in an error saying "less: -c: line 0
In my understanding, the output maybe refers to an shell script, when executing git log , the srcipt will be executed(maybe it's named...
Read more >Introduction to Workflows with Common Workflow Language
This tutorial requires three pieces of software to run and visualize the workflows: Docker, cwltool, and graphviz. Please follow instructions for your OS...
Read more >Error collecting output for parameter 'concat_meta_ms' (#4) · Issues ...
I got an error when processing Target: [1;30mERROR[0m [31m[job ms_concat] Job ... git checkout concat_meta_ms ... and then from its shell run cwltool,...
Read more >CWL error when using OxoG: Tool definition failed validation
problems running command: cwltool --non-strict --print-pre /tmp/1502088182535-0/oxog_varbam_annotate_wf.cwl stderr for command:
Read more >Repeat mapping
PuTTY, git bash). ... You can verify installation with: cwltool --help ... ERROR '$TOOL' not found: [Errno 2] No such file or directory: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @xamgore @am-cornelis We have made cwltool compatible with windows with the latest release. You can try it by updating your cwltool. Just to clarify, you won’t need to use git bash, command prompt would work 😃 . Documentation on windows usage is currently in this PR https://github.com/common-workflow-language/cwltool/pull/486
I’m closing this issue now – @hmenager @am-cornelis.
@kapilkd13 has already provided all the relevant details.