mat issueshttps://0xacab.org/mat/mat/-/issues2017-04-06T03:14:25Zhttps://0xacab.org/mat/mat/-/issues/11526IOError when using "--backup"2017-04-06T03:14:25ZgregorIOError when using "--backup"First thank you for the work on "mat" :-)
The "--backup" option throws an IOError
`python2.7 /home/gregor/Downloads/0000/mat.git/mat --backup Photo-2017-03-18-11-21-21_0210.JPG`
```
[*] Cleaning Photo-2017-03-18-11-21-21_0210.JPG
Trac...First thank you for the work on "mat" :-)
The "--backup" option throws an IOError
`python2.7 /home/gregor/Downloads/0000/mat.git/mat --backup Photo-2017-03-18-11-21-21_0210.JPG`
```
[*] Cleaning Photo-2017-03-18-11-21-21_0210.JPG
Traceback (most recent call last):
File "/home/gregor/Downloads/0000/mat.git/mat", line 160, in <module>
main()
File "/home/gregor/Downloads/0000/mat.git/mat", line 152, in main
ret += func(class_file, filename, args.add2archive)
File "/home/gregor/Downloads/0000/mat.git/mat", line 96, in clean_meta
if class_file.remove_all():
File "/home/gregor/Downloads/0000/mat.git/libmat/exiftool.py", line 29, in remove_all
self.create_backup_copy()
File "/home/gregor/Downloads/0000/mat.git/libmat/parser.py", line 54, in create_backup_copy
shutil.copy2(self.filename, os.path.join(self.filename, '.bak'))
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 20] Not a directory: 'Photo-2017-03-18-11-21-21_0210.JPG/.bak'
```
Used Version: cloned from git seconds before, commit feea5a7962c86625d1cb198dcd2de0bc939728a9
Environment:
* Arch Linux (4.10.3-1-ARCH)
* Python 2.7.13https://0xacab.org/mat/mat/-/issues/4423Create a file.ext.bak instead of file.cleaned.ext2017-04-06T03:14:25ZjvoisinCreate a file.ext.bak instead of file.cleaned.extThe MAT produces a new file named file.cleaned.ext when the "backup" option is set to true. Naming the produced file "file.ext" and renaming the original one "file.cleaned.ext" seems to be more intuitive.
*(from redmine: created on 2013...The MAT produces a new file named file.cleaned.ext when the "backup" option is set to true. Naming the produced file "file.ext" and renaming the original one "file.cleaned.ext" seems to be more intuitive.
*(from redmine: created on 2013-07-14, closed on 2013-10-04)*https://0xacab.org/mat/mat/-/issues/4425Support Microsoft Office < 2007 filetypes2017-04-06T03:14:25ZjvoisinSupport Microsoft Office < 2007 filetypesSupporting those inaneness will not be possible without using a library. Since no one want to do this, this bug will likely never be closed.
*(from redmine: created on 2013-07-14, closed on 2015-11-02)*Supporting those inaneness will not be possible without using a library. Since no one want to do this, this bug will likely never be closed.
*(from redmine: created on 2013-07-14, closed on 2015-11-02)*https://0xacab.org/mat/mat/-/issues/4426Add support for (g)zip files2017-04-06T03:14:25ZjvoisinAdd support for (g)zip filesPython doesn't seems to like my zipfiles.
This requires more informations/logs.
*(from redmine: created on 2013-07-14, closed on 2014-01-21)*Python doesn't seems to like my zipfiles.
This requires more informations/logs.
*(from redmine: created on 2013-07-14, closed on 2014-01-21)*https://0xacab.org/mat/mat/-/issues/4427Handle mtime/atime for files inside archives2017-04-06T03:14:25ZjvoisinHandle mtime/atime for files inside archivesThe Python module zipfile does likely not allow me to play with ZipInfo properties, but I may be wrong.
*(from redmine: created on 2013-07-14, closed on 2014-01-21)*The Python module zipfile does likely not allow me to play with ZipInfo properties, but I may be wrong.
*(from redmine: created on 2013-07-14, closed on 2014-01-21)*https://0xacab.org/mat/mat/-/issues/6416Does not inform the user when files where lost while cleaning an archive2017-04-06T03:14:26ZintrigeriDoes not inform the user when files where lost while cleaning an archiveI've just run MAT on a tarball (@.tar.bz2@) that contained a few dozens @.pl@ and @.pm@ Perl program files, plus a PDF, 2 JPG's and a @.txt@.
MAT happily tells me "whatever.tar.bz2 cleaned !" (the space before the exclamation mark is ...I've just run MAT on a tarball (@.tar.bz2@) that contained a few dozens @.pl@ and @.pm@ Perl program files, plus a PDF, 2 JPG's and a @.txt@.
MAT happily tells me "whatever.tar.bz2 cleaned !" (the space before the exclamation mark is a typo, btw).
I would appreciate it if it quickly mentioned, in passing, that most of the files were removed from the tarball, that now only contains the non-Perl files.
*(from redmine: created on 2013-11-11, closed on 2014-04-03, relates #7012)*https://0xacab.org/mat/mat/-/issues/6423Same gettext string used in places where it should be translated differently2017-04-06T03:14:26ZintrigeriSame gettext string used in places where it should be translated differently_Clean_ is used in places where it's a imperative verb (to be translated "Nettoyer" in French), and in places where it's a status (to be translated "Nettoyé" in French).
I'm unsure how this should be dealt with, but this must be fixed..._Clean_ is used in places where it's a imperative verb (to be translated "Nettoyer" in French), and in places where it's a status (to be translated "Nettoyé" in French).
I'm unsure how this should be dealt with, but this must be fixed in the code, not by translators.
*(from redmine: created on 2013-11-14, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6604MAT does not handle archives with non-readable files inside.2017-04-06T03:14:26ZjvoisinMAT does not handle archives with non-readable files inside.Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 633, in <lambda>
return (lambda data: callback(*data), user_data)
File "./mat-gui", line 413, in __mat_clean
if self.li...Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 633, in <lambda>
return (lambda data: callback(*data), user_data)
File "./mat-gui", line 413, in __mat_clean
if self.liststore[line][0].file.remove_all(whitelist=list_to_add):
File "/home/intrigeri/cyber/mat/git/MAT/archive.py", line 197, in remove_all
tarin.extract(item, self.tempdir)
File "/usr/lib/python2.7/tarfile.py", line 2084, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name))
File "/usr/lib/python2.7/tarfile.py", line 2160, in _extract_member
self.makefile(tarinfo, targetpath)
File "/usr/lib/python2.7/tarfile.py", line 2200, in makefile
with bltn_open(targetpath, "wb") as target:
IOError: [Errno 13] Permission denied: '/tmp/tmp_U07jm/path/to/blib/lib/Blog.pm'
*(from redmine: created on 2014-01-17, closed on 2014-01-21, relates #6620)*https://0xacab.org/mat/mat/-/issues/6605MAT's GUI is unable to sort by states2017-04-06T03:14:26ZjvoisinMAT's GUI is unable to sort by statesWithin MAT's gui, it's currently not possible to sort on the "State" column.
*(from redmine: created on 2014-01-18, closed on 2014-01-21)*Within MAT's gui, it's currently not possible to sort on the "State" column.
*(from redmine: created on 2014-01-18, closed on 2014-01-21)*https://0xacab.org/mat/mat/-/issues/6609MAT's GUI traceback when cleaning files2017-04-06T03:14:26ZGhost UserMAT's GUI traceback when cleaning filesWith the *mat-gui*, when click on [Scour] after adding a file to clean, there's the following traceback :
<pre>
Traceback (most recent call last):
File "./mat-gui", line 419, in __mat_clean
if self.liststore[line][0].file.rem...With the *mat-gui*, when click on [Scour] after adding a file to clean, there's the following traceback :
<pre>
Traceback (most recent call last):
File "./mat-gui", line 419, in __mat_clean
if self.liststore[line][0].file.remove_all(whitelist=list_to_add):
UnboundLocalError: local variable 'list_to_add' referenced before assignment
</pre>
Nevertheless, the file seems to be cleaned after that.
*(from redmine: created on 2014-01-19, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6613Released tarball contains spurious .pyc files2017-04-06T03:14:26ZintrigeriReleased tarball contains spurious .pyc filesI've no idea what step of the release process is buggy, but no .pyc should be part of the released tarballs. The 0.5 tarball is buggy on this respect.
*(from redmine: created on 2014-01-20, closed on 2014-01-21)*I've no idea what step of the release process is buggy, but no .pyc should be part of the released tarballs. The 0.5 tarball is buggy on this respect.
*(from redmine: created on 2014-01-20, closed on 2014-01-21)*https://0xacab.org/mat/mat/-/issues/6614Copyright years were not updated for 20142017-04-06T03:14:26ZintrigeriCopyright years were not updated for 2014The @README@ file reads @Copyright 2011-2013 Julien Voisin <julien.voisin@dustri.org>@. This should presumably be bumped to 2011-2014.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*The @README@ file reads @Copyright 2011-2013 Julien Voisin <julien.voisin@dustri.org>@. This should presumably be bumped to 2011-2014.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6615setup.py tries to install non-existing TODO file2017-04-06T03:14:26Zintrigerisetup.py tries to install non-existing TODO filePerhaps it would be worth adding "test @setup.py install@" to the release process doc, to avoid releasing broken, untested stuff.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*Perhaps it would be worth adding "test @setup.py install@" to the release process doc, to avoid releasing broken, untested stuff.
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6616Test suite relies on non-existing unwritable_content.zip file2017-04-06T03:14:26ZintrigeriTest suite relies on non-existing unwritable_content.zip fileERROR: test_archive_unwritable_content (libtest.TestArchiveProcessing)
<pre>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/intrigeri/cyber/mat/git/test/libtest...ERROR: test_archive_unwritable_content (libtest.TestArchiveProcessing)
<pre>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/intrigeri/cyber/mat/git/test/libtest.py", line 163, in test_archive_unwritable_content
shutil.copy2('./unwritable_content.zip', self.tmpdir)
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: './unwritable_content.zip'
</pre>
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6617Test suite returns exit code 0 on failure2017-04-06T03:14:26ZintrigeriTest suite returns exit code 0 on failureThis makes it a pain to integrate the test suite as a blocker into e.g. Debian package building, but it would be the same for any CI effort.
*(from redmine: created on 2014-01-21, closed on 2014-02-19)*This makes it a pain to integrate the test suite as a blocker into e.g. Debian package building, but it would be the same for any CI effort.
*(from redmine: created on 2014-01-21, closed on 2014-02-19)*https://0xacab.org/mat/mat/-/issues/6618Status bar says "Cleaning Dirty" or "Cleaning Unknown"2017-04-06T03:14:26ZintrigeriStatus bar says "Cleaning Dirty" or "Cleaning Unknown"I suspect it should instead say "Cleaning FILENAME", no?
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*I suspect it should instead say "Cleaning FILENAME", no?
*(from redmine: created on 2014-01-21, closed on 2014-01-29)*https://0xacab.org/mat/mat/-/issues/6619PO files are outdated in various ways2017-04-06T03:14:26ZintrigeriPO files are outdated in various waysIn 0.5: first, updated translations were not imported from Transifex. Second, the PO files were not updated to match the POT update (done in Git post-0.5).
Missing step in the release process doc, perhaps?
*(from redmine: created on ...In 0.5: first, updated translations were not imported from Transifex. Second, the PO files were not updated to match the POT update (done in Git post-0.5).
Missing step in the release process doc, perhaps?
*(from redmine: created on 2014-01-21, closed on 2014-02-19)*https://0xacab.org/mat/mat/-/issues/6620Cannot shred read-only files from temporary directory2017-04-06T03:14:26ZintrigeriCannot shred read-only files from temporary directory<pre>
$ mat perl-exercices-src.tar.bz2
[+] Cleaning src.tar.bz2
src.tar.bz2 cleaned !
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/...<pre>
$ mat perl-exercices-src.tar.bz2
[+] Cleaning src.tar.bz2
src.tar.bz2 cleaned !
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog/Model/Schema.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog/Model/Category.pm: failed to open for writing: Permission denied
shred: /tmp/tmpwRI3KU/exercices/src/blog/blib/lib/Blog/Model/Article.pm: failed to open for writing: Permission denied
</pre>
The temporary directory is correctly removed, but it seems that not all its content was correctly shred'ed, right?
*(from redmine: created on 2014-01-21, closed on 2014-01-28, relates #6604)*https://0xacab.org/mat/mat/-/issues/6627Sets very broad permissions on files to remove2017-04-06T03:14:26ZintrigeriSets very broad permissions on files to removeMAT 0.5.1 chmod's 777 the files it wants to remove. This seems a bit scary, without at least a security discussion that concludes why and how this is not dangerous in any awy.
*(from redmine: created on 2014-01-29, closed on 2014-02-17)*MAT 0.5.1 chmod's 777 the files it wants to remove. This seems a bit scary, without at least a security discussion that concludes why and how this is not dangerous in any awy.
*(from redmine: created on 2014-01-29, closed on 2014-02-17)*https://0xacab.org/mat/mat/-/issues/6628Hyphen used as minus sign in manpage2017-04-06T03:14:26ZintrigeriHyphen used as minus sign in manpageQuoting Lintian:
<pre>
I: mat: hyphen-used-as-minus-sign usr/share/man/man1/mat-gui.1.gz:74
N:
N: This manual page seems to contain a hyphen where a minus sign was
N: intended. By default, "-" chars are interpreted as hyphe...Quoting Lintian:
<pre>
I: mat: hyphen-used-as-minus-sign usr/share/man/man1/mat-gui.1.gz:74
N:
N: This manual page seems to contain a hyphen where a minus sign was
N: intended. By default, "-" chars are interpreted as hyphens (U+2010) by
N: groff, not as minus signs (U+002D). Since options to programs use minus
N: signs (U+002D), this means for example in UTF-8 locales that you cannot
N: cut and paste options, nor search for them easily. The Debian groff
N: package currently forces "-" to be interpreted as a minus sign due to
N: the number of manual pages with this problem, but this is a
N: Debian-specific modification and hopefully eventually can be removed.
N:
N: "-" must be escaped ("\-") to be interpreted as minus. If you really
N: intend a hyphen (normally you don't), write it as "\(hy" to emphasise
N: that fact. See groff(7) and especially groff_char(7) for details, and
N: also the thread starting with
N: http://lists.debian.org/debian-devel/2003/debian-devel-200303/msg01481.html
N:
N: If you use some tool that converts your documentation to groff format,
N: this tag may indicate a bug in the tool. Some tools convert dashes of
N: any kind to hyphens. The safe way of converting dashes is to convert
N: them to "\-".
N:
N: Because this error can occur very often, Lintian shows only the first 10
N: occurrences for each man page and give the number of suppressed
N: occurrences. If you want to see all warnings, run Lintian with the
N: -d/--debug option.
N:
N: Refer to /usr/share/doc/groff-base/README.Debian and the groff_char(7)
N: manual page for details.
</pre>
*(from redmine: created on 2014-01-29, closed on 2014-02-17)*https://0xacab.org/mat/mat/-/issues/11524Changing MAT's logo2018-08-01T00:33:42ZjvoisinChanging MAT's logoI was told that the current logo, while being fun, could be improved.
Someone called Marie-Rose stepped in, and drafted a new one: [MAT_logo.zip](/uploads/28f6c8ab926fd097ad21458b53f77021/MAT_logo.zip)
Comments and thoughts are welcome.I was told that the current logo, while being fun, could be improved.
Someone called Marie-Rose stepped in, and drafted a new one: [MAT_logo.zip](/uploads/28f6c8ab926fd097ad21458b53f77021/MAT_logo.zip)
Comments and thoughts are welcome.https://0xacab.org/mat/mat/-/issues/8914Add support for image/svg+xml2018-02-14T23:07:57ZGhost UserAdd support for image/svg+xmlHello,
I think support for SVG/vector would be very useful as they leak a lot of metadata.
http://www.w3.org/TR/SVG/intro.html
I've attached a dirty SVG made in Inkscape for reference.
Some meta I noticed...
Everything in - <m...Hello,
I think support for SVG/vector would be very useful as they leak a lot of metadata.
http://www.w3.org/TR/SVG/intro.html
I've attached a dirty SVG made in Inkscape for reference.
Some meta I noticed...
Everything in - <metadata> </metadata>
Inkscape specific terms, such as export path leaks - inkscape:export-filename="/home/user/path4145.png"
*(from redmine: created on 2015-02-18, closed on 2015-08-19)*https://0xacab.org/mat/mat/-/issues/6633Generate test files at test suite setup stage2018-02-14T23:07:57ZjvoisinGenerate test files at test suite setup stageIt would be great to generate testfiles on runtimes, instead of having binary files in the git repo.
*(from redmine: created on 2014-02-01, closed on 2015-08-21)*It would be great to generate testfiles on runtimes, instead of having binary files in the git repo.
*(from redmine: created on 2014-02-01, closed on 2015-08-21)*https://0xacab.org/mat/mat/-/issues/6637MAT nukes PDF2018-02-14T23:07:57ZjvoisinMAT nukes PDFMAT nukes PDF when processed at multiples times in the GUI>
*(from redmine: created on 2014-02-05, closed on 2014-02-17)*MAT nukes PDF when processed at multiples times in the GUI>
*(from redmine: created on 2014-02-05, closed on 2014-02-17)*https://0xacab.org/mat/mat/-/issues/9007MAT fails to handle PDF with different page size2018-02-14T23:07:57ZjvoisinMAT fails to handle PDF with different page size<pre>
Using MAT 0.5.2 on Lubuntu
If in a PDF file a page of larger size comes after a page of smaller size then MAT will cut the larger page to make it of the same size of the smaller one, ruining the file and potentially making the ...<pre>
Using MAT 0.5.2 on Lubuntu
If in a PDF file a page of larger size comes after a page of smaller size then MAT will cut the larger page to make it of the same size of the smaller one, ruining the file and potentially making the larger page incomplete or illegible. (try MAT on file "test.pdf", attached.)
Instead if a small page comes after a large page MAT will alter the size of the small page and fill with white borders. This too is a bug, but less serious. (to reproduce try test2.pdf)
I think that MAT should preserve the original size of the pages.
</pre>
Reported by *someone* in my mailbox.
*(from redmine: created on 2015-03-04, closed on 2015-04-12)*jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/6883Add an icon2018-02-14T23:07:57ZGhost UserAdd an iconIt would be great to have an icon in the menu :)
*(from redmine: created on 2014-03-08, closed on 2014-03-08)*It would be great to have an icon in the menu :)
*(from redmine: created on 2014-03-08, closed on 2014-03-08)*https://0xacab.org/mat/mat/-/issues/92520.5.2 and 0.5.3's test suite fails with current Debian testing/sid's ExifTool2018-02-14T23:07:57Zintrigeri0.5.2 and 0.5.3's test suite fails with current Debian testing/sid's ExifToolI see:
<pre>
FAIL: test_remove (clitest.TestRemovecli)
make sure that the cli remove all compromizing meta
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/bui...I see:
<pre>
FAIL: test_remove (clitest.TestRemovecli)
make sure that the cli remove all compromizing meta
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/clitest.py", line 28, in test_remove
self.assertTrue(current_file.is_clean())
AssertionError: False is not true
</pre>
... so I can't upload this to Debian yet. May you please have a look?
*(from redmine: created on 2015-04-16, closed on 2015-08-19, blocks #7445)*MAT_0.5.4https://0xacab.org/mat/mat/-/issues/7008Add "download" word on the homepage2018-02-14T23:07:57ZintrigeriAdd "download" word on the homepageToday, I tried to find the link to the download section by searching for "download" on the homepage. This failed. I suggest adding this word in the most adequate place on the homepage.
*(from redmine: created on 2014-04-02, closed on 20...Today, I tried to find the link to the download section by searching for "download" on the homepage. This failed. I suggest adding this word in the most adequate place on the homepage.
*(from redmine: created on 2014-04-02, closed on 2014-04-03)*https://0xacab.org/mat/mat/-/issues/9276File or directory not found: "mat.ui"2018-02-14T23:07:57ZGhost UserFile or directory not found: "mat.ui"$ mat-gui
Traceback (most recent call last):
File "/usr/bin/mat-gui", line 395, in <module>
gui = GUI()
File "/usr/bin/mat-gui", line 47, in __init__
self.builder.add_from_file(os.path.join(mat.get_datadir(), 'mat.ui'))
...$ mat-gui
Traceback (most recent call last):
File "/usr/bin/mat-gui", line 395, in <module>
gui = GUI()
File "/usr/bin/mat-gui", line 47, in __init__
self.builder.add_from_file(os.path.join(mat.get_datadir(), 'mat.ui'))
gi._glib.GError: Fail to open file "./data/mat.ui": File or directory not found
OS: Linux Mint 17.1 Cinnamon 64-bit
Cinnamon: 2.4.8
Kernel Linux: 3.13.0-37-generic
Processor: Intel Core 2 Quad
Memory: 8 GB
MAT installed normaly from Synaptic
*(from redmine: created on 2015-04-25, closed on 2015-07-25)*https://0xacab.org/mat/mat/-/issues/7012GUI fails to clean archive that contains unsupported files, after forcefully ...2018-02-14T23:07:57ZintrigeriGUI fails to clean archive that contains unsupported files, after forcefully including some of theseSteps to reproduce:
# start the GUI
# add a tar.bz2 file that contains a bunch of Perl scripts
# click _Scour_
# in the dialog that allows me to select what unsupported files I want to include nevertheless, select one Perl script
...Steps to reproduce:
# start the GUI
# add a tar.bz2 file that contains a bunch of Perl scripts
# click _Scour_
# in the dialog that allows me to select what unsupported files I want to include nevertheless, select one Perl script
# click _Scour_
# the GUI's status bar reads "Cleaning $tarball", and does not clean the archive at all
*(from redmine: created on 2014-04-03, closed on 2015-12-18, relates #6416)*https://0xacab.org/mat/mat/-/issues/9696Editability of MetadataPopup content field2018-02-14T23:07:57ZGhost UserEditability of MetadataPopup content fieldHi there !
I've made 2 little tweaks to the metadata popup in order to improve UX.
The first one is to enable the editability of the content column, this way you can easily select & copy the content for further analysis.
The second ...Hi there !
I've made 2 little tweaks to the metadata popup in order to improve UX.
The first one is to enable the editability of the content column, this way you can easily select & copy the content for further analysis.
The second one is to set the resizable property of the name column to true.
If you believe those changes are relevant, they are available here :
git@github.com:jdelmas/mat.git
Thanks for your great software.
*(from redmine: created on 2015-07-06, closed on 2015-08-19)*MAT_0.5.4jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7048Unhelpful message for unsupported files2018-02-14T23:07:57ZintrigeriUnhelpful message for unsupported files"Unable to process [...]" does not hint me in any way: is an optional dependency missing? Is this file not supported at all?
*(from redmine: created on 2014-04-10, closed on 2015-12-30)*"Unable to process [...]" does not hint me in any way: is an optional dependency missing? Is this file not supported at all?
*(from redmine: created on 2014-04-10, closed on 2015-12-30)*https://0xacab.org/mat/mat/-/issues/9827Test suite fails on current Debian sid: "ValueError: ZIP does not support tim...2018-02-14T23:07:57ZintrigeriTest suite fails on current Debian sid: "ValueError: ZIP does not support timestamps before 1980"On #9252 we've fixed a part of the test suite, but (as I realized when preparing a 0.5.3 package + recent bugfixes) not everything yet.
Here's the full output of the test suite run in my up-to-date sid pbuilder chroot:
<pre>
cd ./...On #9252 we've fixed a part of the test suite, but (as I realized when preparing a 0.5.3 package + recent bugfixes) not everything yet.
Here's the full output of the test suite run in my up-to-date sid pbuilder chroot:
<pre>
cd ./test ; LC_ALL=C.UTF-8 xvfb-run -a python test.py
test_remove (clitest.TestRemovecli)
make sure that the cli remove all compromizing meta ... [*] Cleaning /tmp/tmpGF7lFs/dirty é.docx
Traceback (most recent call last):
File "../mat", line 142, in <module>
main()
File "../mat", line 135, in main
ret += func(class_file, filename, args.add2archive)
File "../mat", line 86, in clean_meta
if class_file.remove_all():
File "/tmp/buildd/mat-0.5.3/libmat/office.py", line 80, in remove_all
beginning_blacklist=('docProps/'), whitelist=('.rels'))
File "/tmp/buildd/mat-0.5.3/libmat/archive.py", line 179, 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
FAIL
test_remove_empty (clitest.TestRemovecli)
Test removal with clean files ... [*] Cleaning /tmp/tmpG6EABv/clean é.docx
Traceback (most recent call last):
File "../mat", line 142, in <module>
main()
File "../mat", line 135, in main
ret += func(class_file, filename, args.add2archive)
File "../mat", line 86, in clean_meta
if class_file.remove_all():
File "/tmp/buildd/mat-0.5.3/libmat/office.py", line 80, in remove_all
beginning_blacklist=('docProps/'), whitelist=('.rels'))
File "/tmp/buildd/mat-0.5.3/libmat/archive.py", line 179, 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
[*] Cleaning /tmp/tmpG6EABv/clean é.flac
[+] /tmp/tmpG6EABv/clean é.flac cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.jpg
[+] /tmp/tmpG6EABv/clean é.jpg cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.mp3
[+] /tmp/tmpG6EABv/clean é.mp3 cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.odt
Traceback (most recent call last):
File "../mat", line 142, in <module>
main()
File "../mat", line 135, in main
ret += func(class_file, filename, args.add2archive)
File "../mat", line 86, in clean_meta
if class_file.remove_all():
File "/tmp/buildd/mat-0.5.3/libmat/office.py", line 54, in remove_all
return super(OpenDocumentStripper, self).remove_all(ending_blacklist=['meta.xml'])
File "/tmp/buildd/mat-0.5.3/libmat/archive.py", line 179, 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
[ERROR] mat.py:157 /tmp/tmpu5ggqW/Configurations2/accelerator/current.xml is empty
[*] Cleaning /tmp/tmpG6EABv/clean é.ogg
[+] /tmp/tmpG6EABv/clean é.ogg cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.pdf
[+] /tmp/tmpG6EABv/clean é.pdf cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.png
[+] /tmp/tmpG6EABv/clean é.png cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.tar
[+] /tmp/tmpG6EABv/clean é.tar cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.tar.bz2
[+] /tmp/tmpG6EABv/clean é.tar.bz2 cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.tar.gz
[+] /tmp/tmpG6EABv/clean é.tar.gz cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.torrent
[+] /tmp/tmpG6EABv/clean é.torrent cleaned!
[*] Cleaning /tmp/tmpG6EABv/clean é.zip
Traceback (most recent call last):
File "../mat", line 142, in <module>
main()
File "../mat", line 135, in main
ret += func(class_file, filename, args.add2archive)
File "../mat", line 86, in clean_meta
if class_file.remove_all():
File "/tmp/buildd/mat-0.5.3/libmat/archive.py", line 179, 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
ok
test_list_clean (clitest.TestListcli)
check if get_meta returns meta ... ok
test_list_dirty (clitest.TestListcli)
check if get_meta returns all the expected meta ... ok
test_clean (clitest.TestisCleancli)
test is_clean on clean files ... ok
test_dirty (clitest.TestisCleancli)
test is_clean on dirty files ... ok
test_abort_unsupported (clitest.TestUnsupported)
test if the cli aborts on unsupported files ... ok
test_remove (libtest.TestRemovelib)
make sure that the lib remove all compromizing meta ... ERROR
test_remove_empty (libtest.TestRemovelib)
Test removal with clean files ... ERROR
test_list (libtest.TestListlib)
check if get_meta returns metadata ... [ERROR] mat.py:157 /tmp/tmpe8XhxL/Configurations2/accelerator/current.xml is empty
ok
testlist_list_empty (libtest.TestListlib)
check that a listing of a clean file returns an empty dict ... [ERROR] mat.py:157 /tmp/tmpWV_qTl/Configurations2/accelerator/current.xml is empty
ok
test_clean (libtest.TestisCleanlib)
test is_clean on clean files ... [ERROR] mat.py:157 /tmp/tmp8mIoZL/Configurations2/accelerator/current.xml is empty
ok
test_dirty (libtest.TestisCleanlib)
test is_clean on dirty files ... ok
test_empty (libtest.TestFileAttributes)
test MAT's behaviour on empty file ... [ERROR] mat.py:157 empty_file is empty
ok
test_not_exist (libtest.TestFileAttributes)
test MAT's behaviour on non-existent file ... [ERROR] mat.py:148 non_existent_file is not a valid file
ok
test_remove_existing (libtest.TestSecureRemove)
test the secure removal of an existing file ... ok
test_remove_fail (libtest.TestSecureRemove)
test the secure removal of an non-removable file ... [ERROR] mat.py:120 Unable to add write rights to /NOTREMOVABLE
ok
test_archive_unwritable_content (libtest.TestArchiveProcessing) ... ERROR
test_get_unsupported (libtest.TestArchiveProcessing)
Test the get_unsupported feature, used by the GUI ... [ERROR] archive.py:275 mat.desktop's format is not supported or harmless
[ERROR] archive.py:275 README.security's format is not supported or harmless
[ERROR] archive.py:275 setup.py's format is not supported or harmless
ok
test_remove_bz2 (libtest.TestArchiveProcessing)
Test MAT's ability to process .tar.bz2 ... ERROR
test_remove_gz (libtest.TestArchiveProcessing)
Test MAT on tar.gz files ... ERROR
test_remove_tar (libtest.TestArchiveProcessing)
Test MAT on tar files ... ERROR
======================================================================
ERROR: test_remove (libtest.TestRemovelib)
make sure that the lib remove all compromizing meta
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/libtest.py", line 27, in test_remove
current_file.remove_all()
File "../libmat/office.py", line 80, in remove_all
beginning_blacklist=('docProps/'), whitelist=('.rels'))
File "../libmat/archive.py", line 179, 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
======================================================================
ERROR: test_remove_empty (libtest.TestRemovelib)
Test removal with clean files
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/libtest.py", line 35, in test_remove_empty
current_file.remove_all()
File "../libmat/office.py", line 80, in remove_all
beginning_blacklist=('docProps/'), whitelist=('.rels'))
File "../libmat/archive.py", line 179, 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
======================================================================
ERROR: test_archive_unwritable_content (libtest.TestArchiveProcessing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/libtest.py", line 163, in test_archive_unwritable_content
current_file.remove_all()
File "../libmat/archive.py", line 179, 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
======================================================================
ERROR: test_remove_bz2 (libtest.TestArchiveProcessing)
Test MAT's ability to process .tar.bz2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/libtest.py", line 115, in test_remove_bz2
current_file.remove_all()
File "../libmat/archive.py", line 217, in remove_all
cfile.remove_all()
File "../libmat/office.py", line 80, in remove_all
beginning_blacklist=('docProps/'), whitelist=('.rels'))
File "../libmat/archive.py", line 179, 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
======================================================================
ERROR: test_remove_gz (libtest.TestArchiveProcessing)
Test MAT on tar.gz files
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/libtest.py", line 143, in test_remove_gz
current_file.remove_all()
File "../libmat/archive.py", line 217, in remove_all
cfile.remove_all()
File "../libmat/office.py", line 80, in remove_all
beginning_blacklist=('docProps/'), whitelist=('.rels'))
File "../libmat/archive.py", line 179, 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
======================================================================
ERROR: test_remove_tar (libtest.TestArchiveProcessing)
Test MAT on tar files
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/libtest.py", line 129, in test_remove_tar
current_file.remove_all()
File "../libmat/archive.py", line 217, in remove_all
cfile.remove_all()
File "../libmat/office.py", line 80, in remove_all
beginning_blacklist=('docProps/'), whitelist=('.rels'))
File "../libmat/archive.py", line 179, 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
======================================================================
FAIL: test_remove (clitest.TestRemovecli)
make sure that the cli remove all compromizing meta
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/mat-0.5.3/test/clitest.py", line 28, in test_remove
self.assertTrue(current_file.is_clean())
AssertionError: False is not true
----------------------------------------------------------------------
Ran 22 tests in 21.100s
FAILED (failures=1, errors=6)
debian/rules:10: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
</pre>
*(from redmine: created on 2015-07-30, closed on 2015-08-19, relates #7857)*MAT_0.5.4jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7177translation broken2018-02-14T23:07:57ZGhost Usertranslation brokenFirst encountered on Ubuntu 14.04 (v0.4.2) but also found in v0.5.2: mat-gui can't locate translation files (at least the german one). Possible solution: add one simple line to mat-gui.
<pre>
class GUI(object):
'''
Main...First encountered on Ubuntu 14.04 (v0.4.2) but also found in v0.5.2: mat-gui can't locate translation files (at least the german one). Possible solution: add one simple line to mat-gui.
<pre>
class GUI(object):
'''
Main GUI class
'''
def __init__(self):
# Preferences
self.add2archive = True
self.pdf_quality = False
# Main window
self.builder = Gtk.Builder()
## fix translation bug
self.builder.set_translation_domain('MAT')
##
self.builder.add_from_file(os.path.join(mat.get_datadir(), 'mat.ui'))
self.builder.connect_signals(self)
</pre>
*(from redmine: created on 2014-05-09, closed on 2015-05-09, duplicates #8171)*https://0xacab.org/mat/mat/-/issues/9831Test suite fails due to missing text encoding handling2018-02-14T23:07:57ZintrigeriTest suite fails due to missing text encoding handlingI see test suite failures caused by:
<pre>
test_remove_bz2 (libtest.TestArchiveProcessing)
Test MAT's ability to process .tar.bz2 ... /usr/lib/python2.7/tarfile.py:1993: UnicodeWarning: Unicode equal comparison failed to convert bot...I see test suite failures caused by:
<pre>
test_remove_bz2 (libtest.TestArchiveProcessing)
Test MAT's ability to process .tar.bz2 ... /usr/lib/python2.7/tarfile.py:1993: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if self.name is not None and os.path.abspath(name) == self.name:
</pre>
*(from redmine: created on 2015-08-01, closed on 2015-08-19)*MAT_0.5.4jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7385remove dependency on python-distutils-extra2018-02-14T23:07:57ZGhost Userremove dependency on python-distutils-extraWhen attempting to pip install Metadata Anonymisation Toolkit directly from git, its install script requires python-distutils-extra. Frankly, this dependency is a giant pain in the ass, especially on OS X. It's not pip installable, it l...When attempting to pip install Metadata Anonymisation Toolkit directly from git, its install script requires python-distutils-extra. Frankly, this dependency is a giant pain in the ass, especially on OS X. It's not pip installable, it lives on Canonical's crappy Bazaar repo (requiring yet *another* dependency and long install line in one's requirements.txt), and unless there's a good reason for requiring it, it should be removed IMNSHO.
*(from redmine: created on 2014-06-10, closed on 2015-07-25)*https://0xacab.org/mat/mat/-/issues/10065Make test suite work once copied out of the build tree2018-02-14T23:07:57ZintrigeriMake test suite work once copied out of the build treeDebian now has autopkgtest (http://dep.debian.net/deps/dep8/), that are very useful to detect e.g. when a dependency update breaks a package, or when runtime dependencies are missing. Ideally one would write real integration tests meant ...Debian now has autopkgtest (http://dep.debian.net/deps/dep8/), that are very useful to detect e.g. when a dependency update breaks a package, or when runtime dependencies are missing. Ideally one would write real integration tests meant to be run against the installed package, but a first step when adding autopkgtests for a given package is often to simply run the existing upstream test suite _against the installed package_.
I've tried copying the @test@ directory out of the source tree and to run @test.py@, but in the current state of things it doesn't work: the test suite hardcodes things like @../mat@ and @../mat.desktop@. Would it be possible to fall back to the location where these files are installed, whenever the test suite detects it is not running from inside the source tree?
*(from redmine: created on 2015-08-20, closed on 2015-12-30)*jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7387make 'mat' pip installable without GUI2018-02-14T23:07:57ZGhost Usermake 'mat' pip installable without GUIIdeally, something like 'pip install --install-option="--without-gui" mat' would be available for people who only want the library and none of the GUI dependencies.
*(from redmine: created on 2014-06-10, closed on 2015-10-10, relates #7...Ideally, something like 'pip install --install-option="--without-gui" mat' would be available for people who only want the library and none of the GUI dependencies.
*(from redmine: created on 2014-06-10, closed on 2015-10-10, relates #7386)*https://0xacab.org/mat/mat/-/issues/7388setup.py __version__ in 0.5.2 is 0.4-rc2018-02-14T23:07:57ZGhost Usersetup.py __version__ in 0.5.2 is 0.4-rc__version__ may need to be updated in 0.5.2 setup.py, among others.
*(from redmine: created on 2014-06-10, closed on 2015-04-12)*__version__ may need to be updated in 0.5.2 setup.py, among others.
*(from redmine: created on 2014-06-10, closed on 2015-04-12)*https://0xacab.org/mat/mat/-/issues/10067setup.py says "__version__ = '0.5.3'" in the 0.5.4 tarball2018-02-14T23:07:57Zintrigerisetup.py says "__version__ = '0.5.3'" in the 0.5.4 tarballToo bad, updating it is documented in the RELEASE file.
*(from redmine: created on 2015-08-20, closed on 2015-12-30)*Too bad, updating it is documented in the RELEASE file.
*(from redmine: created on 2015-08-20, closed on 2015-12-30)*MAT_0.5.5jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7444Be able to add multiple files more easily2018-02-14T23:07:57ZulrikeBe able to add multiple files more easilyOutcome of Tails UX testing session:
Drag and drop allows for adding multiple files at once.
There is also a special button to add multiple files.
It would be easier to be able to add multiple files using drag and drop OR the normal...Outcome of Tails UX testing session:
Drag and drop allows for adding multiple files at once.
There is also a special button to add multiple files.
It would be easier to be able to add multiple files using drag and drop OR the normal button.
*(from redmine: created on 2014-06-22, closed on 2015-05-09, relates #7684)*https://0xacab.org/mat/mat/-/issues/10550Specify version when importing Poppler with gi2018-02-14T23:07:57ZintrigeriSpecify version when importing Poppler with giWith recenty pygi I see lots of:
<pre>
PyGIWarning: Poppler was imported without specifying a version first. Use gi.require_version('Poppler', '0.18') before import to ensure that the right version gets loaded
</pre>
*(from redmine...With recenty pygi I see lots of:
<pre>
PyGIWarning: Poppler was imported without specifying a version first. Use gi.require_version('Poppler', '0.18') before import to ensure that the right version gets loaded
</pre>
*(from redmine: created on 2015-11-15, closed on 2015-12-30)*jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7445Icon usage in MAT2018-02-14T23:07:57ZulrikeIcon usage in MATOutcome and a beginning discussion of the 1st Tails UX session brought up the following issue.
UX experts said:
a) The fact that the user prefers using the menu items rather than the icons might indicate that the icons alone are no...Outcome and a beginning discussion of the 1st Tails UX session brought up the following issue.
UX experts said:
a) The fact that the user prefers using the menu items rather than the icons might indicate that the icons alone are not expressive enough.
b) Iconography might need to be couple with text to make its function clearer
sajolida replies:
That's already the case in Tails 1.1.
This reminds me of a story I read a while ago: http://www.azarask.in/blog/post/the_end_of_an_icon/
« Why make the user go spelunking for the information they need? Just give it to them. »
MAT is taking a good approach here by combining the icons with titles. But still I have some concerns:
- The icon of the "Scour" button looks all-right but the title is pretty obscure. I had to search a dictionary to know that scour means "clean". Why not use "clean", like in the contextual menu in Nautilus?
- The "Check" button has a magnifying glass a icon. I associate the magnifying glass with "have a close look" or "analyze". I would expect it to tell me more about the metadata on that file. But actually the check button verifies the status of the files. Maybe using a check symbol would be better.
- Then we could use the magnifying glass for a new "Analyze" button that would display the metadata.
- I find the "Clear" button ambiguous. The verb "clean" is used in the contextual menu in Nautilus to "clean metadata". This button is used to remove files from the list of files. Why not renaming it "Remove" and group it visually with the "Add" button which is its counterpart?
*(from redmine: created on 2014-06-22, closed on 2015-12-30, relates #7684, blocks #9252)*https://0xacab.org/mat/mat/-/issues/7446UX: make preferences clearer2018-02-14T23:07:57ZulrikeUX: make preferences clearerLooking at the preferences I have the impression that "Backup" should be renamed "Create copies of original files".
*(from redmine: created on 2014-06-22, closed on 2014-06-24)*Looking at the preferences I have the impression that "Backup" should be renamed "Create copies of original files".
*(from redmine: created on 2014-06-22, closed on 2014-06-24)*https://0xacab.org/mat/mat/-/issues/10551README has outdated instructions for running the test suite2018-02-14T23:07:57ZintrigeriREADME has outdated instructions for running the test suiteOn current Git master, the documented instructions to run the test suite fail with:
<pre>
$ python test.py
[...]
Please specify either --local or --system
</pre>
Please make test.py's --local the default (I think it would be be...On current Git master, the documented instructions to run the test suite fail with:
<pre>
$ python test.py
[...]
Please specify either --local or --system
</pre>
Please make test.py's --local the default (I think it would be better for backward compatibility), or document that one must pass @--local@ or @--system@ in README.
*(from redmine: created on 2015-11-15, closed on 2015-12-30)*jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7601Progress bar2018-02-14T23:07:57ZGhost UserProgress barI would like to have a progress bar that shows that something is happening when cleaning metadata. I would like it even more if it displayed some information about how much was done and how much remains to be done.
There should be two...I would like to have a progress bar that shows that something is happening when cleaning metadata. I would like it even more if it displayed some information about how much was done and how much remains to be done.
There should be two progress bars. One for each file being cleaned, and one global progress bar. For example, there could be a progress bar of each file, kind of like if the file was being downloaded. And a global indicator that shows how much files still need to be cleaned (e.g. "35% done" or "12/42").
*(from redmine: created on 2014-07-18, closed on 2015-08-21, relates #7684)*https://0xacab.org/mat/mat/-/issues/7840Support for TIFF2018-02-14T23:07:57ZGhost UserSupport for TIFFPlease support TIFF files :-)
With exiftool, you can remove all metadata with
<pre>
exiftool -XMP:all= *.tif
</pre>
but that's not very graphical-user-friendly.
*(from redmine: created on 2014-08-28, closed on 2015-12-30)*Please support TIFF files :-)
With exiftool, you can remove all metadata with
<pre>
exiftool -XMP:all= *.tif
</pre>
but that's not very graphical-user-friendly.
*(from redmine: created on 2014-08-28, closed on 2015-12-30)*MAT_0.5.5jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/10838A few typos2018-02-14T23:07:57ZintrigeriA few typosAs of commit:158b14ba0e094108a127e3f9ccdffc2a65bc9e5b:
* "it's two path" → paths
* @git grep -w pathes@ → paths
* git grep cleaup
* @setup.py@ says: @__version__ = '6.0'@, which feels wrong
(There's no target version after 0.6 s...As of commit:158b14ba0e094108a127e3f9ccdffc2a65bc9e5b:
* "it's two path" → paths
* @git grep -w pathes@ → paths
* git grep cleaup
* @setup.py@ says: @__version__ = '6.0'@, which feels wrong
(There's no target version after 0.6 so I can't set it. Maybe release doc++?)
*(from redmine: created on 2016-01-03, closed on 2016-01-04)*jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7857Cannot clean ODS file: ZIP does not support timestamps before 19802018-02-14T23:07:57ZintrigeriCannot clean ODS file: ZIP does not support timestamps before 1980<pre>
mat whatever.ods
[*] Cleaning whatever.ods
Traceback (most recent call last):
File "/usr/bin/mat", line 152, in <module>
main()
File "/usr/bin/mat", line 145, in main
ret += func(class_file, filename, args.add2a...<pre>
mat whatever.ods
[*] Cleaning whatever.ods
Traceback (most recent call last):
File "/usr/bin/mat", line 152, in <module>
main()
File "/usr/bin/mat", line 145, in main
ret += func(class_file, filename, args.add2archive)
File "/usr/bin/mat", line 99, in clean_meta
if class_file.remove_all():
File "/usr/lib/python2.7/dist-packages/MAT/office.py", line 54, in remove_all
return super(OpenDocumentStripper, self).remove_all(ending_blacklist=['meta.xml'])
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 1130, 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
</pre>
By the way, the GUI didn't warn me about it, and simply left the file in dirty state.
*(from redmine: created on 2014-08-30, closed on 2015-08-19, relates #9827)*jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/7858GUI fails to start if run from a directory that contains a "data" sub-directory2018-02-14T23:07:57ZintrigeriGUI fails to start if run from a directory that contains a "data" sub-directory<pre>
$ mat-gui
</pre>
... works fine, while:
<pre>
$ mkdir data && mat-gui
Traceback (most recent call last):
File "/usr/bin/mat-gui", line 432, in <module>
gui = GUI()
File "/usr/bin/mat-gui", line 43, in __init...<pre>
$ mat-gui
</pre>
... works fine, while:
<pre>
$ mkdir data && mat-gui
Traceback (most recent call last):
File "/usr/bin/mat-gui", line 432, in <module>
gui = GUI()
File "/usr/bin/mat-gui", line 43, in __init__
self.builder.add_from_file(os.path.join(mat.get_datadir(), 'mat.glade'))
gi._glib.GError: Failed to open file './data/mat.glade': No such file or directory
</pre>
This was reported as https://bugs.debian.org/759819.
*(from redmine: created on 2014-08-31, closed on 2015-04-12)*jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/10839Segfaults when looking up supported formats in the GUI2018-02-14T23:07:57ZintrigeriSegfaults when looking up supported formats in the GUIStart mat-gui 0.6, Help → Information → I get a "Supported formats" dialog. There's a "Fileformat" (sic?) drop-down list, with no current default value. If I open that list I see the list of integers from 0 to 11. If I click, say, "4", m...Start mat-gui 0.6, Help → Information → I get a "Supported formats" dialog. There's a "Fileformat" (sic?) drop-down list, with no current default value. If I open that list I see the list of integers from 0 to 11. If I click, say, "4", mat-gui segfaults.
(Off-topic: it seems that the "Supported formats" dialog is not properly associated to its parent -- GNOME Shell doesn't do the same tricks it does for other software that have such dialog windows.)
*(from redmine: created on 2016-01-03, closed on 2016-01-04)*MAT_0.6.2jvoisinjvoisinhttps://0xacab.org/mat/mat/-/issues/8171German translation in MAT not working2018-02-14T23:07:57ZulrikeGerman translation in MAT not workingHi,
this might be related to #7177.
I tested the current MAT releases in Jessie (Tails and Debian) and the translation is not functioning. In Tails i did not see any translation, in Debian, the word "Ready" was translated and also...Hi,
this might be related to #7177.
I tested the current MAT releases in Jessie (Tails and Debian) and the translation is not functioning. In Tails i did not see any translation, in Debian, the word "Ready" was translated and also two menu entries (Menu "File" => "Add" and "Close" were translated). Everything else is in English.
In the Debian test, MAT version 0.5.2-3 was installed.
*(from redmine: created on 2014-10-24, closed on 2015-05-09, duplicates #7177)*https://0xacab.org/mat/mat/-/issues/11066Please document restructions more detailed2018-02-14T23:07:58ZGhost UserPlease document restructions more detailedPlease document that Metadata of Images in PDFs are not stripped (try with attachment)
The website leaves the impression that all meta-data is removed, lulling users into a false sense of security.
Writing from a privacy workshop w...Please document that Metadata of Images in PDFs are not stripped (try with attachment)
The website leaves the impression that all meta-data is removed, lulling users into a false sense of security.
Writing from a privacy workshop where we are team-testing MAT.
*(from redmine: created on 2016-02-06, closed on 2016-05-05)*https://0xacab.org/mat/mat/-/issues/8349MAT reporting file as unclean after cleaning2018-02-14T23:07:57ZGhost UserMAT reporting file as unclean after cleaningThis is in the debian wheezy version of mat.
mat 0.3.2-1
$> mat file.png
[+] Cleaning file.png
file.png cleaned !
$> mat -c file.png
[+] file.png is not clean
$> mat -d file.png
Harmful metadata found:
S...This is in the debian wheezy version of mat.
mat 0.3.2-1
$> mat file.png
[+] Cleaning file.png
file.png cleaned !
$> mat -c file.png
[+] file.png is not clean
$> mat -d file.png
Harmful metadata found:
Significant Bits : 8 8 8 8
*(from redmine: created on 2014-11-30, closed on 2015-04-12)*https://0xacab.org/mat/mat/-/issues/11260Reconsider .desktop menu categories2018-02-14T23:07:58ZGhost UserReconsider .desktop menu categoriesMAT is currently listed in the category "System Tools" in the menu of GNOME in Tails. This should be changed thus MAT is not a System Tool. (removing the entry "System" from the .desktop file moves it into "Accessories" in the menu, this...MAT is currently listed in the category "System Tools" in the menu of GNOME in Tails. This should be changed thus MAT is not a System Tool. (removing the entry "System" from the .desktop file moves it into "Accessories" in the menu, this could be one solution, but other opinions are welcome!)
*(from redmine: created on 2016-03-18, relates #11248)*https://0xacab.org/mat/mat/-/issues/8749Delete vertically added copyright and license note2018-02-14T23:07:58ZGhost UserDelete vertically added copyright and license noteWhen downloading commercial books from university libraries (via their vpn or from within), the pdfs often have a vertical statement, reading something like: copyrighted material from..., licensed to [name of university] and some date of...When downloading commercial books from university libraries (via their vpn or from within), the pdfs often have a vertical statement, reading something like: copyrighted material from..., licensed to [name of university] and some date of download. This text line is on every page at the right hand side, at the margins.
If MAT could safely delete these vertical lines, the pdf would be free of that meta data.
*(from redmine: created on 2015-01-20, closed on 2015-03-31)*