pigskin / kodi-gamepass

NFL Game Pass add-on for Kodi
Other
123 stars 83 forks source link

UnicodeDecodeError when displaying games of current gameday #369

Closed jm-duke closed 6 years ago

jm-duke commented 6 years ago

Hi,

seen this error last week, had it again today:

Right after watching the afternoon game, I switch weeks to reload the current gameday (to see, which new games are streaming now), and Kodi pop's up an unexpected error. I can load any other week, just not the current gameday.

I checked the logs, and saw that the add-on throws an UnicodeDecodeError after loading the game day content:

22:17:09.568 T:1439691744   DEBUG: [plugin.video.nfl.gamepass-0.11.2-dev]: Traceback (most recent call last):
  File "/home/osmc/.kodi/addons/plugin.video.nfl.gamepass/default.py", line 461, in onClick
                self.display_weeks_games()
  File "/home/osmc/.kodi/addons/plugin.video.nfl.gamepass/default.py", line 186, in display_weeks_games
                game_info += '[CR]» Live «'
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 4: ordinal not in range(128)

The full debug log: kodi.log.gz

Cheers, Tom.