import --help requires an X server

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
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

import --help requires an X server

Post by broucaries »

from ttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533494

A user this:

$ import --help
import: unable to open X server `'.

he was going to report this as an error, because no X11 messages need
be sent in order to print help information. But when cross-checking, he found that

$ import --help
Version: ImageMagick 6.3.7 03/14/09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
[...]

...works correctly, and that in the presence of X, the former command
prints something like "invalid arguments". In the case (as above)
where there is both no X server and I have provided invalid arguments,
import should complain about invalid arguments instead of / as well as
complaining about the missing X server.

Regards

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

Re: import --help requires an X server

Post by magick »

We have a patch for the problem you reported. Look for it in the ImageMagick Subversion trunk by tomorrow and in the next point release.
Post Reply