Kodi Community Forum

Full Version: Log Error Spam xml.etree.ElementTree.Element' object has no attribute 'getiterator'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey All,

I keep seeing the following in my log over and over and was wondering if there's a way to fix. I think this is causing my current issue where through some skins i can't see my playlist list which i can see elsewhere is present on Kodi with working playlists.
Quote:2023-03-22 15:30:25.983 T:1430    error <general>: Traceback (most recent call last):
                                                   
2023-03-22 15:30:25.983 T:1430    error <general>: 
2023-03-22 15:30:25.983 T:1430    error <general>:   File "/storage/.kodi/addons/script.skinshortcuts/resources/lib/library.py", line 971, in playlists
                                                       for line in xmldata.getiterator():
                                                                   ^^^^^^^^^^^^^^^^^^^
                                                   
2023-03-22 15:30:25.983 T:1430    error <general>: 
2023-03-22 15:30:25.983 T:1430    error <general>: AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'
                                                   
2023-03-22 15:30:25.983 T:1430    error <general>: 
2023-03-22 15:30:25.983 T:1430    error <general>: Traceback (most recent call last):
                                                   
2023-03-22 15:30:25.983 T:1430    error <general>: 
2023-03-22 15:30:25.983 T:1430    error <general>:   File "/storage/.kodi/addons/script.skinshortcuts/resources/lib/library.py", line 971, in playlists
                                                       for line in xmldata.getiterator():
                                                                   ^^^^^^^^^^^^^^^^^^^
                                                   
2023-03-22 15:30:25.983 T:1430    error <general>: 
2023-03-22 15:30:25.983 T:1430    error <general>: AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'
                                                   
uninstall or update this https://kodi.tv/addons/matrix/script.skinshortcuts

it is incompatible with your current version of kodi
So i'm running Kodi 20.1 this plugin unfortunately is a dependency of the Skin i'm using 'Titan Bingie Mod' i'm guessing therefore i just have to live with it until it's updated?
so youre telling me that you know it is incompatible but you have to have it installed because a skin needs it; which if it's using an incompatible version of an addon as a dependency also makes it itself incompatible

but you dont want to uninstall or update either and somehow you want the log messages to stop?

try asking someone to update skin shortcuts - https://forum.kodi.tv/showthread.php?tid=178294

or titan bingie mod - https://forum.kodi.tv/showthread.php?tid=355993

because i have no further solutions
I didn't tell you that it was incompatible, you told me Smile