Skip to content

Ошибка при получении коммитов #154

@HadronCollider

Description

@HadronCollider

Возможно, потому что не настроен git config и гитхаб не может подтянуть данные (иначе почему commit.author = None)? по логам и трейсбеку к сожалению, даже не посмотреть на каком коммите возникла проблема

2026-03-02 15:29:49,243 - ERROR - class_name='GitHubRepoAPI'
2026-03-02 15:29:49,243 - ERROR - Failed to get commits from GitHub get_commits: 'NoneType' object has no attribute 'login'
2026-03-02 15:29:49,245 - ERROR - Traceback (most recent call last):
  File "/app/src/utils.py", line 90, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/GitHubRepoAPI.py", line 77, in get_commits
    return [self.get_commit_data(c, files) for c in commits]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/GitHubRepoAPI.py", line 53, in get_commit_data
    author=self.get_user_data(commit.author),
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/GitHubRepoAPI.py", line 38, in get_user_data
    login=user.login,
          ^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'login'

Metadata

Metadata

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions