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 #2540

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: 17.3 Git:20170524-147cec4 Python Version: 2.7.12 (default, May 24 2017, 16:08:58) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] Operating System: darwin (Darwin 15.6.0 x86_64) IP Address: 123.2.150.51 (bigpond.bigpond) ISP: Dodo Australia 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:

/Users/ryejet/Library/Application Support/Kodi/addons/plugin.video.afl-video
/Users/ryejet/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib
/Users/ryejet/Library/Application Support/Kodi/addons/script.module.beautifulsoup4/lib
/Users/ryejet/Library/Application Support/Kodi/addons/script.module.requests/lib
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg
/Applications/Kodi.app/Contents/Libraries
/Applications/Kodi.app/Contents/Libraries/lib/python27.zip
/Applications/Kodi.app/Contents/Libraries/lib/python2.7
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload
/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
/Users/ryejet/Library/Application Support/Kodi/addons/plugin.video.afl-video/resources/lib

Traceback

Traceback (most recent call last):
  File "/Users/ryejet/Library/Application Support/Kodi/addons/plugin.video.afl-video/resources/lib/play.py", line 40, in play
    login_token = ooyalahelper.get_user_token()
  File "/Users/ryejet/Library/Application Support/Kodi/addons/plugin.video.afl-video/resources/lib/ooyalahelper.py", line 81, in get_user_token
    token = telstra_auth.get_token(username, password)
  File "/Users/ryejet/Library/Application Support/Kodi/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

Full log