aussieaddons / plugin.video.afl-video

Kodi add-on for AFL Video
http://aussieaddons.com/addons/afl/
GNU General Public License v3.0
20 stars 6 forks source link

[XBMCBOT] - TypeError: 'NoneType' object has no attribute '__getitem__' #2516

Closed xbmcbot closed 6 years ago

xbmcbot commented 7 years ago

Automatic bug report from end-user.

Environment

Add-on Name: AFL Video Add-on ID: plugin.video.afl-video Add-on Version: 1.8.0 Kodi Version: 17.1 Git:20170320-fc1619b Python Version: 2.7.12 (default, Mar 20 2017, 16:36:02) [GCC 4.9.x 20150123 (prerelease)] Operating System: linux2 (Linux 3.14.29 armv8l) IP Address: 110.140.152.70 ISP: Telstra Internet Kodi URL: ?category=Live%20Matches Python Path:

/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.afl-video
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.beautifulsoup4/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib
/
/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python27.zip
/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7
/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/plat-linux2
/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-tk
/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-old
/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-dynload
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.afl-video/resources/lib

Traceback

Traceback (most recent call last):
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.afl-video/resources/lib/videos.py", line 36, in make_list
    videos = comm.get_live_videos()
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.afl-video/resources/lib/comm.py", line 266, in get_live_videos
    upcoming_videos = get_round('latest', True)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.afl-video/resources/lib/comm.py", line 303, in get_round
    away_team = utils.get_team(d['awaySquadId'])['name']
TypeError: 'NoneType' object has no attribute '__getitem__'

Full log