Subdownloader Linux can't download subtitles

Bug #1529988 reported by Marc on 2015-12-29
76
This bug affects 14 people
Affects Status Importance Assigned to Milestone
SubDownloader
Undecided
Unassigned

Bug Description

Recently from about 15 dec 2015 I can't download subtitles anymore on Linux MInt 17.01. I have tested this also on another machine with Linux Mint 17.03 but problem is the same. I can see the selected subtitles, but I can't download them.
Tested on a HP Dc7900 USDT 3 Ghz, 4GB Mem.

Marc (akabanekuroido) wrote :

Same here using Ubuntu 15.04 64 Bit

Changed in subdownloader:
status: New → Confirmed
Bartłomiej Kamiński (fizyk20) wrote :

I managed to fix this (the GUI version, at least), by changing one line in main.py (attached as a patch)

Filip Oščádal (filip-mxd-cz) wrote :

patch works, thanx!

Marc (akabanekuroido) wrote :

Dear Bartłomiej Kamiński,
I saw and read the patch. I must go to the systemfiles- USR- share- subdownloader and make changes in the main-py file.
Can I just insert the whole patch line text into the main-py file with texteditor?

Pablitox (zitelli-pablo) wrote :

The patch works perfect!!! thank you very much!

Alpha-jet (alpha-jet) wrote :

I confirm as well, the patch works!

for me does not work imbecil that marled my post as double please note that my operation suystem is WINDOES 7 NOT LINUX small observation !

when i try to read the artilce bug....

--- /usr/share/subdownloader/gui/main.py.old 2016-01-02 21:02:44.265094533 +0100
+++ /usr/share/subdownloader/gui/main.py 2016-01-02 21:03:03.807734055 +0100
@@ -1140,7 +1140,7 @@
                    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)
+ self.OSDBServer.DownloadSubtitles({sub.getIdFileOnline():destinationPath})
                         #if self.OSDBServer.DownloadSubtitles({sub.getIdFileOnline():destinationPath}):
                             #success_downloaded += 1
                         #else:

great support guys thanks

KEEP THE OUTSTANDING SUPPORT .
ONE MONTH TO HAVE AN ANSWER THAT IS WRONG

THE PROBLEM IS STILL THE SAME

IT TOOK ME 10 MINUTS TO SOLVE MY PROBLEM

https://www.maketecheasier.com/get-vlc-to-download-subtitles/

I JUST UNINSTALLED THIS CRAP OF PROGRAM AND NOW I USE VLC TO TRANLATE MY FILMS.....FOR FREE !!\

KEEP THE GOOD SUPPORT GUYS I SEE FUTURE IN YOU ALL

henczati (henczati) wrote :

**2.0.18-2 works for me.** (Which might contain the same fix. I did not check.)

Recently, 2.0.18 started to return a dialog of download failure in the GUI.
Instead of the subtitle it downloaded a html page that said that the owner of the page (OpenSubtitles.org) banned the identifier of my browser (subdownloader).
The "Sub Info" button still took me to the right webpage and I could download the subtitle manually.

# Solution #

Then I checked on https://launchpad.net/subdownloader and saw that there is a new source package (2.0.18-2) in the Xenial universe repo.

As it's written in python, the xenial .deb could just work out of the box:
http://packages.ubuntu.com/xenial/subdownloader

To be more safe, I built it for my Trusty from the source.
For the less experienced:
```sh
# add repo definition
echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial universe' | sudo tee -a /etc/apt/sources.list
# update package lists
sudo apt-get update
# install build dependencies
sudo apt-get build-dep subdownloader
# create & go to temp. dir. to build
origdir="`pwd`"; tmpdir="`mktemp -d`"; cd "$tmpdir"
# download, build and generate binary package (no root perm. needed)
apt-get -b source subdownloader
# install the bin. pkg(s)
sudo dpkg -i *.deb
# fix dependency issues if any
sudo apt-get -f install
## cleanup:
# go back
cd "$origdir"
# remove temp. dir. w/ built stuff (if you want to keep the .deb, copy/move it out)
rm -R "$tmpdir"
# remove last repo def. (that we added)
sudo sed -i '$d' /etc/apt/sources.list
```

its not only in linux in widows too i solved the problem i unistalled the stupid thing of programm

> Date: Fri, 19 Feb 2016 22:26:48 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1529988] Re: Subdownloader Linux can't download subtitles
>
> Also: https://bugs.launchpad.net/subdownloader/+bug/1528605
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1532603).
> https://bugs.launchpad.net/bugs/1529988
>
> Title:
> Subdownloader Linux can't download subtitles
>
> Status in SubDownloader:
> Confirmed
>
> Bug description:
> Recently from about 15 dec 2015 I can't download subtitles anymore on Linux MInt 17.01. I have tested this also on another machine with Linux Mint 17.03 but problem is the same. I can see the selected subtitles, but I can't download them.
> Tested on a HP Dc7900 USDT 3 Ghz, 4GB Mem.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/subdownloader/+bug/1529988/+subscriptions

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers