Ubuntu Pastebin

Paste from didrocks at Thu, 27 Aug 2015 08:28:22 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
new_fd = gzip.GzipFile(fileobj=fd)
fd = new_fd
archive = tarfile.open(fileobj=fd)

Traceback (most recent call last):
  File "/home/didrocks/work/ubuntu-make/umake/decompressor.py", line 96, in _decompress
    archive = tarfile.open(fileobj=fd)
  File "/usr/lib/python3.4/tarfile.py", line 1553, in open
    return func(name, "r", fileobj, **kwargs)
  File "/usr/lib/python3.4/tarfile.py", line 1601, in taropen
    return cls(name, mode, fileobj, **kwargs)
  File "/usr/lib/python3.4/tarfile.py", line 1475, in __init__
    self.firstmember = self.next()
  File "/usr/lib/python3.4/tarfile.py", line 2260, in next
    tarinfo = self.tarinfo.fromtarfile(self)
  File "/usr/lib/python3.4/tarfile.py", line 1087, in fromtarfile
    buf = tarfile.fileobj.read(BLOCKSIZE)
  File "/usr/lib/python3.4/gzip.py", line 365, in read
    if not self._read(readsize):
  File "/usr/lib/python3.4/gzip.py", line 433, in _read
    if not self._read_gzip_header():
  File "/usr/lib/python3.4/gzip.py", line 297, in _read_gzip_header
    raise OSError('Not a gzipped file')
OSError: Not a gzipped file
Download as text