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

artifact: AttributeError: 'NoneType' object has no attribute 'text' during collect.yml #125

Closed
h1alexbel opened this issue Oct 7, 2024 · 1 comment · Fixed by #129
Closed
Assignees
Labels
bug Something isn't working

Comments

@h1alexbel
Copy link
Owner

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/runner/work/sr-detection/sr-detection/sr-data/src/sr_data/steps/maven.py", line 42, in main
    profile = pom(row["repo"], row["branch"], token)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/sr-detection/sr-detection/sr-data/src/sr_data/steps/maven.py", line 81, in pom
    return merge(build, repo)
           ^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/sr-detection/sr-detection/sr-data/src/sr_data/steps/maven.py", line 122, in merge
    plugins.append(artifact.text)
                   ^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'
@h1alexbel h1alexbel added the bug Something isn't working label Oct 7, 2024
@h1alexbel h1alexbel self-assigned this Oct 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

@h1alexbel
Here is a summary of the bug report:

Quality problem: Lack of clear problem description.
Suggestion: Add a brief description of the issue and expected behavior.

h1alexbel added a commit that referenced this issue Oct 7, 2024
h1alexbel added a commit that referenced this issue Oct 7, 2024
feat(#125): skip None artifact in maven step
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

Successfully merging a pull request may close this issue.

1 participant