mat issueshttps://0xacab.org/mat/mat/-/issues2018-02-14T23:07:06Zhttps://0xacab.org/mat/mat/-/issues/11520Please add support for GPS traces2018-02-14T23:07:06ZintrigeriPlease add support for GPS tracesI'm told that there's a device ID in GPS traces, that one might want to get rid on.
*(from redmine: created on 2016-06-10)*I'm told that there's a device ID in GPS traces, that one might want to get rid on.
*(from redmine: created on 2016-06-10)*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/11067Strip meta-data of images etc. in PDFs2018-02-14T23:07:06ZGhost UserStrip meta-data of images etc. in PDFsmeta-data of images in PDFs should be stripped.
Enclosed please find an example you can use for testing.
*(from redmine: created on 2016-02-06)*meta-data of images in PDFs should be stripped.
Enclosed please find an example you can use for testing.
*(from redmine: created on 2016-02-06)*0.7jvoisinjvoisinhttps://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/11065Windows executable missing2018-02-14T23:07:06ZGhost UserWindows executable missingPlease provide a windows executable, so all the people using Windows can use this tool, too.
PyInstaller (pyinstaller.org) does a create job on this. You can even use it in wine.
*(from redmine: created on 2016-02-06)*Please provide a windows executable, so all the people using Windows can use this tool, too.
PyInstaller (pyinstaller.org) does a create job on this. You can even use it in wine.
*(from redmine: created on 2016-02-06)*https://0xacab.org/mat/mat/-/issues/11064Undocumented Requirement "intltool-update"2018-02-14T23:07:06ZGhost UserUndocumented Requirement "intltool-update"Installing MAT fails due to undocumented requirement "intltool-update" missing:
$ pip install mat-0.6/
Processing ./mat-0.6
Installing collected packages: MAT
Running setup.py install for MAT ... error
Complete output from c...Installing MAT fails due to undocumented requirement "intltool-update" missing:
$ pip install mat-0.6/
Processing ./mat-0.6
Installing collected packages: MAT
Running setup.py install for MAT ... error
Complete output from command /tmp/foo/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-3x6p1e-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-YLfcGG-record/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/foo/include/site/python2.7/MAT:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/libmat
copying libmat/__init__.py -> build/lib/libmat
copying libmat/archive.py -> build/lib/libmat
copying libmat/exceptions.py -> build/lib/libmat
copying libmat/exiftool.py -> build/lib/libmat
copying libmat/mat.py -> build/lib/libmat
copying libmat/misc.py -> build/lib/libmat
copying libmat/mutagenstripper.py -> build/lib/libmat
copying libmat/office.py -> build/lib/libmat
copying libmat/parser.py -> build/lib/libmat
copying libmat/strippers.py -> build/lib/libmat
creating build/lib/libmat/bencode
copying libmat/bencode/__init__.py -> build/lib/libmat/bencode
copying libmat/bencode/bencode.py -> build/lib/libmat/bencode
running build_scripts
creating build/scripts-2.7
copying and adjusting mat -> build/scripts-2.7
copying and adjusting mat-gui -> build/scripts-2.7
changing mode of build/scripts-2.7/mat from 644 to 755
changing mode of build/scripts-2.7/mat-gui from 644 to 755
running build_i18n
intltool-update -p -g MAT
unable to execute 'intltool-update': No such file or directory
error: command 'intltool-update' failed with exit status 1
----------------------------------------
Command "/tmp/foo/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-3x6p1e-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-YLfcGG-record/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/foo/include/site/python2.7/MAT" failed with error code 1 in /tmp/pip-3x6p1e-build
intltool in not to be found at PyPi - the one tool I found is not even a Python utility.
*(from redmine: created on 2016-02-06)*MAT_0.6.2https://0xacab.org/mat/mat/-/issues/11063Undocumented Requirement "DistUtilsExtra"2018-02-14T23:07:06ZGhost UserUndocumented Requirement "DistUtilsExtra"Installing MAT via pip fails due to undocumented requirement "DistUtilsExtra" missing:
$ pip install mat-0.6/
Processing ./mat-0.6
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
...Installing MAT via pip fails due to undocumented requirement "DistUtilsExtra" missing:
$ pip install mat-0.6/
Processing ./mat-0.6
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-fGZr4g-build/setup.py", line 6, in <module>
from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-fGZr4g-build
The requirement DistUtilsExtra is not documented. Additionally PyPI does not contain such a package.
*(from redmine: created on 2016-02-06)*MAT_0.6.2https://0xacab.org/mat/mat/-/issues/10979GUI whitelist functionality for unsupported archive contents breaks when arch...2018-02-14T23:07:06ZGhost UserGUI whitelist functionality for unsupported archive contents breaks when archives contain directoriesWhen cleaning archives with unsupported file types inside and the archive file names contain directories, I noticed whatever choice I make in the popup asking which files to keep does not influence the result. Instead the only factor see...When cleaning archives with unsupported file types inside and the archive file names contain directories, I noticed whatever choice I make in the popup asking which files to keep does not influence the result. Instead the only factor seems to be the 'Add unsupported file to archives' option in the preferences dialog. If that is checked then I always get all unsupported files in the archive, if it is unchecked I get none of them.
The reason is that the user-picked whitelist only contains the basenames of the files, which are compared against the full pathnames in the archive. These are not guaranteed to match.
Steps to reproduce (in mat's source directory):
<pre>
tar -czvf foo.tar.gz test/*py
</pre>
Check 'Add unsupported file to archive' in preferences (or not)
Load the file into MAT, click 'Clean'. Pick some of the files displayed in the dialog, click Clean again.
Inspect the resulting cleaned archive, which is either empty or contains all of the .py files, depending on the preference setting.
Tested with MAT 0.6.1 on Debian testing.
*(from redmine: created on 2016-01-20)*https://0xacab.org/mat/mat/-/issues/10973Cleaned archives lose compression2018-02-14T23:07:06ZGhost UserCleaned archives lose compressionWhen trying to clean a gzipped or bzipped tarball, the compression is lost in the cleaned version but the file name is not updated to reflect that:
<pre>
$ tar czvf 1.tar.gz test/dirty\ é.p*
test/dirty é.pdf
test/dirty é.png
$ fil...When trying to clean a gzipped or bzipped tarball, the compression is lost in the cleaned version but the file name is not updated to reflect that:
<pre>
$ tar czvf 1.tar.gz test/dirty\ é.p*
test/dirty é.pdf
test/dirty é.png
$ file 1.tar.gz
1.tar.gz: gzip compressed data, last modified: Mon Jan 18 22:12:30 2016, from Unix
$ mat 1.tar.gz
[*] Cleaning 1.tar.gz
[+] 1.tar.gz cleaned!
$ file 1.tar.gz
1.tar.gz: POSIX tar archive (GNU)
$ tar xzvf 1.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
</pre>
*(from redmine: created on 2016-01-19)*https://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/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/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/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/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/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/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/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/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/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/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.4