Nov 05 2010

Munin: Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

Category: Articles,Linux administrationFractalizeR @ 5:15 pm

To fix this bug, you need to patch a file /usr/share/munin/munin-graph in the following way:

After line

use Time::HiRes;

add

if ($RRDs::VERSION >= 1.3) { use Encode; }

After line

print "\n\nrrdtool \"graph\" \"", join ("\"\n\t\"",@complete), "\"\n" if $DEBUG;

add

if ( $RRDs::VERSION >= 1.3 ) {
     @complete = map {
          $_ = encode("utf8", (decode("latin1", $_)));
     } @complete;
}

Somehow this bug is still in place in latest CentOS repos as of 05.11.2010. Don’t know why.




				

Leave a Reply

You must be logged in to post a comment. Login now.