Last modified: 2014-07-11 23:08:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69733, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67733 - Error creating thumbnail: Multiple SVG files are only allowed for PDF and (E)PS output.
Error creating thumbnail: Multiple SVG files are only allowed for PDF and (E)...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.24rc
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://translatewiki.net/wiki/File:F...
:
Depends on:
Blocks: svg 39480
  Show dependency treegraph
 
Reported: 2014-07-09 15:14 UTC by Nemo
Modified: 2014-07-11 23:08 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2014-07-09 15:14: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).
Comment 2 Nemo 2014-07-09 15:22:30 UTC
We have rsvg-convert version 2.40.2
Comment 3 Rainer Rillke @commons.wikimedia 2014-07-09 15:23:54 UTC
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
Comment 4 Rainer Rillke @commons.wikimedia 2014-07-09 15:29:33 UTC
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
Comment 5 Bawolff (Brian Wolff) 2014-07-09 21:25:09 UTC
(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.)
Comment 6 Nemo 2014-07-10 08:19:03 UTC
(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
Comment 7 Nemo 2014-07-10 08:20:12 UTC
Rillke's config has a "-o" more though.
Comment 8 Gerrit Notification Bot 2014-07-11 16:34:13 UTC
Change 145581 had a related patch set uploaded by Nemo bis:
Install and fix rsvg-convert

https://gerrit.wikimedia.org/r/145581
Comment 9 Gerrit Notification Bot 2014-07-11 17:00:23 UTC
Change 145581 merged by jenkins-bot:
Copy a known-working command config for rsvg-convert

https://gerrit.wikimedia.org/r/145581
Comment 10 Nemo 2014-07-11 17:08:41 UTC
We're now using the same command as Rillke's above but it still fails. The ball is in MediaWiki's court again. :)
Comment 11 Bawolff (Brian Wolff) 2014-07-11 23:04:26 UTC
It looks like its working...
Comment 12 Nemo 2014-07-11 23:08:36 UTC
Uh, right. Maybe puppet was still running. Now we only have to fight with rsvg rendering bugs. :D

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links