VTM GO does not launch
Opened this issue · 0 comments
Describe the bug
AddOn VTM Go does not launch anymore since a few days, due to an error, registered on the Kodi log.
To Reproduce
Steps to reproduce the behavior:
- Launch Kodi
- Launch AddOn VTM Go
Expected behavior
You get the menu of VTM GO
Logs
2024-05-09 20:51:20.241 T:12852 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'resources.lib.vtmgo.exceptions.InvalidTokenException'>
Error Contents: 401 Client Error: Unauthorized for url: https://lfvp-api.dpgmedia.net/VTM_GO/tokens/refresh
Traceback (most recent call last):
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\plugin.video.vtm.go\resources\lib\vtmgo\util.py", line 77, in http_post
return _request('POST', url=url, params=params, form=form, data=data, token=token, profile=profile, headers=headers)
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\plugin.video.vtm.go\resources\lib\vtmgo\util.py", line 184, in _request
response.raise_for_status()
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://lfvp-api.dpgmedia.net/VTM_GO/tokens/refresh
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\plugin.video.vtm.go\addon_entry.py", line 19, in <module>
run(argv)
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\plugin.video.vtm.go\resources\lib\addon.py", line 186, in run
routing.run(params)
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 130, in run
self._dispatch(self.path)
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 141, in _dispatch
view_func(**kwargs)
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\plugin.video.vtm.go\resources\lib\addon.py", line 22, in index
if auth.get_tokens():
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\plugin.video.vtm.go\resources\lib\vtmgo\vtmgoauth.py", line 145, in get_tokens
response = util.http_post('https://lfvp-api.dpgmedia.net/VTM_GO/tokens/refresh', data={
File "C:\Users\pborr\AppData\Roaming\Kodi\addons\plugin.video.vtm.go\resources\lib\vtmgo\util.py", line 80, in http_post
raise InvalidTokenException(exc)
resources.lib.vtmgo.exceptions.InvalidTokenException: 401 Client Error: Unauthorized for url: https://lfvp-api.dpgmedia.net/VTM_GO/tokens/refresh
-->End of Python script error report<--
System
- Addon version: 1.4.4
- Kodi version: Kodi (20.2 (20.2.0) Git:20230629-5f418d0b13)
- Inputstream adaptive version :inputstream.adaptive v20.3.18 installed
- Operating System (Windows / Mac OS / Android / LibreElec / OSMC / ...): Windows Home 10 X64
- Special Hardware (RPI / Vero4K+ / ...):
Additional context
Add any other context about the problem here.