Last modified: 2014-07-11 23:08:36 UTC
I now get this error for this SVG after purging the cache. We've just upgraded to Ubuntu 2014.04. Same on https://translatewiki.net/wiki/File:Waymarked_Trails_logo.svg?uselang=en and others on twn after purging the cache by reupload. This was a [[mw:svgo]] optimised version, but using conservative settings doesn't help and even the old version fails, while it didn't before reuploading (and it still does if I revert and delete the new version).
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/782
We have rsvg-convert version 2.40.2
MolWiki runs trusty and it, at least does not fail: http://mol.wmflabs.org/index.php/File:Waymarked_Trails_logo.svg rillke@mediahandler-tests-mol:~$ rsvg -v rsvg-convert version 2.40.2
I am using rsvg-convert like this: // SVG support $wgAllowTitlesInSVG = true; $wgSVGConverter = 'rsvg'; $wgSVGConverters['rsvg'] = '$path/rsvg-convert -w $width -h $height $input -o $output'; rillke@mediahandler-tests-mol:~$ rsvg-convert -v rsvg-convert version 2.40.2
(In reply to Nemo from comment #2) > We have rsvg-convert version 2.40.2 To clarify, you're using rsvg-convert? (Its not the default). (If you're unsure, easy way to find it is enable debug logging, purge the file description page, load the file description page and look for what the wfShellExec command is in the debug log.)
(In reply to Bawolff (Brian Wolff) from comment #5) > To clarify, you're using rsvg-convert? (Its not the default). Looks so: https://git.wikimedia.org/blob/translatewiki.git/ed19bf4bbba1ff94a8b2bbcec121fc4b68828922/TranslatewikiSettings.php#L33
Rillke's config has a "-o" more though.
Change 145581 had a related patch set uploaded by Nemo bis: Install and fix rsvg-convert https://gerrit.wikimedia.org/r/145581
Change 145581 merged by jenkins-bot: Copy a known-working command config for rsvg-convert https://gerrit.wikimedia.org/r/145581
We're now using the same command as Rillke's above but it still fails. The ball is in MediaWiki's court again. :)
It looks like its working...
Uh, right. Maybe puppet was still running. Now we only have to fight with rsvg rendering bugs. :D