Issue 122577 - File Upload for SVG fails with error message
Summary: File Upload for SVG fails with error message
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Mwiki (show other issues)
Version: current
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 05:06 UTC by Rainer Bielefeld
Modified: 2020-02-08 09:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample Document (2.06 KB, image/svg)
2013-06-24 05:06 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2013-06-24 05:06:46 UTC
Created attachment 80904 [details]
Sample Document

Steps how to reproduce:
0. Download  Attachment 80902 [details] for Bug 122575 as sample document
1. Wiki: Log in at http://wiki.openoffice.org
2. Try to upload attached SVG via 'Toolbox -> Upload file'
   Bug: Error message


Additional Info:
----------------

a) Complete Error Message:
Error creating thumbnail: sh: 1: rsvg-convert: not found
convert: delegate failed `"rsvg-convert" -o "%o" "%i"' @ error/delegate.c/InvokeDelegate/1058.
convert: unable to open image `/x1/mwiki-images//tmp/magick-IZUdzKB4': @ error/blob.c/OpenBlob/2587.
convert: unable to load module `/usr/lib/ImageMagick-6.6.9/modules-Q16/coders/svg.la': file not found @ error/module.c/OpenModule/1276.
convert: unable to open file `/x1/mwiki-images//tmp/magick-IZUdzKB4': @ error/constitute.c/ReadImage/571.
convert: missing an image filename `PNG:/x1/mediawiki-1.20.4/images/tmp/transform_6f5636ac6902-1.png' @ error/convert.c/ConvertImageCommand/3011.

b) Problem is not limited to that particular very special document, same problem sith a simple smiley (see att.!)
Comment 1 Rob Weir 2013-06-25 20:50:05 UTC
Sounds like our install might be missing the configuration for rsvg-convert:

http://www.mediawiki.org/wiki/Manual:$wgSVGConverters
Comment 2 jan iversen 2013-06-29 12:42:14 UTC
We do have have support for svg, just like the old mwiki.

Support of svg requires installation of a couple of packages, meaning downtime for the server, therefore this has been postponed until after 4.0 release.

jan I.
Comment 3 Peter 2020-02-04 19:09:37 UTC
Seem to be fixed. I close this issue.

current	04:39, 24 June 2013	Thumbnail for version as of 04:39, 24 June 2013	744 × 1,052 (2 KB)	Rainerbielefeld (Talk | contribs)	Test document