Ugly error message if svg delegate fail

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

Ugly error message if svg delegate fail

Post by broucaries »

If we do not install svg delegate, it result on a ugly error dumping the whole svg file.

Could we get better errors in this case.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627256
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Ugly error message if svg delegate fail

Post by broucaries »

Any news of this bug ?

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

Re: Ugly error message if svg delegate fail

Post by magick »

We don't consider this a bug but a wishlist item, making it less of a priority. We will attend to the problem but currently do not have an ETA.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Ugly error message if svg delegate fail

Post by broucaries »

Any news fo this ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Ugly error message if svg delegate fail

Post by magick »

If ImageMagick is built with support for the libXML2 or libRSVG delegate libraries, SVG will render as expected. Without either of these, ImageMagick reverts to a delegate program, the command-line program rsvg as defined in delegates.xml. If that delegate is missing, you get the "delegate failed" exception. The message seems reasonable to us. The delegate fails, the user looks for rsvg and it can't be found-- solution, install the RPM that supports the rsvg command line and conversion from SVG to another format succeeds.
Post Reply