Page MenuHomePhabricator

Error creating thumbnail: Multiple SVG files are only allowed for PDF and (E)PS output.
Closed, DeclinedPublic

Description

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).


Version: 1.24rc
Severity: normal
URL: https://translatewiki.net/wiki/File:Firefox-logo.svg

Details

Reference
bz67733

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:30 AM
bzimport set Reference to bz67733.
bzimport added a subscriber: Unknown Object (MLST).
Nemo_bis created this task.Jul 9 2014, 3:14 PM

We have rsvg-convert version 2.40.2

Rillke added a comment.Jul 9 2014, 3:23 PM

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

Rillke added a comment.Jul 9 2014, 3:29 PM

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

Gilles raised the priority of this task from Normal to Unbreak Now!.Dec 4 2014, 10:19 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Normal.Dec 4 2014, 11:22 AM