mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #36335
[Bug 1269170] Re: GD Image not being created during cron run
** Changed in: mahara/15.04
Milestone: 15.04.8 => 15.04.9
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1269170
Title:
GD Image not being created during cron run
Status in Mahara:
Invalid
Status in Mahara 15.04 series:
Confirmed
Status in Mahara 15.10 series:
Invalid
Bug description:
I get the following warnings when cron job 'cron_site_data_daily' runs
- I'm not sure if it's specific to my data / machine / php version
(which is 5.4) but I thought I'd mention them here in case others were
having the same problems.
The failure means that the statistic graphics are not generated.
[WAR] 48 (lib/pear/Image/Canvas/GD/PNG.php:125) imagepng(): gd-png: fatal libpng error: Wrote palette index exceeding num_palette
Call stack (most recent first):
* log_message("imagepng(): gd-png: fatal libpng error: Wrote pal...", 8, true, true, "/mnt/data/s16/lib/pear/Image/Canvas/GD/PNG.php", 125) at /mnt/data/s16/lib/errors.php:430
* error(2, "imagepng(): gd-png: fatal libpng error: Wrote pal...", "/mnt/data/s16/lib/pear/Image/Canvas/GD/PNG.php", 125, array(size 1)) at Unknown:0
* imagepng(resource(#8087), "/mnt/data/uploaddir/images/grouptypes.png") at /mnt/data/s16/lib/pear/Image/Canvas/GD/PNG.php:125
* Image_Canvas_GD_PNG->save(array(size 1)) at /mnt/data/s16/lib/pear/Image/Graph.php:865
* Image_Graph->_done(array(size 1)) at /mnt/data/s16/lib/pear/Image/Graph.php:787
* Image_Graph->done(array(size 1)) at /mnt/data/s16/lib/registration.php:1164
* group_type_graph() at /mnt/data/s16/lib/registration.php:2163
* graph_site_data_daily() at /mnt/data/s16/lib/mahara.php:3009
* cron_site_data_daily() at /mnt/data/s16/lib/cron.php:142
[WAR] 48 (lib/pear/Image/Canvas/GD/PNG.php:125) imagepng(): gd-png error: setjmp returns error condition
Call stack (most recent first):
* log_message("imagepng(): gd-png error: setjmp returns error con...", 8, true, true, "/mnt/data/s16/lib/pear/Image/Canvas/GD/PNG.php", 125) at /mnt/data/s16/lib/errors.php:430
* error(2, "imagepng(): gd-png error: setjmp returns error con...", "/mnt/data/s16/lib/pear/Image/Canvas/GD/PNG.php", 125, array(size 1)) at Unknown:0
* imagepng(resource(#8087), "/mnt/data/uploaddir/images/grouptypes.png") at /mnt/data/s16/lib/pear/Image/Canvas/GD/PNG.php:125
* Image_Canvas_GD_PNG->save(array(size 1)) at /mnt/data/s16/lib/pear/Image/Graph.php:865
* Image_Graph->_done(array(size 1)) at /mnt/data/s16/lib/pear/Image/Graph.php:787
* Image_Graph->done(array(size 1)) at /mnt/data/s16/lib/registration.php:1164
* group_type_graph() at /mnt/data/s16/lib/registration.php:2163
* graph_site_data_daily() at /mnt/data/s16/lib/mahara.php:3009
* cron_site_data_daily() at /mnt/data/s16/lib/cron.php:142
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1269170/+subscriptions
References