Dear Robert,

I have the same problem, which is even worse from the fact, that the
cron is hanging up after this warning. This is exactly that what I'm
getting in the log file:

[23-Apr-2014 23:55:42 Europe/Berlin] [WAR] ef 
(D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125) imagepng(): 
gd-png:  fatal libpng error: Wrote palette index exceeding num_palette
[23-Apr-2014 23:55:42 Europe/Berlin] Call stack (most recent first):
[23-Apr-2014 23:55:42 Europe/Berlin]   * log_message("imagepng(): gd-png:  
fatal libpng error: Wrote pal...", 8, true, true, 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125) at 
D:\inetpub\wwwroot\mahara\lib\errors.php:430
[23-Apr-2014 23:55:42 Europe/Berlin]   * error(2, "imagepng(): gd-png:  fatal 
libpng error: Wrote pal...", 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125, array(size 1)) at 
Unknown:0
[23-Apr-2014 23:55:42 Europe/Berlin]   * imagepng(resource(#6896), 
"D:\maharadata/images/grouptypes.png") at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Canvas_GD_PNG->save(array(size 
1)) at D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:865
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->_done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:787
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\registration.php:1164
[23-Apr-2014 23:55:42 Europe/Berlin]   * group_type_graph() at 
D:\inetpub\wwwroot\mahara\lib\registration.php:2163
[23-Apr-2014 23:55:42 Europe/Berlin]   * graph_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\mahara.php:3014
[23-Apr-2014 23:55:42 Europe/Berlin]   * cron_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\cron.php:142
[23-Apr-2014 23:55:42 Europe/Berlin] 
[23-Apr-2014 23:55:42 Europe/Berlin] [WAR] ef 
(D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125) imagepng(): 
gd-png error: setjmp returns error condition
[23-Apr-2014 23:55:42 Europe/Berlin] Call stack (most recent first):
[23-Apr-2014 23:55:42 Europe/Berlin]   * log_message("imagepng(): gd-png error: 
setjmp returns error con...", 8, true, true, 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125) at 
D:\inetpub\wwwroot\mahara\lib\errors.php:430
[23-Apr-2014 23:55:42 Europe/Berlin]   * error(2, "imagepng(): gd-png error: 
setjmp returns error con...", 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125, array(size 1)) at 
Unknown:0
[23-Apr-2014 23:55:42 Europe/Berlin]   * imagepng(resource(#6896), 
"D:\maharadata/images/grouptypes.png") at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Canvas_GD_PNG->save(array(size 
1)) at D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:865
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->_done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:787
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\registration.php:1164
[23-Apr-2014 23:55:42 Europe/Berlin]   * group_type_graph() at 
D:\inetpub\wwwroot\mahara\lib\registration.php:2163
[23-Apr-2014 23:55:42 Europe/Berlin]   * graph_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\mahara.php:3014
[23-Apr-2014 23:55:42 Europe/Berlin]   * cron_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\cron.php:142
[23-Apr-2014 23:55:42 Europe/Berlin] 
[23-Apr-2014 23:55:42 Europe/Berlin] [WAR] ef 
(D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125) imagepng(): 
gd-png:  fatal libpng error: Wrote palette index exceeding num_palette
[23-Apr-2014 23:55:42 Europe/Berlin] Call stack (most recent first):
[23-Apr-2014 23:55:42 Europe/Berlin]   * log_message("imagepng(): gd-png:  
fatal libpng error: Wrote pal...", 8, true, true, 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125) at 
D:\inetpub\wwwroot\mahara\lib\errors.php:430
[23-Apr-2014 23:55:42 Europe/Berlin]   * error(2, "imagepng(): gd-png:  fatal 
libpng error: Wrote pal...", 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125, array(size 1)) at 
Unknown:0
[23-Apr-2014 23:55:42 Europe/Berlin]   * imagepng(resource(#6906), 
"D:\maharadata/images/viewtypes.png") at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Canvas_GD_PNG->save(array(size 
1)) at D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:865
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->_done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:787
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\registration.php:1338
[23-Apr-2014 23:55:42 Europe/Berlin]   * view_type_graph() at 
D:\inetpub\wwwroot\mahara\lib\registration.php:2164
[23-Apr-2014 23:55:42 Europe/Berlin]   * graph_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\mahara.php:3014
[23-Apr-2014 23:55:42 Europe/Berlin]   * cron_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\cron.php:142
[23-Apr-2014 23:55:42 Europe/Berlin] 
[23-Apr-2014 23:55:42 Europe/Berlin] [WAR] ef 
(D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125) imagepng(): 
gd-png error: setjmp returns error condition
[23-Apr-2014 23:55:42 Europe/Berlin] Call stack (most recent first):
[23-Apr-2014 23:55:42 Europe/Berlin]   * log_message("imagepng(): gd-png error: 
setjmp returns error con...", 8, true, true, 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125) at 
D:\inetpub\wwwroot\mahara\lib\errors.php:430
[23-Apr-2014 23:55:42 Europe/Berlin]   * error(2, "imagepng(): gd-png error: 
setjmp returns error con...", 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125, array(size 1)) at 
Unknown:0
[23-Apr-2014 23:55:42 Europe/Berlin]   * imagepng(resource(#6906), 
"D:\maharadata/images/viewtypes.png") at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Canvas_GD_PNG->save(array(size 
1)) at D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:865
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->_done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:787
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\registration.php:1338
[23-Apr-2014 23:55:42 Europe/Berlin]   * view_type_graph() at 
D:\inetpub\wwwroot\mahara\lib\registration.php:2164
[23-Apr-2014 23:55:42 Europe/Berlin]   * graph_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\mahara.php:3014
[23-Apr-2014 23:55:42 Europe/Berlin]   * cron_site_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\cron.php:142
[23-Apr-2014 23:55:42 Europe/Berlin] 
[23-Apr-2014 23:55:42 Europe/Berlin] [INF] ef 
(D:\inetpub\wwwroot\mahara\lib\cron.php:137) Running core cron 
cron_institution_data_daily
[23-Apr-2014 23:55:42 Europe/Berlin] [WAR] ef 
(D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125) imagepng(): 
gd-png:  fatal libpng error: Wrote palette index exceeding num_palette
[23-Apr-2014 23:55:42 Europe/Berlin] Call stack (most recent first):
[23-Apr-2014 23:55:42 Europe/Berlin]   * log_message("imagepng(): gd-png:  
fatal libpng error: Wrote pal...", 8, true, true, 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125) at 
D:\inetpub\wwwroot\mahara\lib\errors.php:430
[23-Apr-2014 23:55:42 Europe/Berlin]   * error(2, "imagepng(): gd-png:  fatal 
libpng error: Wrote pal...", 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125, array(size 1)) at 
Unknown:0
[23-Apr-2014 23:55:42 Europe/Berlin]   * imagepng(resource(#6929), 
"D:\maharadata/images/moodle_viewtypes.png") at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Canvas_GD_PNG->save(array(size 
1)) at D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:865
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->_done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:787
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\registration.php:1526
[23-Apr-2014 23:55:42 Europe/Berlin]   * institution_view_type_graph(array(size 
5)) at D:\inetpub\wwwroot\mahara\lib\registration.php:2254
[23-Apr-2014 23:55:42 Europe/Berlin]   * 
graph_institution_data_daily(array(size 5)) at 
D:\inetpub\wwwroot\mahara\lib\mahara.php:3074
[23-Apr-2014 23:55:42 Europe/Berlin]   * cron_institution_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\cron.php:142
[23-Apr-2014 23:55:42 Europe/Berlin] 
[23-Apr-2014 23:55:42 Europe/Berlin] [WAR] ef 
(D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125) imagepng(): 
gd-png error: setjmp returns error condition
[23-Apr-2014 23:55:42 Europe/Berlin] Call stack (most recent first):
[23-Apr-2014 23:55:42 Europe/Berlin]   * log_message("imagepng(): gd-png error: 
setjmp returns error con...", 8, true, true, 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125) at 
D:\inetpub\wwwroot\mahara\lib\errors.php:430
[23-Apr-2014 23:55:42 Europe/Berlin]   * error(2, "imagepng(): gd-png error: 
setjmp returns error con...", 
"D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD...", 125, array(size 1)) at 
Unknown:0
[23-Apr-2014 23:55:42 Europe/Berlin]   * imagepng(resource(#6929), 
"D:\maharadata/images/moodle_viewtypes.png") at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Canvas\GD\PNG.php:125
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Canvas_GD_PNG->save(array(size 
1)) at D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:865
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->_done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\pear\Image\Graph.php:787
[23-Apr-2014 23:55:42 Europe/Berlin]   * Image_Graph->done(array(size 1)) at 
D:\inetpub\wwwroot\mahara\lib\registration.php:1526
[23-Apr-2014 23:55:42 Europe/Berlin]   * institution_view_type_graph(array(size 
5)) at D:\inetpub\wwwroot\mahara\lib\registration.php:2254
[23-Apr-2014 23:55:42 Europe/Berlin]   * 
graph_institution_data_daily(array(size 5)) at 
D:\inetpub\wwwroot\mahara\lib\mahara.php:3074
[23-Apr-2014 23:55:42 Europe/Berlin]   * cron_institution_data_daily() at 
D:\inetpub\wwwroot\mahara\lib\cron.php:142
[23-Apr-2014 23:55:42 Europe/Berlin] 
[23-Apr-2014 23:55:42 Europe/Berlin] [INF] ef 
(D:\inetpub\wwwroot\mahara\lib\cron.php:501) Skipping long-running cron job 
core_import_process_queue (Wed, 23 Apr 2014 08:46:15 +0200).
[23-Apr-2014 23:55:42 Europe/Berlin] [INF] ef 
(D:\inetpub\wwwroot\mahara\lib\cron.php:168) ---------- cron finished Wed, 23 
Apr 2014 23:55:42 +0200 ----------
[23-Apr-2014 23:57:00 Europe/Berlin] [INF] 86 
(D:\inetpub\wwwroot\mahara\lib\cron.php:30) ---------- cron running Wed, 23 Apr 
2014 23:57:00 +0200 ----------

Does anyone have any idea how to solve this issue?

-- 
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:
  New

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

Reply via email to