convert -list exits with return-code of 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
bablokb
Posts: 29
Joined: 2005-06-11T06:21:59-07:00

convert -list exits with return-code of 1

Post by bablokb »

Hello,

running the -list operator of convert (e.g. convert -list colorspace) will result in a return-code of 1. Since there is no error-condition, a return-code of 0 is expected.

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

Re: convert -list exits with return-code of 1

Post by fmw42 »

works fine on IM 6.6.1-5 Q16 Mac OSX tiger. what version of IM are you using? if old, then consider upgrading. also is there a possibility that you have more than one IM version on your system and they are getting confused.
bablokb
Posts: 29
Joined: 2005-06-11T06:21:59-07:00

Re: convert -list exits with return-code of 1

Post by bablokb »

Sorry, my version is

ImageMagick 6.5.4-8 2009-10-24 Q16 OpenMP (only version on my system).

running on linux kernel 2.6.27.7 (32bit).

I will try an upgrade, but usually this is not always feasible due to distribution-dependencies. A confirmation that a newer version runs correctly under linux would be helpful.

Thanks, Bernhard
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert -list exits with return-code of 1

Post by magick »

We can reproduce the problem you posted and have a patch to fix it. Look for it in the next point release of ImageMagick available within a few days. Thanks.
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: convert -list exits with return-code of 1

Post by Drarakel »

Not the same problem, but also about "convert -list" (don't want to start a new thread for this):

When I type "convert -list Module", I get that list, but I also get the following message at the end (with IM v6.6.1-5):

Code: Select all

convert: image coder signature mismatch `XTRN':   d09f50 !=    66110 @ error/module.c/OpenModule/1271.
Can I safely ignore that?

And the eh.. list of the list types in the documentation seems to be cut off. (Or was it deliberately shortened?)
http://www.imagemagick.org/script/comma ... s.php#list
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -list exits with return-code of 1

Post by fmw42 »

at http://www.imagemagick.org/script/comma ... s.php#list

convert -list list

will generate that full list.

convert -list type

is something completely different.

The word type in red italics means to choose one of the following names in the list that follows.



I have no problems with the result of

convert -list Module

and no error message with IM 6.6.1-5 Q16 Mac OSX Tiger
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: convert -list exits with return-code of 1

Post by Drarakel »

fmw42 wrote:convert -list list
I know. But it seemed odd to me that when it says "Choose from these list types", that only the lower half of the result of "convert -list list" is presented there.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -list exits with return-code of 1

Post by fmw42 »

I now see what you mean. I will see if I can fix that later today. it is a documentation problem not as I thought a convert -list list issue.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -list exits with return-code of 1

Post by fmw42 »

I have updated this list according to what I get from convert -list list in IM 6.6.1-5 Q16 Mac OSX Tiger. It may take a day to filter down to the normal site.
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: convert -list exits with return-code of 1

Post by Drarakel »

Thanks! (The list in the documentation is now also identical to my "convert -list list" output.)
Post Reply