De link eu tive uma solução:
No arquivo /usr/share/subdownloader/gui/main.py
:
Comente a linha 1143, descomente as quatro próximas linhas.
Patch:
--- /usr/share/subdownloader/gui/main.py.orig 2016-01-15 20:04:50.880252934 +0100
+++ /usr/share/subdownloader/gui/main.py 2016-01-15 20:05:04.380514034 +0100
@@ -1140,11 +1140,11 @@
if not skip_all:
log.debug("Downloading subtitle '%s'" % destinationPath)
#print {sub.getIdFileOnline():destinationPath}
- osHttpRequests.download('http://www.opensubtitles.org/en/download/file/%s.gz' %sub.getIdFileOnline(), destinationPath)
- #if self.OSDBServer.DownloadSubtitles({sub.getIdFileOnline():destinationPath}):
- #success_downloaded += 1
- #else:
- #QMessageBox.about(self.window,_("Error"),_("Unable to download subtitle %s") %sub.getFileName())
+ #osHttpRequests.download('http://www.opensubtitles.org/en/download/file/%s.gz' %sub.getIdFileOnline(), destinationPath)
+ if self.OSDBServer.DownloadSubtitles({sub.getIdFileOnline():destinationPath}):
+ success_downloaded += 1
+ else:
+ QMessageBox.about(self.window,_("Error"),_("Unable to download subtitle %s") %sub.getFileName())
except Exception, e:
traceback.print_exc(e)
QMessageBox.about(self.window,_("Error"),_("Unable to download subtitle %s") % sub.getFileName())