Bug 4366 - Configure Mediawiki to use gd instead of convert
Summary: Configure Mediawiki to use gd instead of convert
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Oliver Burger
QA Contact:
URL: https://bugs.mageia.org/show_bug.cgi?...
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2012-01-31 18:48 CET by claire robinson
Modified: 2012-12-02 14:31 CET (History)
2 users (show)

See Also:
Source RPM: mediawiki
CVE:
Status comment:


Attachments

Description claire robinson 2012-01-31 18:48:32 CET
A problem was first noticed on Mageia wiki where some images would not upload correctly and produce errors.

See bug 3202

Error creating thumbnail: /usr/bin/convert: error while loading shared libraries: librt.so.1: failed to map segment from shared object: Cannot allocate memory

This is true of the mediawiki package in mageia too. It was apparently cured in wiki.mageia.org by using gd instead of convert.

Can this fix be applied to the mageia package also?

Images uploaded there which caused the error are now displaying correctly so it should be possible to correct this without requiring images to be imported again.

Thanks!
Comment 1 claire robinson 2012-01-31 19:07:26 CET
http://www.mediawiki.org/wiki/Manual:Image_Administration#Image_thumbnailing

Howto info here

# grep  wgUseImageMagick /usr/share/mediawiki/config/Installer.php
{$magic}\$wgUseImageMagick = true;

To use GD it would be 'false'. It would have to require php-gd too.

I'm not sure how to prevent having to re-upload all affected images though
Thierry Vignaud 2012-01-31 19:10:54 CET

CC: (none) => thierry.vignaud

Comment 2 Manuel Hiebel 2012-01-31 19:16:40 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => oliver.bgr

Comment 3 claire robinson 2012-01-31 19:27:01 CET
Actually, just changing the setting in the created mediawiki works, correcting the problem on existing wikis.


For me in /var/www/html/wiki/LocalSettings.php as that's where I created it.

When browsing the wiki all images are then fixed.

I doubt that is something that can be done automatically as they can be installed anywhere, so maybe add a message to display when updating.
Comment 4 Michael Scherer 2012-01-31 21:44:53 CET
Well, maybe someone could also see with upstream if there is a better fix.

CC: (none) => misc

Comment 5 Marja Van Waes 2012-07-06 15:03:54 CEST
Please look at the bottom of this mail to see whether you're the assignee of this  bug, if you don't already know whether you are.


If you're the assignee:

We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead.

If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard.

Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why.

Thanks :)

**************************** 

@ the reporter and persons in the cc of this bug:

If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us.

@ the reporter of this bug

If you didn't reply yet to a request for more information, please do so within two weeks from now.

Thanks all :-D
Comment 6 Manuel Hiebel 2012-11-05 16:51:36 CET
This message is a reminder that Mageia 1 is nearing its end of life. 
In approximately 25 days from now, Mageia will stop maintaining and issuing 
updates for Mageia 1. At that time this bug will be closed as WONTFIX (EOL) if it 
remains open with a Mageia 'version' of '1'.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 1's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not 
be able to fix it before Mageia 1 is end of life.  If you would still like to see 
this bug fixed and are able to reproduce it against a later version of Mageia, 
you are encouraged to click on "Version" and change it against that version 
of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad
Comment 7 Manuel Hiebel 2012-12-02 14:31:33 CET
Mageia 1 changed to end-of-life (EOL) status on ''1st December''. Mageia 1 is no 
longer maintained, which means that it will not receive any further security or 
bug fix updates. As a result we are closing this bug. 

If you can reproduce this bug against a currently maintained version of Mageia 
please feel free to click on "Version" change it against that version of Mageia and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


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