[Pkg-gmagick-im-team] Bug#864797: identify: very unfriendly error message on a directory

Adam Borowski kilobyte at angband.pl
Wed Jun 14 23:55:14 UTC 2017


Package: imagemagick-6.q16
Version: 8:6.9.7.4+dfsg-11
Severity: minor

Hi!
The error message when one of files requested is a directory is confusing:
.----
identify-im6.q16: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.
`----
It makes you think there's a corrupted file somewhere.

As "identify *" is a very frequently used command, it'd be nice to give
directories a proper error message.


-- Package-specific info:
ImageMagick program version
---------------------------
animate:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
compare:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
convert:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
composite:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
conjure:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
display:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
identify:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
import:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
mogrify:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
montage:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
stream:  ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-rc5-debug-00017-g6afe0ac16d2b (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages imagemagick-6.q16 depends on:
ii  hicolor-icon-theme     0.15-1
ii  libc6                  2.24-11
ii  libmagickcore-6.q16-3  8:6.9.7.4+dfsg-11
ii  libmagickwand-6.q16-3  8:6.9.7.4+dfsg-11

Versions of packages imagemagick-6.q16 recommends:
pn  ghostscript                  <none>
ii  libmagickcore-6.q16-3-extra  8:6.9.7.4+dfsg-11
ii  netpbm                       2:10.0-15.3+b2

Versions of packages imagemagick-6.q16 suggests:
pn  autotrace               <none>
pn  cups-bsd | lpr | lprng  <none>
ii  curl                    7.52.1-5
pn  enscript                <none>
ii  ffmpeg                  7:3.2.5-1
ii  gimp                    2.8.20-1
pn  gnuplot                 <none>
pn  grads                   <none>
pn  graphviz                <none>
ii  groff-base              1.22.3-9
pn  hp2xx                   <none>
pn  html2ps                 <none>
pn  imagemagick-doc         <none>
pn  libwmf-bin              <none>
ii  mplayer                 2:1.3.0-6
ii  povray                  1:3.7.0.0-9+b3
pn  radiance                <none>
pn  sane-utils              <none>
pn  texlive-base-bin        <none>
pn  transfig                <none>
pn  ufraw-batch             <none>
ii  xdg-utils               1.1.1-1

-- no debconf information



More information about the Pkg-gmagick-im-team mailing list