Getting started with CWL: Unrecognized version v1.0?
1
0
Entering edit mode
8.1 years ago
sb10 ▴ 40

Hi,

I'm trying to get started by looking at the reference implementation and an example workflow. But I'm getting an error. I did:

$ pip install cwlref-runner

/software/[...]/python/python-2.7.3/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning

[...]

Installing collected packages: cwlref-runner

Successfully installed cwlref-runner-1.0

[...]

InsecurePlatformWarning

$ git clone https://github.com/common-workflow-language/workflows.git cwl-example-workflows

$ cd cwl-example-workflows/workflows/hello

$ cwl-runner --debug hello.cwl

/software/[...]/python/python-2.7.3/bin/cwl-runner 1.0.20160413143011

I'm sorry, I couldn't load this CWL file, try again with --debug for more information.

Unrecognized version v1.0

Traceback (most recent call last):

File "build/bdist.linux-x86_64/egg/cwltool/main.py", line 534, in main stdout=stdout) File "build/bdist.linux-x86_64/egg/cwltool/main.py", line 308, in load_tool workflowobj = update.update(workflowobj, document_loader, fileuri) File "build/bdist.linux-x86_64/egg/cwltool/update.py", line 309, in update raise Exception(u"Unrecognized version %s" % version) Exception: Unrecognized version v1.0

It's possible I've previously installed an older version of the reference tools, but I'm not a python person and I don't know how to diagnose or fix this. How can I make sure everything is up-to-date and able to parse v1.0 workflows?

cwl • 2.6k views
ADD COMMENT
0
Entering edit mode
8.1 years ago
sb10 ▴ 40

Resolved by doing a fresh, separate install of python. As per https://github.com/common-workflow-language/workflows/issues/61, however, this hello world example doesn't actually work according to its help text.

ADD COMMENT

Login before adding your answer.

Traffic: 2805 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6