2014-05-01, 10:34
Hi, I'm encountering an error trying to use this plugin - from what I can tell it appears to be a bug, but would anyone mind taking a look at the log to let me know if it's something I'm doing wrong?
I am using v2.5.5 on Android, the BeyondXBMC build. When I go to view any iPlayer program or live stream, it gives me a script error popup. The log is:
The suspicious part, to me, is "NOTICE: SyntaxError: expected path separator ([)" - but I can't think of any way I could work around this in settings?
Thanks in advance![/code]
I am using v2.5.5 on Android, the BeyondXBMC build. When I go to view any iPlayer program or live stream, it gives me a script error popup. The log is:
Code:
09:18:58 T:1740806696 DEBUG: - calling plugin iPlayer('plugin://plugin.video.iplayer/','-1','?pid=bbc_one&feed_channel=bbc_one')
09:18:58 T:1740806696 INFO: initializing python engine.
09:18:58 T:1740806696 DEBUG: new python thread created. id=15
09:18:58 T:1837129480 DEBUG: Python thread: start processing
09:18:58 T:1837129480 NOTICE: -->Python Interpreter Initialized<--
09:18:58 T:1837129480 DEBUG: - The source file to load is /mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py
09:18:58 T:1837129480 DEBUG: - Setting the Python path to /mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.t0mm0.common/lib:/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/script.module.socksipy/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.chardet/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.simplejson/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.myconnpy/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.addon.common/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.beautifulsoup/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.pil/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.common.plugin.cache/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.simple.downloader/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.requests/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.urlresolver/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.buggalo/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.mechanize/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.parsedom/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.elementtree/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.requests2/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.pysqlite/lib:/data/data/com.flumpster.xbmc/cache/apk/assets/addons/script.module.metahandler/lib:/:/data/app/com.flumpster.xbmc-1.apk/assets/python2.6/lib/python26.zip:/data/app/com.flumpster.xbmc-1.apk/assets/python2.6/lib/python2.6:/data/app/com.flumpster.xbmc-1.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/com.flumpster.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/com.flumpster.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/com.flumpster.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-dynload:
09:18:58 T:1837129480 DEBUG: - Entering source directory /mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer
09:18:58 T:1837129480 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.iplayer" dependent on version 2.1.0 of the xbmc.python api
09:18:58 T:1837129480 ERROR: /mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
09:18:58 T:1837129480 ERROR: /mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer_search.py:5: DeprecationWarning: the sets module is deprecated
from sets import Set
09:18:58 T:1837129480 NOTICE: plugin.video.iplayer: Version: 2.5.5
09:18:58 T:1837129480 NOTICE: plugin.video.iplayer: Subtitles dir: /mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/userdata/addon_data/plugin.video.iplayer/Subtitles
09:18:58 T:1837129480 NOTICE: plugin.video.iplayer: (<iplayer2.feed object at 0x70877cf0>, None, 'bbc_one', None, None, None, None, None, None, None, None, None, None, None)
09:18:58 T:1837129480 NOTICE: plugin.video.iplayer: Read playlist for bbc_one...
09:18:59 T:1837129480 NOTICE: plugin.video.iplayer: URL Fetch took 0.26 sec for http://www.bbc.co.uk/iplayer/playlist/bbc_one
09:18:59 T:1837129480 NOTICE: plugin.video.iplayer: Found programme: BBC One London
09:18:59 T:1837129480 NOTICE: Traceback (most recent call last):
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 985, in <module>
09:18:59 T:1837129480 NOTICE: watch(feed, pid, __addon__.getSetting('playaction') == "0")
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 764, in watch
09:18:59 T:1837129480 NOTICE: item = get_item(pid)
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 646, in get_item
09:18:59 T:1837129480 NOTICE: return p.programme
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 682, in programme
09:18:59 T:1837129480 NOTICE: for i in self.items:
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 55, in result
09:18:59 T:1837129480 NOTICE: loader(self)
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 48, in result
09:18:59 T:1837129480 NOTICE: fn(self)
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 579, in read_playlist
09:18:59 T:1837129480 NOTICE: self.parse_playlist(self.playlist)
09:18:59 T:1837129480 NOTICE: File "/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 607, in parse_playlist
09:18:59 T:1837129480 NOTICE: self.meta['thumbnail'] = tree.find("link[@rel='holding']").attrib['href']
09:18:59 T:1837129480 NOTICE: File "/home/flumpster/Beyond-XBMC/toolchain/android-14/staging/armeabi-v7a/lib/python2.6/xml/etree/ElementTree.py", line 330, in find
09:18:59 T:1837129480 NOTICE: File "/home/flumpster/Beyond-XBMC/toolchain/android-14/staging/armeabi-v7a/lib/python2.6/xml/etree/ElementPath.py", line 186, in find
09:18:59 T:1837129480 NOTICE: File "/home/flumpster/Beyond-XBMC/toolchain/android-14/staging/armeabi-v7a/lib/python2.6/xml/etree/ElementPath.py", line 176, in _compile
09:18:59 T:1837129480 NOTICE: File "/home/flumpster/Beyond-XBMC/toolchain/android-14/staging/armeabi-v7a/lib/python2.6/xml/etree/ElementPath.py", line 93, in __init__
09:18:59 T:1837129480 NOTICE: SyntaxError: expected path separator ([)
09:18:59 T:1740806696 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
09:18:59 T:1740806696 DEBUG: Window DialogKaiToast.xml was already loaded
09:18:59 T:1740806696 DEBUG: Alloc resources: 0.00m
09:18:59 T:1837129480 INFO: Python script stopped
09:18:59 T:1740806696 DEBUG: waiting for python thread 15 (/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py) to stop
09:18:59 T:1740806696 DEBUG: python thread 15 (/mnt/sdcard/Android/data/com.flumpster.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py) destructed
09:19:04 T:1740806696 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
09:19:24 T:1740806696 DEBUG: SECTION:UnloadDelayed(DLL: libImageLib-arm.so)
09:19:24 T:1740806696 DEBUG: Unloading: libImageLib-arm.so
The suspicious part, to me, is "NOTICE: SyntaxError: expected path separator ([)" - but I can't think of any way I could work around this in settings?
Thanks in advance![/code]