I use my own addon imports python Pillow.
But after updating to recent kodi v22 nightlies, import ERROR like below…
It was OK a few weeks ago nightlies.
(I only use kodi the android version, so I don’t know if this issue is limited to android.)
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class ‘ImportError’>
Error Contents: dlopen failed: library “/data/app/org.xbmc.kodi-NEyIdkrdp9TWCUM9qZqkFg==/lib/arm/lib_imaging.so” not found
Traceback (most recent call last):
File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.style.helper/service.py”, line 4, in <module>
import resources.lib.common as cm
File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.style.helper/resources/lib/common.py”, line 5, in <module>
from PIL import Image
File “/data/user/0/org.xbmc.kodi/cache/apk/assets/addons/script.module.pil/lib/PIL/Image.py”, line 114, in <module>
from . import _imaging as core
File “/data/user/0/org.xbmc.kodi/cache/apk/assets/addons/script.module.pil/lib/PIL/_imaging.py”, line 9, in <module>
__bootstrap__()
File “/data/user/0/org.xbmc.kodi/cache/apk/assets/addons/script.module.pil/lib/PIL/_imaging.py”, line 7, in __bootstrap__
mod = importlib.util.module_from_spec(spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: dlopen failed: library “/data/app/org.xbmc.kodi-NEyIdkrdp9TWCUM9qZqkFg==/lib/arm/lib_imaging.so” not found
–>End of Python script error report<–