[Pkg-privacy-maintainers] Bug#832542: mat: unable to clean docx files of metadata

Jeremiah spam at pdp10.guru
Tue Jul 26 17:25:19 UTC 2016

Package: mat
Version: 0.5.2-3
Severity: important

Dear Maintainer,

   * What led up to the situation?

While attempting to scrub metadata from some documents, I recieved the following error:
Traceback (most recent call last):
  File "/usr/bin/mat-gui", line 423, in __mat_clean
    elif self.liststore[line][0].file.remove_all():
  File "/usr/lib/python2.7/dist-packages/MAT/office.py", line 80, in remove_all
    beginning_blacklist=('docProps/'), whitelist=('.rels'))
  File "/usr/lib/python2.7/dist-packages/MAT/archive.py", line 180, in remove_all
    zipout.write(path, item.filename)
  File "/usr/lib/python2.7/zipfile.py", line 1135, in write
    zinfo = ZipInfo(arcname, date_time)
  File "/usr/lib/python2.7/zipfile.py", line 305, in __init__
    raise ValueError('ZIP does not support timestamps before 1980')
ValueError: ZIP does not support timestamps before 1980

Which resulted in the metadata not being removed from the .docx file

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mat depends on:
ii  python                 2.7.9-1
ii  python-gi              3.14.0-1
ii  python-hachoir-core    1.3.3-4
ii  python-hachoir-parser  1.3.4-2

Versions of packages mat recommends:
ii  gir1.2-poppler-0.18     0.26.5-2+deb8u1
ii  libimage-exiftool-perl  9.74-1
ii  python-gi-cairo         3.14.0-1
ii  python-mutagen          1.25.1-1
ii  python-nautilus         1.1-4
ii  python-pdfrw            0.1-3

mat suggests no packages.

-- no debconf information

More information about the Pkg-privacy-maintainers mailing list