chaoss / chaoss/CollectOSS

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

Open
#225 1 comment 0 reactions 0 assignees View on GitHub
deployed version
Dominant language
Python
Stars
13
Forks
17
Avg merge
6h 59m
Merged PRs (30d)
1

Description

> [!NOTE]
> Migrated from [augurlabs/augur#3709](https://github.com/augurlabs/augur/issues/3709)
> Originally opened by `@cdolfi` on 2026-02-17

---

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.