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

Cosmetic error from baseband pipeline #142

Open
nmulyk opened this issue Oct 28, 2024 · 7 comments
Open

Cosmetic error from baseband pipeline #142

nmulyk opened this issue Oct 28, 2024 · 7 comments

Comments

@nmulyk
Copy link

nmulyk commented Oct 28, 2024

I'm getting the following error when deploying the baseband pipeline on workflow:

Traceback (most recent call last):
File "/opt/pysetup/.venv/bin/workflow", line 8, in
sys.exit(cli())
File "/opt/pysetup/.venv/lib/python3.8/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/opt/pysetup/.venv/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/opt/pysetup/.venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/pysetup/.venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/pysetup/.venv/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/pysetup/.venv/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/opt/pysetup/.venv/lib/python3.8/site-packages/chime_frb_api/workflow/cli/pipelines.py", line 72, in deploy
pipelines: List[str] = [p["id"] for p in response.json()]
File "/opt/pysetup/.venv/lib/python3.8/site-packages/chime_frb_api/workflow/cli/pipelines.py", line 72, in
pipelines: List[str] = [p["id"] for p in response.json()]
TypeError: string indices must be integers

The error has been fixed in previous years and reported by Kaitlyn Shin. Thanks!

@odarotto
Copy link
Collaborator

Hi @nmulyk, can you please provide the YAML file that's being deployed?

@nmulyk
Copy link
Author

nmulyk commented Nov 11, 2024

sample.txt

@nmulyk
Copy link
Author

nmulyk commented Nov 11, 2024

I've copied it to a text file. Please see above. Thanks!

@odarotto
Copy link
Collaborator

I see @nmulyk, the problem is that you're using the V1 format. Pipelines is now on its version 2 and we have created the reformat command so you can easily change your V1 configurations into V2.

Please use workflow configs reformat <filename>, this command will reformat your file to be used in version 2.

@nmulyk
Copy link
Author

nmulyk commented Nov 20, 2024

@odarotto Does this require a newer version of workflow? I'm currently using 2.1.6 and the above command isn't working

@odarotto
Copy link
Collaborator

@nmulyk Yes this needs the last version of workflow. The workflow.core package is currently on v1.11.4

@nmulyk
Copy link
Author

nmulyk commented Nov 20, 2024

Thank you that seems to have worked

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

2 participants