https://dev.arvados.org/https://dev.arvados.org/favicon.ico?15576888422023-01-24T18:12:12ZArvadosArvados - Bug #19976: Better error when 'location' is not a stringhttps://dev.arvados.org/issues/19976?journal_id=1102202023-01-24T18:12:12ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/110220/diff?detail_id=106981">diff</a>)</li></ul> Arvados - Bug #19976: Better error when 'location' is not a stringhttps://dev.arvados.org/issues/19976?journal_id=1102212023-01-24T18:12:37ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/110221/diff?detail_id=106982">diff</a>)</li></ul> Arvados - Bug #19976: Better error when 'location' is not a stringhttps://dev.arvados.org/issues/19976?journal_id=1102472023-01-24T22:09:37ZBrett Smithbrett.smith@curii.com
<ul><li><strong>File</strong> <a href="/attachments/3213">cat-params.yml</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3213/cat-params.yml">cat-params.yml</a> added</li><li><strong>File</strong> <a href="/attachments/3212">cat.cwl</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3212/cat.cwl">cat.cwl</a> added</li></ul><p>cwltool has almost the exact same problem, at least as of 3.1.20221201130942:</p>
<pre>$ cwltool cat.cwl cat-params.yml
INFO /opt/arvados/arvenv/bin/cwltool 3.1.20221201130942
INFO Resolved 'cat.cwl' to 'file:///home/brett/Curii/Notes/cat.cwl'
ERROR Unhandled error, try again with --debug for more information:
'int' object has no attribute 'startswith'
</pre>
<p>It seems to validate input CWL with salad-schema. Does it not do the same for input parameters? If that's doable it seems like it would be the ideal fix.</p>