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

intrigeri intrigeri at debian.org
Tue Jul 26 18:39:49 UTC 2016

Control: severity -1 normal
Control: tag -1 + moreinfo
Control: retitle -1 mat: unable to clean a given docx file of metadata


> 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

Can you please share one such file (possibly privately, possibly
encrypted to my OpenPGP public key or to upstream's), so that we can
reproduce the bug?

Can you retry with mat from testing/sid? IIRC there have been some
bugfixes in this area.


More information about the Pkg-privacy-maintainers mailing list