• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 7
Release service.subtitles.subdivx -- Spanish subtitles from Subdivx.com
#46
@laope

I've just tested it downloading subtitles for a movie successfully.

It's impossible to even start thinking about doing something with a report like yours: Zero details, shorter than a tweet.

Please don't do that because you waste both your time and my time.
Reply
#47
Version 0.2 isn't working for me recently (possibly broken post Kodi upgrade), it just shows a script error on the screen, manual search does not work either.

A snip from the kodi.log shows:

Code:
08:04:22 T:1801304896   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "/home/kodi/.kodi/addons/service.subtitles.subdivx/service.py", line 571, in <module>
                                                main()
                                              File "/home/kodi/.kodi/addons/service.subtitles.subdivx/service.py", line 541, in main
                                                Search(item)
                                              File "/home/kodi/.kodi/addons/service.subtitles.subdivx/service.py", line 271, in Search
                                                searchstring = "%s S%#02dE%#02d" % (tvshow, int(season), int(episode))
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--
08:04:22 T:1843174208   ERROR: GetDirectory - Error getting plugin://service.subtitles.subdivx/?action=search&languages=English&preferredlanguage=English
Reply
#48
Further research shows it just wasn't working with iStream TV/Films, the same happened with other subtitle services - it looks like the search string isn't being passed from iStream properly
Reply
#49
How about some further research into banned add-ons (wiki) and discussion on them being a violation of the forum rules (wiki)?
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#50
I'm currently using kodi 18, I know that it is still on Alpha state, and wanted to report that the addon is having issues unpacking subtitles, the other addons for subtitles work, only the subdvix addon is having this issue.


