Safiria Posted December 6, 2010 Posted December 6, 2010 When I try to view a thumbnail autogenerated from an SVG in MediaWiki, I get the following error: Error creating thumbnail: sh: rsvg: command not found convert: delegate failed `"rsvg" "%i" "%o"' @ error/delegate.c/InvokeDelegate/1061. convert: unable to open image `/tmp/magick-XXj8AMD5': @ error/blob.c/OpenBlob/2514. convert: unable to load module `/usr/lib64/ImageMagick-6.6.3/modules-Q16/coders/svg.la': librsvg-2.so.2: cannot open shared object file: No such file or directory @ error/module.c/OpenModule/1276. convert: unable to open file `/tmp/magick-XXj8AMD5': @ error/constitute.c/ReadImage/571. convert: missing an image filename `PNG:/home/safiria/public_html/wiki/images/thumb/e/ec/CoA_Safirian_Government.svg/523px-CoA_Safirian_Government.svg.png' @ error/convert.c/ConvertImageCommand/2970.
Wizard Posted December 6, 2010 Posted December 6, 2010 This support request is being escalated to our root admin.
Ashoat Posted December 6, 2010 Posted December 6, 2010 Sorry, but I have no idea have ImageMagick works. Have you tried contacting the people behind it? They would know what to do better than I would.
Guest Geoff Posted December 6, 2010 Posted December 6, 2010 That looks like a shell command: rsvg %i %o Not sure; but I know shell is not allowed at heliohost, and mediawiki does use some shell_exec() in their code.
Ashoat Posted December 7, 2010 Posted December 7, 2010 Looks like it's a shell command, but yum reports that the system has librsvg2 installed: Installed Packages librsvg2.i386 2.16.1-1.el5 installed librsvg2.x86_64 2.16.1-1.el5 installed librsvg2-devel.i386 2.16.1-1.el5 installed librsvg2-devel.x86_64 2.16.1-1.el5 installed
Recommended Posts