I am trying to enable SVG on my wiki but I keep getting the error message pasted below. I have the following in my localsettings.php and my image/thumb directory is set to 777:
$wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgImageMagickTempDir = true;
$wgUseCommaCount = true;
$wgFileExtensions[] = 'svg'; $wgAllowTitlesInSVG = true;
$wgSVGConverter = 'ImageMagick';
ERROR MESSAGE:
Error creating thumbnail: sh: wmf2eps: command not found convert: Delegate failed `"wmf2eps" -o "%o" "%i"'. convert: unable to open image `/tmp/magick-XXgCofEd': No such file or directory. convert: unable to open file `/tmp/magick-XXgCofEd': No such file or directory. convert: missing an image filename `PNG:/home/thecatho/public_html/w/ images/thumb/b/bd/Test.svg/462px-Test.svg.png'.
________________________________ Caitlin Dempsey Editor, GIS Lounge editor@gislounge.com http:.gislounge.com
Twitter: http://twitter.com/geospatialnews Facebook: http://www.facebook.com/pages/GIS-Lounge/130772808823
Caitlin Dempsey wrote:
I am trying to enable SVG on my wiki but I keep getting the error message pasted below. I have the following in my localsettings.php and my image/thumb directory is set to 777:
$wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgImageMagickTempDir = true;
$wgUseCommaCount = true;
$wgFileExtensions[] = 'svg'; $wgAllowTitlesInSVG = true;
$wgSVGConverter = 'ImageMagick';
ERROR MESSAGE:
Error creating thumbnail: sh: wmf2eps: command not found convert: Delegate failed `"wmf2eps" -o "%o" "%i"'. convert: unable to open image `/tmp/magick-XXgCofEd': No such file or directory. convert: unable to open file `/tmp/magick-XXgCofEd': No such file or directory. convert: missing an image filename `PNG:/home/thecatho/public_html/w/ images/thumb/b/bd/Test.svg/462px-Test.svg.png'.
Your svg probably has an embedded wmf file. And as the error message says, you don't have wmf2eps program installed.
mediawiki-l@lists.wikimedia.org