I think Bug 853662 may need to be backported as the problem with the images not being created is partly due to the compatibility of newer OS and the pear graphing library.
If we can backport the js graph stuff it would take care of the need to generate graph images (using GD) at all. -- 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 ePortfolio: Confirmed 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

