Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XBMCBOT] - UnboundLocalError: local variable 'ph_no' referenced before assignment #2532

Closed
xbmcbot opened this issue Jun 4, 2017 · 0 comments

Comments

@xbmcbot
Copy link

xbmcbot commented Jun 4, 2017

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.1 Git:2016-04-24-c327c53
Python Version: 2.6.5 (r265:79063, Apr 24 2016, 10:31:19) [GCC 4.8]
Operating System: linux3 (Linux 3.10.33 armv7l)
IP Address: 121.219.46.127 (CPE-121-219-46-127.lnse1.lon.bigpond.net.au)
ISP: Telstra Internet
Kodi URL: ?genre=Sport&ooyalaid=M1cjk5dDpcY-kXbtStePBsIOElhbKSua&subscription_required=True&live=True&title=%5BCOLOR+green%5D%5BLIVE+NOW%5D%5B%2FCOLOR%5D+Fremantle+Vs+Collingwood
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.apk/assets/python2.6/lib/python26.zip
/data/app/org.xbmc.kodi-1.apk/assets/python2.6/lib/python2.6
/data/app/org.xbmc.kodi-1.apk/assets/python2.6/lib/python2.6/plat-linux3
/data/app/org.xbmc.kodi-1.apk/assets/python2.6/lib/python2.6/lib-tk
/data/app/org.xbmc.kodi-1.apk/assets/python2.6/lib/python2.6/lib-old
/data/app/org.xbmc.kodi-1.apk/assets/python2.6/lib/python2.6/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/play.py", line 40, in play
    login_token = ooyalahelper.get_user_token()
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/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/org.xbmc.kodi/files/.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

glennguy added a commit to glennguy/plugin.video.afl-video that referenced this issue Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant