Question: Getting started with CWL: Unrecognized version v1.0?
0
gravatar for sb10
2.5 years ago by
sb1040
sb1040 wrote:

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 • 1.1k views
ADD COMMENTlink modified 4 months ago by Biostar ♦♦ 20 • written 2.5 years ago by sb1040
0
gravatar for sb10
2.5 years ago by
sb1040
sb1040 wrote:

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 COMMENTlink written 2.5 years ago by sb1040
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1103 users visited in the last hour