Update error on startup

Got a message about an error while checking updates or something when I started my RPi today, hadn’t happened before. Told me to check the log, wasn’t sure which it meant but I found this inside ~/.kodi/temp/kodi.log

14:49:27  46.990475 T:1708549152   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/service.py", line 38, in <module>
                                                m = update_service.Main()
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/update_service.py", line 230, in __init__
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/CompLogger.py", line 61, in wrapper
                                                func(*args, **kwargs)
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/update_service.py", line 267, in _daemon
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/update_service.py", line 507, in position_icon
                                                screen_width  = int(screen_width)
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--

Figured it might help development?

CC @Karnage

Probably already fixed.


Turn on debugging and provide the full logs.

It’s the only way to tell whats going on.