[RELEASE] AutoWidget - Let your widgets work for you!
(2020-04-23, 16:08)FXB78 Wrote:
(2020-04-23, 14:54)drinfernoo Wrote:
(2020-04-23, 10:53)FXB78 Wrote: Hi, I tested 1.5.0 and it didn't seem to like my old shorcuts, so I created them from scratch & the playable items, i.e. Radio now work great! Thanks.

One thing I did notice though... is the ability to edit artwork now broken? It just throws an error now when I go in via Edit Path-> art:icon/thumb Smile  

Oh dang! It shouldn't be... Can you post the error or a log?  
Yeah sure, this is the relevant part from the log:
Code:
2020-04-23 15:03:46.612 T:3522159488  NOTICE: plugin.program.autowidget: [ action: edit ][ path: bbc_iplayer-1587138844.06 ][ group: catchup-1587138825.32 ][ mode: manage ]
2020-04-23 15:03:54.046 T:3522159488   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'label' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.program.autowidget/main.py", line 9, in <module>
                                                router.dispatch(_plugin, _handle, _params)
                                              File "/storage/.kodi/addons/plugin.program.autowidget/resources/lib/common/router.py", line 61, in dispatch
                                                edit.edit_dialog(group, path)
                                              File "/storage/.kodi/addons/plugin.program.autowidget/resources/lib/edit.py", line 390, in edit_dialog
                                                updated = _get_value(edit_def, key)
                                              File "/storage/.kodi/addons/plugin.program.autowidget/resources/lib/edit.py", line 201, in _get_value
                                                options = _get_options(_def, base_key=key, use_thumbs=True)
                                              File "/storage/.kodi/addons/plugin.program.autowidget/resources/lib/edit.py", line 139, in _get_options
                                                if not label:
                                            UnboundLocalError: local variable 'label' referenced before assignment
                                            -->End of Python script error report<--

I have identified the issue and have it fixed locally. I'll push the fix later this evening, probably, as 1.5.1.
Reply


Messages In This Thread
RE: [RELEASE] AutoWidget - Let your widgets work for you! - by drinfernoo - 2020-04-24, 03:33
Suggestion for next version - by justin150 - 2021-03-08, 13:37
Android Shortcuts - by JSAKelley - 2022-01-12, 05:33
RE: Android Shortcuts - by jdig4240 - 2022-01-12, 07:11
RE: Android Shortcuts - by JSAKelley - 2022-01-12, 16:10
RE: Android Shortcuts - by jdig4240 - 2022-01-12, 16:51
RE: Android Shortcuts - by JSAKelley - 2022-01-12, 23:19
Logout Mark Read Team Forum Stats Members Help
[RELEASE] AutoWidget - Let your widgets work for you!1