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] - UnboundLocalError: local variable 'ph_no' referenced before assignment #2560

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.1 Kodi Version: 16.4-81 Git:2016-10-16-a5f6940-dirty Python Version: 2.6.5 (r265:79063, Oct 16 2016, 06:55:30) [GCC 4.9.x 20150123 (prerelease)] Operating System: linux3 (Linux 3.14.29 aarch64) IP Address: 124.188.145.92 (CPE-124-188-145-92.pecz1.cht.bigpond.net.au) ISP: Telstra Internet Kodi URL: ?title=%5BCOLOR+green%5D%5BLIVE+NOW%5D%5B%2FCOLOR%5D+AFL.TV&subscription_required=True&live=True&genre=Sport&ooyalaid=1yNGE5dDoyTdUKykqSeTysvmgup-rvS1&thumbnail=http%3A%2F%2Fs.afl.com.au%2Fstaticfile%2FAFL+Tenant%2FAFL%2FFiles%2FImages%2FAFL-TV.JPG Python Path:

/storage/emulated/0/Android/data/com.xmedex.xmc/files/.xmc/addons/plugin.video.afl-video
/data/data/com.xmedex.xmc/cache/apk/assets/addons/script.common.plugin.cache/lib
/storage/emulated/0/Android/data/com.xmedex.xmc/files/.xmc/addons/script.module.beautifulsoup4/lib
/storage/emulated/0/Android/data/com.xmedex.xmc/files/.xmc/addons/script.module.requests/lib
/
/data/app/com.xmedex.xmc-1/base.apk/assets/python2.6/lib/python26.zip
/data/app/com.xmedex.xmc-1/base.apk/assets/python2.6/lib/python2.6
/data/app/com.xmedex.xmc-1/base.apk/assets/python2.6/lib/python2.6/plat-linux3
/data/app/com.xmedex.xmc-1/base.apk/assets/python2.6/lib/python2.6/lib-tk
/data/app/com.xmedex.xmc-1/base.apk/assets/python2.6/lib/python2.6/lib-old
/data/app/com.xmedex.xmc-1/base.apk/assets/python2.6/lib/python2.6/lib-dynload
/storage/emulated/0/Android/data/com.xmedex.xmc/files/.xmc/addons/plugin.video.afl-video/resources/lib

Traceback

Traceback (most recent call last):
  File "/storage/emulated/0/Android/data/com.xmedex.xmc/files/.xmc/addons/plugin.video.afl-video/resources/lib/play.py", line 40, in play
    login_token = ooyalahelper.get_user_token()
  File "/storage/emulated/0/Android/data/com.xmedex.xmc/files/.xmc/addons/plugin.video.afl-video/resources/lib/ooyalahelper.py", line 81, in get_user_token
    token = telstra_auth.get_token(username, password)
  File "/storage/emulated/0/Android/data/com.xmedex.xmc/files/.xmc/addons/plugin.video.afl-video/resources/lib/telstra_auth.py", line 129, in get_token
    media_order_data = config.MEDIA_ORDER_JSON.format(ph_no,
UnboundLocalError: local variable 'ph_no' referenced before assignment