Skip to content

Core: collect_releases - TypeError("argument of type 'NoneType' is not iterable") #3709

@cdolfi

Description

@cdolfi

Repo Impacted: https://github.com/gitGNU/binutils-gdb

Exception | TypeError("argument of type 'NoneType' is not iterable")

Traceback (most recent call last):
  File "/augur/.venv/lib/python3.11/site-packages/celery/app/trace.py", line 453, in trace_task
    R = retval = fun(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^
  File "/augur/.venv/lib/python3.11/site-packages/celery/app/trace.py", line 736, in __protected_call__
    return self.run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/augur/augur/tasks/github/releases/tasks.py", line 22, in collect_releases
    releases_model(session, key_auth, logger, repo_git, repo_id)
  File "/augur/augur/tasks/github/releases/core.py", line 197, in releases_model
    data = fetch_data(key_auth, logger, repo_git, repo_id,True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/augur/augur/tasks/github/releases/core.py", line 170, in fetch_data
    if 'data' in data:
       ^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolved in AveloxisIssue is resolved in https://github.com/aveloxis/aveloxisdeployed versionLive problems with deployed versions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions