[Mediawiki-l] Enabling SVG support

Emanuele D'Arrigo manu3d at gmail.com
Fri Aug 17 18:36:05 UTC 2007


On 8/17/07, Emanuele D'Arrigo <manu3d at gmail.com> wrote:
> On 8/17/07, Brion Vibber <brion at wikimedia.org> wrote:
> > > $wgSVGConverter = 'batik';
> > > $wgSVGConverterPath = '$IP/extensions/SVGextension/batik-1.7';
> >
> > Use double-quotes on that string so that the $IP variable is interpolated.

Ah! I managed to get some debug output. It is best if you cut and paste it into
an editor, to have uninterrupted lines.

Notice the line starting with "thumbnail failed" Is it possible that
the double quotes
before "batik-rasterizer.jar" are the problem? Also, should I be
concerned with the
lines ending with "no handler found"?

------------------------
MediaHandler::getHandler: no handler found for .
MediaHandler::getHandler: no handler found for .
SvgHandler::doTransform: java -Djava.awt.headless=true -jar
"D:/Inetpub/wwwroot5/MediaWiki/extensions/SVGextension/batik-1.7/"batik-rasterizer.jar
-w 180 -d "D:\Inetpub\wwwroot\MediaWiki/uploads/thumb/0/0a/SymbolWaitVote.svg/180px-SymbolWaitVote.svg.png"
"D:\Inetpub\wwwroot\MediaWiki/uploads/0/0a/SymbolWaitVote.svg" 2>&1
wfShellExec: "java -Djava.awt.headless=true -jar
"D:/Inetpub/wwwroot5/MediaWiki/extensions/SVGextension/batik-1.7/"batik-rasterizer.jar
-w 180 -d "D:\Inetpub\wwwroot\MediaWiki/uploads/thumb/0/0a/SymbolWaitVote.svg/180px-SymbolWaitVote.svg.png"
"D:\Inetpub\wwwroot\MediaWiki/uploads/0/0a/SymbolWaitVote.svg" 2>&1"
thumbnail failed on mediawiki.mydomain.com: error -1 "" from "java
-Djava.awt.headless=true -jar
"D:/Inetpub/wwwroot5/MediaWiki/extensions/SVGextension/batik-1.7/"batik-rasterizer.jar
-w 180 -d "D:\Inetpub\wwwroot\MediaWiki/uploads/thumb/0/0a/SymbolWaitVote.svg/180px-SymbolWaitVote.svg.png"
"D:\Inetpub\wwwroot\MediaWiki/uploads/0/0a/SymbolWaitVote.svg" 2>&1"
OutputPage::sendCacheControl: private caching;  **
Request ended normally
------------------------


Manu



More information about the MediaWiki-l mailing list