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: 'NoneType' object has no attribute 'get_project' #2634

Closed
sentry-io bot opened this issue Nov 12, 2024 · 1 comment
Closed

AttributeError: 'NoneType' object has no attribute 'get_project' #2634

sentry-io bot opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 12, 2024

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

AttributeError: 'NoneType' object has no attribute 'get_project'
(9 additional frame(s) were not displayed)
...
  File "packit_service/service/api/osh_scans.py", line 32, in get
    scan_dict = get_scan_info(scan)
  File "packit_service/service/api/osh_scans.py", line 73, in get_scan_info
    scan_dict.update(get_project_info_from_build(scan.copr_build_target))
  File "packit_service/service/api/utils.py", line 48, in get_project_info_from_build
    if not (project := build.get_project()):
@lbarcziova
Copy link
Member

Fixes in #2635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant