Package: battery-stats
Version: 0.5.4-1
Severity: normal
File: /usr/bin/battery-graph

Hi,

I've just installed battery-stats, and launched battery-graph
immediately; I was faced with the following error on stderr:

awk: cmd. line:1: BEGIN {last_status=-1} { if ($3!=last_status && $3==2) 
{tchange = $1} last_status=$3 }        END { if (tchange>) {print (tchange)} 
awk: cmd. line:1:                                                               
                                                  ^ syntax error
awk: cmd. line:2:       else {print 1464077989} }
awk: cmd. line:2:       ^ syntax error

I haven't investigated further, but this might be caused by
having only one single line in the log.

Cheers, OdyX

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-proposed-updates'), (500, 
'proposed-updates'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 
'testing'), (500, 'stable'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages battery-stats depends on:
ii  gzip       1.6-5
ii  logrotate  3.8.7-2

Versions of packages battery-stats recommends:
ii  gnuplot            4.6.6-3
ii  libtext-csv-perl   1.33-1
ii  python             2.7.11-1
ii  python-matplotlib  1.5.1-1+b2

battery-stats suggests no packages.

-- no debconf information

Reply via email to