Skip to content

Conversation

conan747
Copy link

I was getting this:

2020-05-13 23:31:05.726 T:1437594336 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/script.service.kodi.callbacks/resources/lib/publishers/player.py", line 331, in onPlayBackStarted
self.getInfo()
File "/home/osmc/.kodi/addons/script.service.kodi.callbacks/resources/lib/publishers/player.py", line 267, in getInfo
playerid = player['result'][0]['playerid']
IndexError: list index out of range
-->End of Python script error report<--

I was getting this:

2020-05-13 23:31:05.726 T:1437594336   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/script.service.kodi.callbacks/resources/lib/publishers/player.py", line 331, in onPlayBackStarted
                                                self.getInfo()
                                              File "/home/osmc/.kodi/addons/script.service.kodi.callbacks/resources/lib/publishers/player.py", line 267, in getInfo
                                                playerid = player['result'][0]['playerid']
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
pikim added a commit to pikim/script.service.kodi.callbacks that referenced this pull request Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant