Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbpack fails to upload workflow pre-packed with cwltool #73

Open
golharam opened this issue Jul 19, 2023 · 0 comments
Open

sbpack fails to upload workflow pre-packed with cwltool #73

golharam opened this issue Jul 19, 2023 · 0 comments

Comments

@golharam
Copy link

We have a case where we pack a workflow using 'cwltool --pack', then would like to upload that pre-packed workflow to SBG. When doing so, we encounter:

Traceback (most recent call last):
  File "env/bin/sbpack", line 8, in <module>
    sys.exit(main())
  File "/scratch/PDX/env/lib64/python3.7/site-packages/sbpack/pack.py", line 419, in main
    api.apps.create_revision(id=appid, raw=cwl, revision=app.revision + 1)
  File "/scratch/PDX/env/lib64/python3.7/site-packages/sevenbridges/models/app.py", line 156, in create_revision
    id=id, revision=revision), data=raw).json()
  File "/scratch/PDX/env/lib64/python3.7/site-packages/sevenbridges/http/client.py", line 329, in post
    data=data, append_base=append_base)
  File "/scratch/PDX/env/lib64/python3.7/site-packages/sevenbridges/decorators.py", line 50, in wrapper
    return func(http_client, *args, **kwargs)
  File "/scratch/PDX/env/lib64/python3.7/site-packages/sevenbridges/decorators.py", line 95, in wrapper
    raise e
sevenbridges.errors.BadRequest: Bad Request.

It seems the packed workflow is not a dictionary object as the API is expecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant