[SOLVED] (convert: Zero sigma not permitted)
|
tsg
Joined: 2009-09-04
Posts: 9 |
Posted: Mon, 2009-10-26 15:13
|
|
Hello, I have got a problem generating thumbs again... But I think it's new one. Generally thumbnailgeneration works, but a few images an not resized, instead the full size image is used as thumb. It fails only for a small number of totally "normal" images. There no special chars or brackets in the name, the pictures big, but not of huge size (about 5 to 6 mb). They are in so special album, or wuteva. Thumbnail generation just seems to fail "randomly". In the apache error log there are several errors like the following: convert: Zero sigma not permitted `/usr/www/users/gallery3/var/thumbs/<Albumname>/<SubAlbumName>/k2img--5eab36213976959a23a70e308a86a3292862d1f5.jpg'. But I don't know what that means O.o I already tried to increase the memory_limit of php up to 1GB now, but that didn't help and I also tried to switch to GraphicsMagic, instead of ImageMagick, but still some thumbnails are not generated. With GraphicsMagic, there a no errors in the log file. All pictures are of the same format, even made with the same camera, but still most of them work and some others don't. Strange! Any idea on that? Thank you! Edit1: I changed the title of this thread to a more specific one |
|
| Login or register to post comments |

Posts: 17349
Random issues are hard to diagnose.
Post an image.
Never seen that error before (convert: Zero sigma not permitted) and google was not much help either.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 9
Yes of course random issues are hard, but at least I wanted to let you know somehow. Also I cannot send you an image, because it does not happen to specific images only. Even if I download and reupload the same file, the error does not occur.
I also found another warning in the apache log i didn't see before:
According to a quick google search this has got to do with the maximum number of concurrent php calls. Does gallery use some heavy parallelization here when creating thumbs? maybe that is somehow related to the problem...
Posts: 9
Solved! It seems that the problem was caused by some kind of process monitoring / ids of the host server that decided to kill the ImageMagick processes. I'm not sure why, but maybe it took the high number of processes for a DoS attack. The hoster disabled that system. Now it works. So it is not directly a problem of gallery3, but might happen to other users in future as well.
Posts: 2
Hi,
I get the same error messages, but thumbnails and resized photos look good.
The apache error log lists this error for ALL images that I add using either Server Add or directly. I've uploaded more than 5000 jpg images from 16 different photographers (some photos postprocessed, some not), so it's unlikely that it has anything to do with the files.
Is there a way to see the command line arguments for the convert command? Then I could debug a little more.
Thanks,
Florian
Posts: 11013
convert -h spits out all of the arguments for me
Try man convert
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 2
sorry, I meant: how can I see with which exact arguments is G3 calling convert?
Florian
Posts: 11013
I think under /modules/gallery/helpers/ graphics.php and gallery_graphics.php
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here