UncleGoogle / galaxy-integration-humblebundle

Humble Bundle integration for GOG Galaxy 2.0
GNU General Public License v3.0
184 stars 19 forks source link

Not only vault ogames in HumbleApp (KeyError: 'dateAdded') #184

Closed sentry-io[bot] closed 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: HB-49

KeyError: 'dateAdded'
(1 additional frame(s) were not displayed)
...
  File "local\humbleapp_adapter.py", line 74, in refresh_game_list
    config = self._parse_config()
  File "local\humbleapp_adapter.py", line 80, in _parse_config
    return parse_humble_app_config(self.CONFIG_PATH)
  File "humbleapp\humbleapp.py", line 120, in parse_humble_app_config
    games = [parse_game(g) for g in content['game-collection-4']]
  File "humbleapp\humbleapp.py", line 120, in <listcomp>
    games = [parse_game(g) for g in content['game-collection-4']]
  File "humbleapp\humbleapp.py", line 110, in parse_game
    date_added=raw["dateAdded"],

Task exception was never retrieved
future: <Task finished coro=<HumbleBundlePlugin._check_humbleapp() done, defined at d:\Users\Mieszko\AppData\Local\GOG.com\Galaxy\plugins\installed\humblebundle\plugin.py:458> exception=KeyError('dateAdded')>
{
  downloadedVersion: None, 
  downloadEta: '', 
  downloadPercentage: 0, 
  downloads: {}, 
  downloadSpeed: '', 
  gameName: 'Botanicula',  
  imagePath: 'https://hb.imgix.net/c6eb0608eac19b849327254ded93998d5cff3b7d.jpeg?auto=compress,format&fit=crop&h=353&w=616&s=7622335b43052a0080f3f69d09e67b2a', 
  latestBuildVersion: 1, 
  machineName: 'botanicula', 
  status: 'available'
}