xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 44 forks source link

UnboundLocalError: local variable 'start_cmd' referenced before assignment #727

Open bellini666 opened 9 years ago

bellini666 commented 9 years ago

On rpi2 using stable + staging repositories, I found this on my kodi.log:

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 'start_cmd' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/usr/local/share/kodi/addons/script.service.xbian.upstart-bridge/service.py", line 205, in <module>
                                                service = UpstartBridge()
                                              File "/usr/local/share/kodi/addons/script.service.xbian.upstart-bridge/service.py", line 25, in __init__
                                                self._notify_xbmc_loaded()
                                              File "/usr/local/share/kodi/addons/script.service.xbian.upstart-bridge/service.py", line 79, in _notify_xbmc_loaded
                                                log('dummy action. xbmc-loaded would be called. : %s' % ' '.join(start_cmd), xbmc.LOGDEBUG)
                                            UnboundLocalError: local variable 'start_cmd' referenced before assignment
                                            -->End of Python script error report<--
CurlyMoo commented 9 years ago

To all xbian-config-xbmc error reports. The package is not being maintained at the moment. Until someone can pick it up again, we can't do anything with the errors.