Skip to content

Error getting GitHub languages #68

Open
@ReenigneArcher

Description

@ReenigneArcher

Describe the Bug

This is randomly occuring. See the following:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/ipykernel/ipkernel.py", line 766, in run_closure
    _threading_Thread_run(self)
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "/home/runner/work/dashboard/dashboard/src/updater.py", line 288, in update_github
    response = helpers.s.get(url=repo['languages_url'], headers=headers)
                                 ~~~~^^^^^^^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'

Expected Behavior

No response

Additional Context

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions