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: 'GitBranchModel' object has no attribute 'commit_sha' #2685

Open
sentry-io bot opened this issue Jan 2, 2025 · 0 comments
Open

AttributeError: 'GitBranchModel' object has no attribute 'commit_sha' #2685

sentry-io bot opened this issue Jan 2, 2025 · 0 comments
Labels
area/fedora Related to Fedora ecosystem complexity/single-task Regular task, should be done within days. gain/high This brings a lot of value to (not strictly a lot of) users. impact/low This issue impacts only a few users. kind/bug Something isn't working.

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 2, 2025

Sentry Issue: PCKT-002-PACKIT-SERVICE-8N8

AttributeError: 'GitBranchModel' object has no attribute 'commit_sha'
(6 additional frame(s) were not displayed)
...
  File "packit_service/worker/handlers/abstract.py", line 247, in run_n_clean
    return self.run()
  File "packit_service/worker/handlers/koji.py", line 134, in run
    return self.koji_build_helper.run_koji_build()
  File "packit_service/worker/helpers/build/koji_build.py", line 98, in run_koji_build
    if results := self.create_srpm_if_needed():
  File "packit_service/worker/helpers/build/build_helper.py", line 517, in create_srpm_if_needed
    results = self._create_srpm()
  File "packit_service/worker/helpers/build/build_helper.py", line 568, in _create_srpm
    merged_ref = self._db_project_object.commit_sha
@lbarcziova lbarcziova added kind/bug Something isn't working. area/fedora Related to Fedora ecosystem impact/low This issue impacts only a few users. gain/high This brings a lot of value to (not strictly a lot of) users. complexity/single-task Regular task, should be done within days. labels Jan 2, 2025
@lbarcziova lbarcziova moved this from new to backlog in Packit Kanban Board Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/fedora Related to Fedora ecosystem complexity/single-task Regular task, should be done within days. gain/high This brings a lot of value to (not strictly a lot of) users. impact/low This issue impacts only a few users. kind/bug Something isn't working.
Projects
Status: backlog
Development

No branches or pull requests

1 participant