11:51:51.754 T:547170407488 NOTICE: SUBDIVX - Version: 0.2.5 -- Action: download
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - xbmc.translatePath(__addon__.getAddonInfo('profile')) (<type 'str'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - __profile__ (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.761 T:547170407488 DEBUG: SUBDIVX - workdir (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/
11:51:51.762 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/X6XMTIwNTM0X-the-terminator-1984
11:51:51.912 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.043 T:547170407488 WARNING: SUBDIVX - Download: Intermediate detail page for selected subtitle or expected content not found. Handling it as final download page
11:51:52.044 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/bajar.php?id=120534&u=2
11:51:52.090 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.565 T:547170407488 DEBUG: Previous line repeats 2 times.
11:51:52.565 T:547170407488 DEBUG: SUBDIVX - _save_subtitles: Saving subtitles to '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/subdivx.rar'
11:51:52.582 T:547655652416 ERROR: Extract, No archive given
11:51:52.583 T:547170407488 SEVERE: SUBDIVX - _handle_compressed_subs: Failed to unpack subtitles
Reply
#51
(2017-06-02, 20:02)abescalamis Wrote: I'm currently using kodi 18, I know that it is still on Alpha state, and wanted to report that the addon is having issues unpacking subtitles, the other addons for subtitles work, only the subdvix addon is having this issue.


11:51:51.754 T:547170407488 NOTICE: SUBDIVX - Version: 0.2.5 -- Action: download
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - xbmc.translatePath(__addon__.getAddonInfo('profile')) (<type 'str'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - __profile__ (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.761 T:547170407488 DEBUG: SUBDIVX - workdir (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/
11:51:51.762 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/X6XMTIwNTM0X-the-terminator-1984
11:51:51.912 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.043 T:547170407488 WARNING: SUBDIVX - Download: Intermediate detail page for selected subtitle or expected content not found. Handling it as final download page
11:51:52.044 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/bajar.php?id=120534&u=2
11:51:52.090 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.565 T:547170407488 DEBUG: Previous line repeats 2 times.
11:51:52.565 T:547170407488 DEBUG: SUBDIVX - _save_subtitles: Saving subtitles to '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/subdivx.rar'
11:51:52.582 T:547655652416 ERROR: Extract, No archive given
11:51:52.583 T:547170407488 SEVERE: SUBDIVX - _handle_compressed_subs: Failed to unpack subtitles

¿Seguís con este problema o se solucionó con algún build o alpha posterior de Kodi 18?
Reply
#52
(2017-07-09, 03:11)cramm Wrote:
(2017-06-02, 20:02)abescalamis Wrote: I'm currently using kodi 18, I know that it is still on Alpha state, and wanted to report that the addon is having issues unpacking subtitles, the other addons for subtitles work, only the subdvix addon is having this issue.


11:51:51.754 T:547170407488 NOTICE: SUBDIVX - Version: 0.2.5 -- Action: download
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - xbmc.translatePath(__addon__.getAddonInfo('profile')) (<type 'str'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - __profile__ (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.761 T:547170407488 DEBUG: SUBDIVX - workdir (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/
11:51:51.762 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/X6XMTIwNTM0X-the-terminator-1984
11:51:51.912 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.043 T:547170407488 WARNING: SUBDIVX - Download: Intermediate detail page for selected subtitle or expected content not found. Handling it as final download page
11:51:52.044 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/bajar.php?id=120534&u=2
11:51:52.090 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.565 T:547170407488 DEBUG: Previous line repeats 2 times.
11:51:52.565 T:547170407488 DEBUG: SUBDIVX - _save_subtitles: Saving subtitles to '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/subdivx.rar'
11:51:52.582 T:547655652416 ERROR: Extract, No archive given
11:51:52.583 T:547170407488 SEVERE: SUBDIVX - _handle_compressed_subs: Failed to unpack subtitles

¿Seguís con este problema o se solucionó con algún build o alpha posterior de Kodi 18?    

Sigue sin servir, el ultimo alpha que sirvio con este addon fueron los que subieron a principio de Abril, desde entonces sigue sin servir.

**Update as of 01/17/2018*** Just a quick update to inform that it still doesn't work on the latest nightly build.

Short explanation: Kodi changed to Python 3 for Kodi 18.
Reply
#53
(2017-07-10, 19:29)abescalamis Wrote:
(2017-07-09, 03:11)cramm Wrote:
(2017-06-02, 20:02)abescalamis Wrote: I'm currently using kodi 18, I know that it is still on Alpha state, and wanted to report that the addon is having issues unpacking subtitles, the other addons for subtitles work, only the subdvix addon is having this issue.


11:51:51.754 T:547170407488 NOTICE: SUBDIVX - Version: 0.2.5 -- Action: download
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - xbmc.translatePath(__addon__.getAddonInfo('profile')) (<type 'str'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.755 T:547170407488 DEBUG: SUBDIVX - __profile__ (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/
11:51:51.761 T:547170407488 DEBUG: SUBDIVX - workdir (<type 'unicode'>): /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/
11:51:51.762 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/X6XMTIwNTM0X-the-terminator-1984
11:51:51.912 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.043 T:547170407488 WARNING: SUBDIVX - Download: Intermediate detail page for selected subtitle or expected content not found. Handling it as final download page
11:51:52.044 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/bajar.php?id=120534&u=2
11:51:52.090 T:547264394304 DEBUG: CDVDVideoCodecAndroidMediaCodec::GetPicture VC_BUFFER
11:51:52.565 T:547170407488 DEBUG: Previous line repeats 2 times.
11:51:52.565 T:547170407488 DEBUG: SUBDIVX - _save_subtitles: Saving subtitles to '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/subdivx.rar'
11:51:52.582 T:547655652416 ERROR: Extract, No archive given
11:51:52.583 T:547170407488 SEVERE: SUBDIVX - _handle_compressed_subs: Failed to unpack subtitles

¿Seguís con este problema o se solucionó con algún build o alpha posterior de Kodi 18?     

Sigue sin servir, el ultimo alpha que sirvio con este addon fueron los que subieron a principio de Abril, desde entonces sigue sin servir.

**Update as of 01/17/2018*** Just a quick update to inform that it still doesn't work on the latest nightly build.

Short explanation: Kodi changed to Python 3 for Kodi 18. 
 I can confirm that it is still not working. I am not skilled enough so as to debug the inner working. If anyone can comment on how to do so, I may give it a try.

Any help will be welcomed.


Regards
Reply
#54
(2017-06-02, 20:02)abescalamis Wrote: 11:51:51.754 T:547170407488 NOTICE: SUBDIVX - Version: 0.2.5 -- Action: download
11:51:52.044 T:547170407488 DEBUG: SUBDIVX - get_url: Fetching http://www.subdivx.com/bajar.php?id=120534&u=2
11:51:52.565 T:547170407488 DEBUG: Previous line repeats 2 times.
11:51:52.565 T:547170407488 DEBUG: SUBDIVX - _save_subtitles: Saving subtitles to '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subdivx/tmpe3JwH4/subdivx.rar'
11:51:52.582 T:547655652416 ERROR: Extract, No archive given
11:51:52.583 T:547170407488 SEVERE: SUBDIVX - _handle_compressed_subs: Failed to unpack subtitles
As it can be seen from the log excerpts above, we download the compressed subtitles file (RAR in this case) successfully to a temporary directory. then we use a Kodi Python API function (XBMC.Extract) to uncompress it.

What is happening is XBMC.Extract can't open or process that file. Or the temporary file is being removed before it can open it, or it is locked by another running thread concurrently(?). Unfortunately we don't get any extra details from XBMC.Extract, just that cryptic "Extract, no archive given".

This also has been reported on GitHub: https://github.com/ramiro/service.subtit.../issues/33 although it's for the Kodi 15.x as packaged by Ubuntu 16.04 xenial.

I wonder if the compressed file extracting capabilities of XBMC.Extract are crippled in some way when using a Kodi packaged by some Linus distributors.
Reply
#55
(2017-07-10, 19:29)abescalamis Wrote: **Update as of 01/17/2018*** Just a quick update to inform that it still doesn't work on the latest nightly build.

Short explanation: Kodi changed to Python 3 for Kodi 18. 
 This is wrong. Migration to Python 3 is planned for Kodi 19: https://kodi.tv/article/attention-addon-...n-python-3
Reply
#56
(2018-02-24, 04:20)Gaudi Wrote:  I can confirm that it is still not working. I am not skilled enough so as to debug the inner working. If anyone can comment on how to do so, I may give it a try.

Any help will be welcomed. 
Please see https://forum.kodi.tv/showthread.php?tid...pid2707265 

Thanks!
Reply
#57
(2017-06-02, 20:02)abescalamis Wrote: I'm currently using kodi 18, I know that it is still on Alpha state, and wanted to report that the addon is having issues unpacking subtitles, the other addons for subtitles work, only the subdvix addon is having this issue.
Please state your platform (Windows, Linux, Android, etc.)

Thanks!
Reply
#58
(2018-02-24, 04:20)Gaudi Wrote:  I can confirm that it is still not working. I am not skilled enough so as to debug the inner working. If anyone can comment on how to do so, I may give it a try.

Any help will be welcomed.
Please state your platform (Windows, Linux, Android, etc.)

Thanks!
Reply
#59
(2018-02-24, 19:25)cramm Wrote:
(2018-02-24, 04:20)Gaudi Wrote:  I can confirm that it is still not working. I am not skilled enough so as to debug the inner working. If anyone can comment on how to do so, I may give it a try.

Any help will be welcomed.
Please state your platform (Windows, Linux, Android, etc.)

Thanks!

Am using an Android s905 box with LibreELEC 8.90.4.
I have spent some time yesterday going through the Python script trying to debug it, and it seems that .rar compressed files are the culprit as XBMC.Extract is unable to process it as reported elsewhere.
Same addon for downloading zip compressed files works fine.

Tried to get some information on the built in function XBMC.extract, but could not find any.

Downloaded .rar file is present and available. I double checked that with SFTPing into the box.

I have checked the suggested forum threads and bug report at GitHub and apparently a workaround could be to use vfs for accessing the rar downloaded file.

Some info here:
https://forum.kodi.tv/showthread.php?tid=323321

My almost non existant knowledge in Python prevents me from going any further in fixing the Addon.
Reply
#60
I've tested on windows x64 and x32, also nvidia shield tv with the same results.

Actually the kodi team want the addons to be compatible to python 2 and 3 for kodi 18 leia in order for the addon to be in their resository , then kodi 19 will only take python 3.

They also created a support group for addon developers to help with the changes required, it looks like some addon developers said its hard to make it compatible with both python 2 and 3. 

https://forum.kodi.tv/forumdisplay.php?fid=281
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 7

Logout Mark Read Team Forum Stats Members Help
service.subtitles.subdivx -- Spanish subtitles from Subdivx.com1