Hello I am getting this error when the plugin is loaded:
error <general>: 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 "/Users/pablomuri/Library/Application Support/Kodi/addons/plugin.video.torrest/service.py", line 3, in <module>
from lib.kodi import ADDON_DATA
File "/Users/pablomuri/Library/Application Support/Kodi/addons/plugin.video.torrest/lib/kodi.py", line 21, in <module>
ADDON_DATA = assure_unicode(xbmc.translatePath(ADDON.getAddonInfo("profile")))
^^^^^^^^^^^^^^^^^^
AttributeError: module 'xbmc' has no attribute 'translatePath'
-->End of Python script error report<--
Hello I am getting this error when the plugin is loaded:
It seems that the translatePath method was finally removed after having been reprecated.
Thanks!