2014-11-07, 13:15
Hi Exo,
First, please keep in mind that I'm ecstatic about the work you've done, and none of what is missing (for me) bothers me in any way at all.
However, I have now installed v2.6.3 and I still get the "script failed" message when I select "Categories" (everything else works fine).
You asked me for a log, but, initially, I thought I'd paste in just the relevant section (what was generated when I selected "Categories"), to see if that helps at all. I "think", from the rest of my log entries, that I'm using Python 2.6 (any help to update to 2.7 appreciated).
Pasting device and version details first:
10:52:35 T:1668400584 NOTICE: Starting XBMC (13.0-RC1 Git:20140427-2372235). Platform: ARM Android 32-bit
10:52:35 T:1668400584 NOTICE: Using Debug XBMC x32 build, compiled Apr 27 2014 by GCC 4.8.0 for ARM Android 32-bit API level 14
10:52:35 T:1668400584 NOTICE: Running on Android 32-bit API level 16 (Android, 3.1.10-g780994a armv7l)
10:52:35 T:1668400584 NOTICE: Host CPU: ARMv7 Processor rev 9 (v7l), 4 cores available
10:52:35 T:1668400584 NOTICE: Product: ouya_1_1, Device: ouya_1_1, Board: unknown - Manufacturer: OUYA, Brand: OUYA, Model: OUYA Console, Hardware: cardhu
10:52:35 T:1668400584 NOTICE: ARM Features: Neon enabled
ERROR:
10:53:32 T:1730667944 DEBUG: CPythonInvoker(30, /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py): entering source directory /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer
10:53:32 T:1730667944 DEBUG: CPythonInvoker(30, /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py): instantiating addon using automatically obtained id of "plugin.video.iplayer" dependent on version 2.1.0 of the xbmc.python api
10:53:32 T:1668400584 DEBUG: ------ Window Init (DialogBusy.xml) ------
10:53:32 T:1668400584 DEBUG: Window DialogBusy.xml was already loaded
10:53:32 T:1668400584 DEBUG: Alloc resources: 0.01m
10:53:33 T:1730667944 INFO: plugin.video.iplayer: Version: 2.6.3
10:53:33 T:1730667944 INFO: plugin.video.iplayer: Subtitles dir: /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/addon_data/plugin.video.iplayer/Subtitles
10:53:33 T:1730667944 INFO: plugin.video.iplayer: (None, 'categories', None, 'tv', None, None, None, None, None, None, None, None, None, None)
10:53:33 T:1730667944 INFO: plugin.video.iplayer: URL Fetch took 0.10 sec for http://www.bbc.co.uk/iplayer/ion/categor...format/xml
10:53:34 T:1730667944 NOTICE: Traceback (most recent call last):
10:53:34 T:1730667944 NOTICE: File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 1019, in <module>
10:53:34 T:1730667944 NOTICE: list_categories(tvradio, feed)
10:53:34 T:1730667944 NOTICE: File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 404, in list_categories
10:53:34 T:1730667944 NOTICE: for label, category in feed.categories():
10:53:34 T:1730667944 NOTICE: File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 1053, in categories
10:53:34 T:1730667944 NOTICE: for category in root.iter('category'):
10:53:34 T:1730667944 NOTICE: AttributeError: _ElementInterface instance has no attribute 'iter'
10:53:34 T:1730667944 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: _ElementInterface instance has no attribute 'iter'
Traceback (most recent call last):
File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 1019, in <module>
list_categories(tvradio, feed)
File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 404, in list_categories
for label, category in feed.categories():
File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 1053, in categories
for category in root.iter('category'):
AttributeError: _ElementInterface instance has no attribute 'iter'
-->End of Python script error report<--
Hope I haven't "boobed" by pasting in here as opposed to uploading a full log, and hope it helps any debugging efforts. I could care less whether Categories work or not, though, and I second the complaint about not having an easy way to provide due thanks/reward for your work.
First, please keep in mind that I'm ecstatic about the work you've done, and none of what is missing (for me) bothers me in any way at all.
However, I have now installed v2.6.3 and I still get the "script failed" message when I select "Categories" (everything else works fine).
You asked me for a log, but, initially, I thought I'd paste in just the relevant section (what was generated when I selected "Categories"), to see if that helps at all. I "think", from the rest of my log entries, that I'm using Python 2.6 (any help to update to 2.7 appreciated).
Pasting device and version details first:
10:52:35 T:1668400584 NOTICE: Starting XBMC (13.0-RC1 Git:20140427-2372235). Platform: ARM Android 32-bit
10:52:35 T:1668400584 NOTICE: Using Debug XBMC x32 build, compiled Apr 27 2014 by GCC 4.8.0 for ARM Android 32-bit API level 14
10:52:35 T:1668400584 NOTICE: Running on Android 32-bit API level 16 (Android, 3.1.10-g780994a armv7l)
10:52:35 T:1668400584 NOTICE: Host CPU: ARMv7 Processor rev 9 (v7l), 4 cores available
10:52:35 T:1668400584 NOTICE: Product: ouya_1_1, Device: ouya_1_1, Board: unknown - Manufacturer: OUYA, Brand: OUYA, Model: OUYA Console, Hardware: cardhu
10:52:35 T:1668400584 NOTICE: ARM Features: Neon enabled
ERROR:
10:53:32 T:1730667944 DEBUG: CPythonInvoker(30, /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py): entering source directory /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer
10:53:32 T:1730667944 DEBUG: CPythonInvoker(30, /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py): instantiating addon using automatically obtained id of "plugin.video.iplayer" dependent on version 2.1.0 of the xbmc.python api
10:53:32 T:1668400584 DEBUG: ------ Window Init (DialogBusy.xml) ------
10:53:32 T:1668400584 DEBUG: Window DialogBusy.xml was already loaded
10:53:32 T:1668400584 DEBUG: Alloc resources: 0.01m
10:53:33 T:1730667944 INFO: plugin.video.iplayer: Version: 2.6.3
10:53:33 T:1730667944 INFO: plugin.video.iplayer: Subtitles dir: /storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/addon_data/plugin.video.iplayer/Subtitles
10:53:33 T:1730667944 INFO: plugin.video.iplayer: (None, 'categories', None, 'tv', None, None, None, None, None, None, None, None, None, None)
10:53:33 T:1730667944 INFO: plugin.video.iplayer: URL Fetch took 0.10 sec for http://www.bbc.co.uk/iplayer/ion/categor...format/xml
10:53:34 T:1730667944 NOTICE: Traceback (most recent call last):
10:53:34 T:1730667944 NOTICE: File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 1019, in <module>
10:53:34 T:1730667944 NOTICE: list_categories(tvradio, feed)
10:53:34 T:1730667944 NOTICE: File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 404, in list_categories
10:53:34 T:1730667944 NOTICE: for label, category in feed.categories():
10:53:34 T:1730667944 NOTICE: File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 1053, in categories
10:53:34 T:1730667944 NOTICE: for category in root.iter('category'):
10:53:34 T:1730667944 NOTICE: AttributeError: _ElementInterface instance has no attribute 'iter'
10:53:34 T:1730667944 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: _ElementInterface instance has no attribute 'iter'
Traceback (most recent call last):
File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 1019, in <module>
list_categories(tvradio, feed)
File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/default.py", line 404, in list_categories
for label, category in feed.categories():
File "/storage/sdcard0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 1053, in categories
for category in root.iter('category'):
AttributeError: _ElementInterface instance has no attribute 'iter'
-->End of Python script error report<--
Hope I haven't "boobed" by pasting in here as opposed to uploading a full log, and hope it helps any debugging efforts. I could care less whether Categories work or not, though, and I second the complaint about not having an easy way to provide due thanks/reward for your work.