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 source in artifact.yml #171

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

Crash on missing source in artifact.yml #171

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 patches -a systemd-mkosi
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 1260, in _run_patches
    patch_queue.run()
  File "/usr/lib/python3/dist-packages/fatbuildr/patches.py", line 97, in run
    source.id, self._dl_tarball(source)
  File "/usr/lib/python3/dist-packages/fatbuildr/patches.py", line 151, in _dl_tarball
    tarball_path = cache_dir.joinpath(source.filename(self.derivative))
  File "/usr/lib/python3/dist-packages/fatbuildr/artifact.py", line 141, in filename
    self._raw_source, version=self.version(derivative)
  File "/usr/lib/python3/dist-packages/fatbuildr/artifact.py", line 125, in _raw_source
    return self.defs['source']
KeyError: 'source'
@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 self-assigned this Jul 11, 2024
@rezib rezib closed this as completed in fe8e1b4 Jul 12, 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