You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When restarting VTM, an error is presented: VTM GO has encountered an error. I can start VTM GO without any issue but when I watch something else and then go back to VTM GO I encounter the error. To solve the error I have to restart Kodi. That way I can open the VTM GO addon again 'for the first time'.
To Reproduce
Steps to reproduce the behavior:
Start VTMGO addon
Exit VTMGO addon and go back to main menu
Start VTMGO addon
Logs
Add debug logs to help troubleshoot the issue. See https://kodi.wiki/view/Log_file/Easy for more info.
2024-05-24 17:23:31.094 T:1958 info : Skipped 3 duplicate messages..
2024-05-24 17:23:31.094 T:1958 error : Control 50 in window 10025 has been asked to focus, but it can't
2024-05-24 17:23:31.283 T:2776 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: PyO3 modules may only be initialized once per interpreter process
Traceback (most recent call last):
File "/home/koen/.kodi/addons/plugin.video.vtm.go/addon_entry.py", line 17, in
from resources.lib.addon import run
File "/home/koen/.kodi/addons/plugin.video.vtm.go/resources/lib/addon.py", line 11, in
from resources.lib.vtmgo.vtmgoauth import VtmGoAuth
File "/home/koen/.kodi/addons/plugin.video.vtm.go/resources/lib/vtmgo/vtmgoauth.py", line 20, in
import pyjwt as jwt
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/init.py", line 1, in
from .api_jwk import PyJWK, PyJWKSet
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/api_jwk.py", line 7, in
from .algorithms import get_default_algorithms, has_crypto, requires_cryptography
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/algorithms.py", line 12, in
from .utils import (
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/utils.py", line 7, in
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
File "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py", line 11, in
from cryptography.hazmat._oid import ObjectIdentifier
File "/usr/lib/python3/dist-packages/cryptography/hazmat/_oid.py", line 7, in
from cryptography.hazmat.bindings._rust import (
ImportError: PyO3 modules may only be initialized once per interpreter process
-->End of Python script error report<--
Describe the bug
When restarting VTM, an error is presented: VTM GO has encountered an error. I can start VTM GO without any issue but when I watch something else and then go back to VTM GO I encounter the error. To solve the error I have to restart Kodi. That way I can open the VTM GO addon again 'for the first time'.
To Reproduce
Steps to reproduce the behavior:
Logs
Add debug logs to help troubleshoot the issue. See https://kodi.wiki/view/Log_file/Easy for more info.
2024-05-24 17:23:31.094 T:1958 info : Skipped 3 duplicate messages..
2024-05-24 17:23:31.094 T:1958 error : Control 50 in window 10025 has been asked to focus, but it can't
2024-05-24 17:23:31.283 T:2776 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: PyO3 modules may only be initialized once per interpreter process
Traceback (most recent call last):
File "/home/koen/.kodi/addons/plugin.video.vtm.go/addon_entry.py", line 17, in
from resources.lib.addon import run
File "/home/koen/.kodi/addons/plugin.video.vtm.go/resources/lib/addon.py", line 11, in
from resources.lib.vtmgo.vtmgoauth import VtmGoAuth
File "/home/koen/.kodi/addons/plugin.video.vtm.go/resources/lib/vtmgo/vtmgoauth.py", line 20, in
import pyjwt as jwt
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/init.py", line 1, in
from .api_jwk import PyJWK, PyJWKSet
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/api_jwk.py", line 7, in
from .algorithms import get_default_algorithms, has_crypto, requires_cryptography
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/algorithms.py", line 12, in
from .utils import (
File "/home/koen/.kodi/addons/script.module.pyjwt/lib/pyjwt/utils.py", line 7, in
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
File "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py", line 11, in
from cryptography.hazmat._oid import ObjectIdentifier
File "/usr/lib/python3/dist-packages/cryptography/hazmat/_oid.py", line 7, in
from cryptography.hazmat.bindings._rust import (
ImportError: PyO3 modules may only be initialized once per interpreter process
-->End of Python script error report<--
2024-05-24 17:23:31.334 T:2775 error : GetDirectory - Error getting plugin://plugin.video.vtm.go/
2024-05-24 17:23:31.342 T:1958 error : CGUIMediaWindow::GetDirectory(plugin://plugin.video.vtm.go/) failed
System
The text was updated successfully, but these errors were encountered: