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

AttributeError when publishing OSI artifacts #107

Closed
rezib opened this issue May 15, 2023 · 0 comments
Closed

AttributeError when publishing OSI artifacts #107

rezib opened this issue May 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rezib
Copy link
Contributor

rezib commented May 15, 2023

This error has been seen in fatbuildrd logs when publishing OSI artifacts in registry:

fatbuildrd[329058]: Exception in thread worker-default:
fatbuildrd[329058]: Traceback (most recent call last):
fatbuildrd[329058]:   File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
fatbuildrd[329058]:     self.run()
fatbuildrd[329058]:   File "/usr/lib/python3.10/threading.py", line 953, in run
fatbuildrd[329058]:     self._target(*self._args, **self._kwargs)
fatbuildrd[329058]:   File "/usr/lib/python3/dist-packages/fatbuildr/cli/fatbuildrd.py", line 133, in _worker
fatbuildrd[329058]:     instance.tasks_mgr.run(task)
fatbuildrd[329058]:   File "/usr/lib/python3/dist-packages/fatbuildr/tasks/manager.py", line 177, in run
fatbuildrd[329058]:     task.run()
fatbuildrd[329058]:   File "/usr/lib/python3/dist-packages/fatbuildr/builds/__init__.py", line 227, in run
fatbuildrd[329058]:     self.registry.publish(self)
fatbuildrd[329058]:   File "/usr/lib/python3/dist-packages/fatbuildr/registry/formats/osi.py", line 71, in publish
fatbuildrd[329058]:     logger.debug("Found files: %s", ' '.join(built_files.name))
fatbuildrd[329058]: AttributeError: 'list' object has no attribute 'name'
@rezib rezib added the bug Something isn't working label May 15, 2023
@rezib rezib self-assigned this May 15, 2023
@rezib rezib closed this as completed in bd6b8e0 May 15, 2023
@rezib rezib added this to the v2.1.0 milestone May 25, 2023
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