galaxy icon indicating copy to clipboard operation
galaxy copied to clipboard

`/api/workflows/{workflow_id}`: AttributeError: 'str' object has no attribute 'get'

Open galaxyproject-sentryintegration[bot] opened this issue 1 year ago • 0 comments

Sentry Issue: GALAXY-TEST-2D9

ExceptionGroup: unhandled errors in a TaskGroup
  File "starlette/_utils.py", line 87, in collapse_excgroups
    yield
  File "starlette/middleware/base.py", line 190, in __call__
    async with anyio.create_task_group() as task_group:
  File "anyio/_backends/_asyncio.py", line 678, in __aexit__
    raise BaseExceptionGroup(

AttributeError: 'str' object has no attribute 'get'
(26 additional frame(s) were not displayed)
...
  File "galaxy/webapps/galaxy/fast_app.py", line 109, in add_x_frame_options
    response = await call_next(request)
  File "galaxy/webapps/galaxy/api/workflows.py", line 1147, in show_workflow
    return self.service.show_workflow(trans, workflow_id, instance, legacy, version)
  File "galaxy/webapps/galaxy/services/workflows.py", line 242, in show_workflow
    **self._workflow_contents_manager.workflow_to_dict(trans, stored_workflow, style=style, version=version)
  File "galaxy/managers/workflows.py", line 905, in workflow_to_dict
    wf_dict = self._workflow_to_dict_instance(trans, stored, workflow=workflow, legacy=False)
  File "galaxy/managers/workflows.py", line 1635, in _workflow_to_dict_instance
    step_label = step.label or step.tool_inputs.get("name")