plugin.video.vtm.go
plugin.video.vtm.go copied to clipboard
1.3.0+matrix.1 - IndexError: list index out of range
Describe the bug IndexError: list index out of range in vtmgoauth.py", line 154, in get_tokens
To Reproduce Steps to reproduce the behavior:
- Install the addon from repository
- login using login2.vtm.be/androidtv
- Launch addon
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Logs Add debug logs to help troubleshoot the issue. See https://kodi.wiki/view/Log_file/Easy for more info.
System
- Addon version: 1.3.0+matrix.1
- Kodi version: 19.3.0
- Inputstream adaptive version: 0.5.8
- Operating System (Windows / Mac OS / Android / LibreElec / OSMC / ...): Libreelec
- Special Hardware (RPI / Vero4K+ / ...): RPI 4
Additional context Add any other context about the problem here.
2022-02-26 00:22:27.977 T:1091 INFO
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.vtm.go/addon_entry.py", line 18, in
run(argv) File "/storage/.kodi/addons/plugin.video.vtm.go/resources/lib/addon.py", line 179, in run routing.run(params) File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 130, in run self._dispatch(self.path) File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 141, in _dispatch view_func(**kwargs) File "/storage/.kodi/addons/plugin.video.vtm.go/resources/lib/addon.py", line 22, in index if auth.get_tokens(): File "/storage/.kodi/addons/plugin.video.vtm.go/resources/lib/vtmgo/vtmgoauth.py", line 154, in get_tokens self._account.profile = profiles[0].key IndexError: list index out of range -->End of Python script error report<-- 2022-02-26 00:22:29.511 T:1091 INFO : Python interpreter stopped 2022-02-26 00:22:29.525 T:1090 ERROR : GetDirectory - Error getting plugin://plugin.video.vtm.go/ 2022-02-26 00:22:29.527 T:934 ERROR : CGUIMediaWindow::GetDirectory(plugin://plugin.video.vtm.go/) failed
Is it possible that you have no profile yet? You should login on the website first and follow the steps. I'll probably need to add a check for this.
This was indeed the issue. I had an account on VTMgo but no profile. Thanks, problem solved now.