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

Crash on missing format in remote instance #172

Closed
rezib opened this issue Jun 3, 2024 · 0 comments
Closed

Crash on missing format in remote instance #172

rezib opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rezib
Copy link
Contributor

rezib commented Jun 3, 2024

± fatbuildrctl --uri https://build.rackslab.io/devs build --artifact node-rocky8 --distribution firehpc --subdir firehpc/envs
Traceback (most recent call last):
  File "/usr/bin/fatbuildrctl", line 33, in <module>
    sys.exit(load_entry_point('Fatbuildr==2.1.0.dev158', 'console_scripts', 'fatbuildrctl')())
  File "/usr/lib/python3/dist-packages/fatbuildr/cli/__init__.py", line 34, in run
    cls()
  File "/usr/lib/python3/dist-packages/fatbuildr/cli/fatbuildrctl.py", line 583, in __init__
    args.func(args)
  File "/usr/lib/python3/dist-packages/fatbuildr/cli/fatbuildrctl.py", line 1161, in _run_build
    (format, distribution) = self._get_format_distribution(defs, args)
  File "/usr/lib/python3/dist-packages/fatbuildr/cli/fatbuildrctl.py", line 987, in _get_format_distribution
    dist_fmt = self.connection.pipelines_distribution_format(
  File "/usr/lib/python3/dist-packages/fatbuildr/protocols/http/client.py", line 38, in error_handler_wrapper
    return method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/fatbuildr/protocols/http/client.py", line 99, in pipelines_distribution_format
    return list(formats.keys())[0]
IndexError: list index out of range
@rezib rezib added the bug Something isn't working label Jun 3, 2024
@rezib rezib added this to the v2.1.0 milestone Jun 3, 2024
@rezib rezib closed this as completed in 3cd59c8 Jul 12, 2024
@rezib rezib self-assigned this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant