Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VTM GO encounters an error when restarting the addon (first start is fine) #383

Open
kvdbracht opened this issue May 24, 2024 · 0 comments

Comments

@kvdbracht
Copy link

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:

  1. Start VTMGO addon
  2. Exit VTMGO addon and go back to main menu
  3. 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<--

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

  • Addon version: 1.4.4
  • Kodi version: 20.5.0
  • Inputstream adaptive version: 0.6.1+matrix.1
  • Operating System (Windows / Mac OS / Android / LibreElec / OSMC / ...): Raspberry Pi OS
  • Special Hardware (RPI / Vero4K+ / ...): Raspberry Pi 5
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

No branches or pull requests

1 participant