Topic on Project:Support desk

[RESOLVED] How do I fix "rsvg: not found convert"?

4
88.130.80.171 (talkcontribs)

Hi guys,

I do not get thumbnails for SVGs. Instead of the thumbnail I only see Error creating thumbnail: sh: rsvg: not found convert: delegate failed `"rsvg" "%i" "%o"' @ error/delegate.c/InvokeDelegate/1061. convert: unable to open image `/tmp/magick-XXECMttE': gick-6.6.0/modules-Q16/coders/svg.la @ error/blob.c/OpenBlob/2489. convert: unable to load module `/usr/lib/ImageMagick-6.6.0/modules-Q16/coders/svg.la': file not found @ error/module.c/OpenModule/1229. convert: unable to open file `/tmp/magick-XXECMttE': es/8/8d/Logo.svg @ error/constitute.c/ReadImage/572. convert: missing an image filename `PNG:/tmp//transform_4d51a77323c2-1.png' @ error/convert.c/ConvertImageCommand/2940..

How can I fix that?

AKlapper (WMF) (talkcontribs)

Is ImageMagick installed?

88.130.80.171 (talkcontribs)

Yes, it is in usr/bin. When I do "convert --version" on the shell I get the version number.

88.130.80.171 (talkcontribs)

The package was not working properly; that was a debian bug. I could now fix it. After that creating a PNG out of the original SVG worked, but for the thumbnails I got the error "libgomp: Thread creation failed: Resource temporarily unavailable". I could fix that by setting $wgMaxShellMemory = 202400; in LocalSettings.php.

Reply to "[RESOLVED] How do I fix "rsvg: not found convert"?"