Package: mat Version: 0.3.2-1 Severity: minor Hi maintainer,
Currently a zero sized file causes a backtrace similar to this: Traceback (most recent call last): File "/usr/bin/mat", line 149, in <module> main() File "/usr/bin/mat", line 142, in main args.add2archive) File "/usr/lib/python2.7/dist-packages/lib/mat.py", line 129, in create_class_file parser = hachoir_parser.createParser(filename) File "/usr/lib/pymodules/python2.7/hachoir_parser/guess.py", line 122, in createParser stream = FileInputStream(filename, real_filename, tags=tags) File "/usr/lib/pymodules/python2.7/hachoir_core/stream/input_helper.py", line 32, in FileInputStream return InputIOStream(inputio, source=source, **args) File "/usr/lib/pymodules/python2.7/hachoir_core/stream/input.py", line 382, in __init__ InputStream.__init__(self, size=size, **args) File "/usr/lib/pymodules/python2.7/hachoir_core/stream/input.py", line 129, in __init__ raise NullStreamError(source) hachoir_core.stream.input.NullStreamError: Input size is nul (source='file:./test.jpg')! I think these files can be safely skipped when processing :) best regards, -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mat depends on: ii python 2.7.5-5 ii python-hachoir-core 1.3.3-3 ii python-hachoir-parser 1.3.4-1 ii python2.6 2.6.8-2 ii python2.7 2.7.5-8 Versions of packages mat recommends: ii libimage-exiftool-perl 9.13-1 ii python-cairo 1.8.8-1+b2 ii python-mutagen 1.21-1 ii python-pdfrw 0.1-1 ii python-poppler 0.12.1-8.1 mat suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org