streamlink-twitch-gui icon indicating copy to clipboard operation
streamlink-twitch-gui copied to clipboard

Cannot load Creative

Open mikeboy91 opened this issue 10 years ago • 1 comments

I'm getting an error while loading the game (more a category than a game but listed as a game) 'Creative'. I think they changed this recently. Before the change the content of the newly created game 'Creative' was separated into 'Music', 'Programming', 'Art' and so on. Now they merged everything into 'Creative'

I'm getting the following error messages:

[8937:0209/194629:INFO:CONSOLE(136)] ""Uncaught exception:"", source: app://livestreamer-twitch-gui/app/main.js (136)
[8937:0209/194629:INFO:CONSOLE(87)] "Uncaught TypeError: Cannot read property 'length' of null", source: app://livestreamer-twitch-gui/app/main.js (87)
[8937:0209/194637:INFO:CONSOLE(0)] "Error: Invalid value for <circle> attribute r="NaN%"", source: app://livestreamer-twitch-gui/index.html#/games/Creative (0)

I've tried this with v0.11.1 and v0.12.0 on a Xubuntu 64Bit System.

mikeboy91 avatar Feb 09 '16 18:02 mikeboy91

Thanks for reporting! It's because of a parsing error in the EmbeddedLinksComponent. There's a broadcaster in that game category who doesn't have a status set. The Twitch API is returning null instead of "", which is not expected by the parser which is then throwing an Exception. Could also be the fault of EmberData's StringTransform returning something that's not a string, although the model attribute is specified as string...

The error log you've listed is just a result of the exception causing a chain reaction and another error in the LoadingSpinnerComponent...

bastimeyer avatar Feb 09 '16 19:02 bastimeyer