Yeah, working good :)
1st time to patch python script...
On Thu, Jan 7, 2016, 08:32 Mauricio Farell Perezgrovas <
<email address hidden>> wrote:
> The patch from Richard solved the problem for me too, thank you Richard!
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1264365).
> https://bugs.launchpad.net/bugs/790753
>
> Title:
> subdownloader ubuntu Error "Unable to download subtitle abc.srt"
>
> Status in SubDownloader:
> New
>
> Bug description:
> I always get this error when I try to download a subtitle. It happened
> suddenly when I was updating my system.
> The error I get is "Unable to download subtitle abc.srt" and if I run
> Subdownloader in terminal with this command "subdownloader -d" then the
> error output is after I press download:
>
> [15:43] DEBUG::subdownloader.gui.main # Downloading to:
> u'/home/siggihp/Downloads/Cougar.Town.S02E21E22.HDTV.XviD-LOL.srt'
> [15:43] DEBUG::subdownloader.gui.main # Trying to download subtitle
> '/home/siggihp/Downloads/Cougar.Town.S02E21E22.HDTV.XviD-LOL.srt'
> [15:43] DEBUG::subdownloader.gui.main # Downloading subtitle
> '/home/siggihp/Downloads/Cougar.Town.S02E21E22.HDTV.XviD-LOL.srt'
> [15:43] DEBUG::subdownloader.httpsearch.OSHttpSearch # Downloading
> subtitle from url:
> http://www.opensubtitles.org/en/download/file/1952866062.gz
> [15:43] DEBUG::subdownloader.httpsearch.OSHttpSearch # Unpacking and
> savinng to: /home/siggihp/Downloads/Cougar.Town.S02E21E22.HDTV.XviD-LOL.srt
> Traceback (most recent call last):
> File "/usr/share/subdownloader/gui/main.py", line 1126, in
> onButtonDownload
> osHttpRequests.download('
> http://www.opensubtitles.org/en/download/file/%s.gz'
> %sub.getIdFileOnline(), destinationPath)
> File "/usr/share/subdownloader/modules/OSHttpRequests.py", line 72, in
> download
> self.unpack_subtitle(gz_path, local_path)
> File "/usr/share/subdownloader/modules/OSHttpRequests.py", line 51, in
> unpack_subtitle
> fileContent = fileObj.readlines();
> File "/usr/lib/python2.7/gzip.py", line 446, in readline
> c = self.read(readsize)
> File "/usr/lib/python2.7/gzip.py", line 252, in read
> self._read(readsize)
> File "/usr/lib/python2.7/gzip.py", line 287, in _read
> self._read_gzip_header()
> File "/usr/lib/python2.7/gzip.py", line 181, in _read_gzip_header
> raise IOError, 'Not a gzipped file'
> IOError: Not a gzipped file
>
> I've already tried to download subdownloader and install it again, but
> I'm only able to find the latest version and that's the one that seems
> corrupted.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/subdownloader/+bug/790753/+subscriptions
>
--
Filip Oščádal, mobile
system architect
ATELIER\L SKKP-BRNO
Yeah, working good :)
1st time to patch python script...
On Thu, Jan 7, 2016, 08:32 Mauricio Farell Perezgrovas <
<email address hidden>> wrote:
> The patch from Richard solved the problem for me too, thank you Richard! /bugs.launchpad .net/bugs/ 790753 subdownloader. gui.main # Downloading to: siggihp/ Downloads/ Cougar. Town.S02E21E22. HDTV.XviD- LOL.srt' subdownloader. gui.main # Trying to download subtitle siggihp/ Downloads/ Cougar. Town.S02E21E22. HDTV.XviD- LOL.srt' subdownloader. gui.main # Downloading subtitle siggihp/ Downloads/ Cougar. Town.S02E21E22. HDTV.XviD- LOL.srt' subdownloader. httpsearch. OSHttpSearch # Downloading www.opensubtitl es.org/ en/download/ file/1952866062 .gz subdownloader. httpsearch. OSHttpSearch # Unpacking and Downloads/ Cougar. Town.S02E21E22. HDTV.XviD- LOL.srt subdownloader/ gui/main. py", line 1126, in download( ' www.opensubtitl es.org/ en/download/ file/%s. gz' nline() , destinationPath) subdownloader/ modules/ OSHttpRequests. py", line 72, in subtitle( gz_path, local_path) subdownloader/ modules/ OSHttpRequests. py", line 51, in readlines( ); python2. 7/gzip. py", line 446, in readline python2. 7/gzip. py", line 252, in read readsize) python2. 7/gzip. py", line 287, in _read gzip_header( ) python2. 7/gzip. py", line 181, in _read_gzip_header /bugs.launchpad .net/subdownloa der/+bug/ 790753/ +subscriptions
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1264365).
> https:/
>
> Title:
> subdownloader ubuntu Error "Unable to download subtitle abc.srt"
>
> Status in SubDownloader:
> New
>
> Bug description:
> I always get this error when I try to download a subtitle. It happened
> suddenly when I was updating my system.
> The error I get is "Unable to download subtitle abc.srt" and if I run
> Subdownloader in terminal with this command "subdownloader -d" then the
> error output is after I press download:
>
> [15:43] DEBUG::
> u'/home/
> [15:43] DEBUG::
> '/home/
> [15:43] DEBUG::
> '/home/
> [15:43] DEBUG::
> subtitle from url:
> http://
> [15:43] DEBUG::
> savinng to: /home/siggihp/
> Traceback (most recent call last):
> File "/usr/share/
> onButtonDownload
> osHttpRequests.
> http://
> %sub.getIdFileO
> File "/usr/share/
> download
> self.unpack_
> File "/usr/share/
> unpack_subtitle
> fileContent = fileObj.
> File "/usr/lib/
> c = self.read(readsize)
> File "/usr/lib/
> self._read(
> File "/usr/lib/
> self._read_
> File "/usr/lib/
> raise IOError, 'Not a gzipped file'
> IOError: Not a gzipped file
>
> I've already tried to download subdownloader and install it again, but
> I'm only able to find the latest version and that's the one that seems
> corrupted.
>
> To manage notifications about this bug go to:
> https:/
>
--
Filip Oščádal, mobile
system architect
ATELIER\L SKKP-BRNO