Comment 1 for bug 790753

Revision history for this message
FatGiant (fatgiant) wrote :

Same here, was working perfectly, after a few subtitles downloaded started giving me the error. Unable to download subtitle...

Running in CLI, this is the result:

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

Ubuntu 11.04