DmitrySandalov / xbmc-repo

Kodi plugin: plays latest news from Russian 1tv
GNU General Public License v2.0
4 stars 3 forks source link

news plugin fails on Android #1

Closed DmitrySandalov closed 9 years ago

DmitrySandalov commented 9 years ago

Plugin fails with Python 2.6 on Android, trace:

22:00:32 T:2062119912   DEBUG: CPythonInvoker(4, /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.1tv-latest-news/addon.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.1tv-latest-news:/data/data/org.xbmc.xbmc/cache/apk/assets/addons/script.module.pil/lib:/data/data/org.xbmc.xbmc/cache/apk/assets/addons/xbmc.debug/:/:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python26.zip:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-dynload
22:00:32 T:2062119912   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: 
                                            Error Contents: _ElementInterface instance has no attribute 'iter'
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.1tv-latest-news/addon.py", line 57, in 
                                                for item in root.iter('item'):
                                            AttributeError: _ElementInterface instance has no attribute 'iter'
                                            -->End of Python script error report<--