Hi there,
Since updating my Rasp to Gotham I have been unable to download subs. Tried deleting the services and settings, reinstalling, tinkering with the settings in the video submenu but alas, no such luck. XBMC does find the relevant subtitle, but produces an error while downloading.
Debug xbmc.log:
http://xbmclogs.com/show.php?id=197218
Any ideas?
Oh, and the Rasp is on OpenElec 4.0 (if that's of any help).
Some funky stuff going on around here:
Code:
946.22:06:55 T:2529162320 DEBUG: ### [__main__] - Fetching subtitles using url 'http://subscene.com/subtitle/download?mac=_ucRqBvXu7q3uJq1Btm8hlbLF_YeiqKwsB62_ws6DQFvFuPu5fcRZa5XioA8hoph0' with referer header 'http://subscene.com/subtitles/anger-management-second-season/english/769109' and post parameters '__EVENTARGUMENT=&typeId=zip&__VIEWSTATE=0&subtitleId=0&filmId=0&__EVENTTARGET=s%24lc%24bcr%24downloadLink&__PREVIOUSPAGE=0'
947.22:06:55 T:2529162320 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
948. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
949. Error Type: <type 'exceptions.OSError'>
950. Error Contents: [Errno 2] No such file or directory: '/storage/.xbmc/userdata/addon_data/service.subtitles.subscene/temp'
951. Traceback (most recent call last):
952. File "/storage/.xbmc/addons/service.subtitles.subscene/service.py", line 422, in <module>
953. subs = download(params["link"])
954. File "/storage/.xbmc/addons/service.subtitles.subscene/service.py", line 294, in download
955. shutil.rmtree(__temp__)
956. File "/home/stephan/projects/openelec-4.0/build.OpenELEC-RPi.arm-4.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/shutil.py", line 237, in rmtree
957. File "/home/stephan/projects/openelec-4.0/build.OpenELEC-RPi.arm-4.0.0/Python-2.7.3/.install_pkg/usr/lib/python2.7/shutil.py", line 235, in rmtree
958. OSError: [Errno 2] No such file or directory: '/storage/.xbmc/userdata/addon_data/service.subtitles.subscene/temp'
Line 917 looks kinda weird too...
Thank you for the reply. However thuis is nog a bug with subscene, as all plugins give the same error. Subscene is just an example, others behalve the same.[/align]
All your addons have same issue, it's a global problem and not subtitle one.
See lastfm plugin on top of the log, same issue.
See if the mentioned folders exist and if not, why not?... Fixing that will fix all
Hey , thanks for noticing the parralel with Last FM.
Actually, the mentioned folders don't exist, but that's because I'm using patsubstitution for the addon data, so it shouldn't look for them locally.
But I'll try disabling ps for the addon data, reinstalling and seeing what that does.
path substitution is a bad idea for addons, we have mentioned that many many times. its only intended to help out with databases.