Testing Kodi Nexus v20 Alpha on Apple TV 4K (2021) and script.toolbox does not work. It causes the error shown below from log. I found a similar sounding issue here that may help: https://forum.libreelec.tv/thread/24883-official-francetv-add-on-bug-in-le11-nightly-attributeerror-module-xbmc-has-no-a/.
If you think this actually an issue with the Kodi Alpha, please let me know so I can open this issue there for the Kodi devs. Thanks.
2022-06-18 08:19:56.440 T:2349185 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: module 'xbmc' has no attribute 'translatePath'
Traceback (most recent call last):
File "/private/var/mobile/Containers/Data/Application/5CB2D904-DD77-4357-9320-FFD0C0D02C0D/Library/Caches/Kodi/addons/script.toolbox/default.py", line 6, in
from resources.lib.Utils import *
File "/private/var/mobile/Containers/Data/Application/5CB2D904-DD77-4357-9320-FFD0C0D02C0D/Library/Caches/Kodi/addons/script.toolbox/resources/lib/Utils.py", line 16, in
ADDON_DATA_PATH = os.path.join(xbmc.translatePath("special://profile/addon_data/%s" % ADDON_ID))
AttributeError: module 'xbmc' has no attribute 'translatePath'
-->End of Python script error report<--
Testing Kodi Nexus v20 Alpha on Apple TV 4K (2021) and script.toolbox does not work. It causes the error shown below from log. I found a similar sounding issue here that may help: https://forum.libreelec.tv/thread/24883-official-francetv-add-on-bug-in-le11-nightly-attributeerror-module-xbmc-has-no-a/.
If you think this actually an issue with the Kodi Alpha, please let me know so I can open this issue there for the Kodi devs. Thanks.
2022-06-18 08:19:56.440 T:2349185 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: module 'xbmc' has no attribute 'translatePath'
Traceback (most recent call last):
File "/private/var/mobile/Containers/Data/Application/5CB2D904-DD77-4357-9320-FFD0C0D02C0D/Library/Caches/Kodi/addons/script.toolbox/default.py", line 6, in
from resources.lib.Utils import *
File "/private/var/mobile/Containers/Data/Application/5CB2D904-DD77-4357-9320-FFD0C0D02C0D/Library/Caches/Kodi/addons/script.toolbox/resources/lib/Utils.py", line 16, in
ADDON_DATA_PATH = os.path.join(xbmc.translatePath("special://profile/addon_data/%s" % ADDON_ID))
AttributeError: module 'xbmc' has no attribute 'translatePath'
-->End of Python script error report<--