Package: backuppc
Version: 3.1.0-4lenny1
Severity: minor

Hi,

I'm not quite sure if this is really a problem of backuppc.

When displaying the status page with the RRD graph, my webserver spits out
the following message:

| Pango-CRITICAL **: pango_context_load_font: assertion 
`pango_font_description_get_family (desc) != NULL' failed

A quick fix was to explicitly pass the Font for the graph to be generated:

In /usr/share/backuppc/lib/BackupPC/CGI/GeneralInfo.pm:51

| print `/usr/bin/rrdtool graph - --imgformat=PNG --start=end-${weeks}w 
--end=-300 --title="BackupPC Pool Size (${weeks} weeks)" --base=1000 
--height=100 --width=600 --alt-autoscale-max --lower-limit=0 
--vertical-label="" --slope-mode --font TITLE:10:Times --font AXIS:8:Times 
--font LEGEND:8:Times --font UNIT:8:Times -c BACK#FFFFFF 
DEF:ao="$LogDir/pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in 
bytes"  GPRINT:a:LAST:"Current\\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\\:%8.2lf 
%s" GPRINT:a:MAX:"Maximum\\:%8.2lf %s\\n"`;

Cheers,
MB

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (700, 'stable'), (655, 'MB'), (200, 'testing'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.5-goliath (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to