On Sat, 22 May 2010 16:13:55 +0000, Dan Nessett wrote:
On Sat, 22 May 2010 14:02:57 +0200, Platonides wrote:
> Dan Nessett wrote:
>> To see what happens, I tried to convert the file manually from my
>> command line prompt. The command I used was
>>
>> convert -thumbnail 600x600
>>
International_Space_Station_Space_Shuttle_Atlantis_Sun_Transit_2010.png
thumb.png
It worked perfectly.
Might there be a problem related to the long file name?
I don't think so.
Try increasing the values $wgMaxShellMemory, $wgMaxShellFileSize,
$wgMaxShellTime
You can also enable debug and look for the line doTransform:Running
custom convert command xxxx to find the exact command that is being
run.
Thanks. I will try all of these suggestions and report back.
However, I did some research and it appears there is a long-standing
(over 3 years) bug that reports problems producing thumbnails for large
png files (see
https://bugzilla.wikimedia.org/show_bug.cgi?id=9497).
This bug is still open, so it is possible I have run up against an
unresolved problem.
I tried increasing the values of $wgMaxShellMemory and
$wgMaxShellFileSize, first from 102400 to 409600 and then to 819200
(these values are in KB). This did not fix the problem (our wiki is
running 1.13.2, so $wgMaxShellTime is unavailable - it was introduced in
1.14). No error message is produced, but the thumbnail is completely
transparent with no visible content. So, it appears the bug I mentioned
in a previous post is the culprit.
--
-- Dan Nessett