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

Tool state: ValueError: too many values to unpack (expected 3) #18555

Closed
galaxyproject-sentryintegration bot opened this issue Jul 17, 2024 · 1 comment

Comments

@galaxyproject-sentryintegration

I did include the version. In general the id parsing needs a validator and better errors when things aren't found.

Sentry Issue: TOOLSHED-TEST-ACF

ValueError: too many values to unpack (expected 3)
(21 additional frame(s) were not displayed)
...
  File "tool_shed/managers/tools.py", line 106, in parsed_tool_model_cached_for
    parsed_tool = parsed_tool_model_for(trans, trs_tool_id, tool_version, repository_clone_url=repository_clone_url)
  File "tool_shed/managers/tools.py", line 114, in parsed_tool_model_for
    tool_source = tool_source_for(trans, trs_tool_id, tool_version, repository_clone_url=repository_clone_url)
  File "tool_shed/managers/tools.py", line 122, in tool_source_for
    return _shed_tool_source_for(trans, trs_tool_id, tool_version, repository_clone_url)
  File "tool_shed/managers/tools.py", line 133, in _shed_tool_source_for
    rval = get_repository_metadata_tool_dict(trans, trs_tool_id, tool_version)
  File "tool_shed/managers/tools.py", line 85, in get_repository_metadata_tool_dict
    name, owner, tool_id = trs_tool_id.split("~", 3)
@mvdbeek
Copy link
Member

mvdbeek commented Jul 17, 2024

Should be fixed in #18558

@mvdbeek mvdbeek closed this as completed Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants