7.0.1-4 convert -version returns exit code 1

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
initialzero
Posts: 5
Joined: 2016-08-12T11:01:26-07:00
Authentication code: 1151

7.0.1-4 convert -version returns exit code 1

Post by initialzero »

OSX binary provided fromm ImageMagick
Version: ImageMagick 7.0.1-4 Q16 x86_64 2016-05-15 http://www.imagemagick.org

Convert -version or -help always returns 1. This isn't the same behavior experienced in 6.x.

Experienced results
convert -version
echo $?
1

Expected results
convert -version
echo $?
0
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 7.0.1-4 convert -version returns exit code 1

Post by fmw42 »

Works fine for me in IM 6.9.5-5 and 7.0.2-7 on Mac OSX SnowLeopard

convert -version
Version: ImageMagick 6.9.5-5 Q16 x86_64 2016-08-07 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib
echo $?
0

im7 convert -version
Version: ImageMagick 7.0.2-7 Q16 x86_64 2016-08-07 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib
echo $?
0

im7 magick -version
Version: ImageMagick 7.0.2-7 Q16 x86_64 2016-08-07 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib
echo $?
0

Perhaps you should upgrade and check again.
initialzero
Posts: 5
Joined: 2016-08-12T11:01:26-07:00
Authentication code: 1151

Re: 7.0.1-4 convert -version returns exit code 1

Post by initialzero »

It's only convert for me. I will try upgrading.

$ magick -version
Version: ImageMagick 7.0.1-4 Q16 x86_64 2016-05-15 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI
Delegates (built-in): bzlib freetype jng jpeg lcms png
$ echo $?
0

$ convert -version
Version: ImageMagick 7.0.1-4 Q16 x86_64 2016-05-15 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI
Delegates (built-in): bzlib freetype jng jpeg lcms png
$ echo $?
1
initialzero
Posts: 5
Joined: 2016-08-12T11:01:26-07:00
Authentication code: 1151

Re: 7.0.1-4 convert -version returns exit code 1

Post by initialzero »

User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 7.0.1-4 convert -version returns exit code 1

Post by fmw42 »

Then that is a an issue that needs to be fixed. The Mac OSX binary should be at the same level as all the other binaries.

Are you using the same OSX version as listed for that binary download? You do not say what OSX version you have!
initialzero
Posts: 5
Joined: 2016-08-12T11:01:26-07:00
Authentication code: 1151

Re: 7.0.1-4 convert -version returns exit code 1

Post by initialzero »

initialzero wrote:OSX binary provided fromm ImageMagick
Version: ImageMagick 7.0.1-4 Q16 x86_64 2016-05-15 http://www.imagemagick.org
The first post mentions OSX and version.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 7.0.1-4 convert -version returns exit code 1

Post by fmw42 »

What I was asking is what version OSX, not what version IM?
initialzero
Posts: 5
Joined: 2016-08-12T11:01:26-07:00
Authentication code: 1151

Re: 7.0.1-4 convert -version returns exit code 1

Post by initialzero »

OSX 10.11.6 (15G31) El Capitan
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 7.0.1-4 convert -version returns exit code 1

Post by fmw42 »

OK, thanks. Just checking that your OS is compatible with the current IM Mac binary.
Post Reply