MikeSiLVO/script.skinshortcuts

Button 308 Reset Shortcuts Error

Closed this issue · 1 comments

@anxdpanic Been doing some testing and ran into a bug.

-->Python callback/script returned the following error<--
 - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'DataFunctions' object has no attribute 'labelIDList'
Traceback (most recent call last):
 File "C:\Users\mikes\AppData\Roaming\Kodi\addons\script.skinshortcuts\resources\lib\skinshorcuts\gui.py", line 1472, in onClick
original_label_id_list = self.data_func.labelIDList
AttributeError: 'DataFunctions' object has no attribute 'labelIDList'
-->End of Python script error report<--```

Full Debug Log [HERE](https://paste.kodi.tv/cibuqadixi.kodi)

Thanks again for the work on the script! Don't understand most of it lol

Thanks for testing, and I'm happy to do it!
Should be fixed with 153fae4
New zip available at https://github.com/mikesilvo164/script.skinshortcuts/releases/tag/2.0.0.alpha8

In case you're curious, about a before an after snapshot.
Beyond removing duplicates and refactoring to simplify stuff, these are the before and after numbers from an inspection with a Python IDE.

Before: https://snipboard.io/mv2dAr.jpg
After: 0 across the board 😄