Broken Autosubs not working.
#1
If I search for subtitles manually it downloads AOK. I'm using my own login credentials for subtitles.org

I see a pop-up on boot saying to check the log. I switched on debugging. Rebooted twice.

https://paste.kodi.tv/iboceroxen.kodi
Reply
#2
I think the issue is the addon, looking at your logs:

2024-04-04 22:32:30.073 T:2956 info <general>: CAddonMgr::FindAddons: service.autosubs v1.1.1 installed

2024-04-04 22:32:45.365 T:3092 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 "/home/osmc/.kodi/addons/service.autosubs/default.py", line 3, in <module>
from resources.lib.autosubs import *
File "/home/osmc/.kodi/addons/service.autosubs/resources/lib/autosubs.py", line 14, in <module>
__cwd__ = xbmc.translatePath(__addon__.getAddonInfo('path'))
AttributeError: module 'xbmc' has no attribute 'translatePath'
-->End of Python script error report<--
Looking at code for Nexus per:

https://kodi.tv/addons/nexus/service.autosubs/

points to:

https://github.com/amet/service.autosubs

Source:

https://github.com/amet/service.autosubs...utosubs.py

The line shows:

__cwd__ = xbmcvfs.translatePath(__addon__.getAddonInfo('path'))

This is different than the line shown in the error.

Looks like maybe you have a different "service.autosubs" installed?

You probably need to install this version instead.
Reply
#3
I'm just using the one in the official repository. How do I get it updated?
Reply
#4
The issues area of the repository seems to indicate this module may not be updated in official Kosi addons:

https://github.com/amet/service.autosubs/issues/50

Specific to your error:

https://github.com/amet/service.autosubs/issues/49

Yet the source code here shows the fix for this error in the code.

So maybe directly getting a zip from the repository might work.

But also there is a note that the service may end at the end of the year.
Reply

Logout Mark Read Team Forum Stats Members Help
Autosubs not working.0