joaorb64 / TournamentStreamHelper

101 stars 38 forks source link

5.6: Recent StartGG changes have broken imports #407

Closed Wolfy76700 closed 1 year ago

Wolfy76700 commented 1 year ago

StartGG support is currently broken on TSH due to major changes on the player data API. All imports and data (Bracket, player data, set selector, top 8, etc.) are affected.

Here is the error message we find:

  File "C:\Users\wolfy\Git\TournamentStreamHelper\src\TournamentDataProvider\StartGGDataProvider.py", line 1296, in GetEntrantsWorker
    playerData = StartGGDataProvider.ProcessEntrantData(entrant)
  File "C:\Users\wolfy\Git\TournamentStreamHelper\src\TournamentDataProvider\StartGGDataProvider.py", line 1359, in ProcessEntrantData
    if len(user.get("authorizations", [])) > 0:
TypeError: object of type 'NoneType' has no len()
Wolfy76700 commented 1 year ago

Fixed in 5.62