Source: battery-stats
Version: 0.5.1-1
Severity: normal

I've just installed battery-stats and tried the command:

   /usr/share/battery-stats/battery-stats-graph /var/log/battery-stats.csv

(as shown on
http://people.skolelinux.org/pere/blog/Full_battery_stats_collector_is_now_available_in_Debian.html
)

The result was a missing module traceback:

    Traceback (most recent call last):
      File "/usr/share/battery-stats/battery-stats-graph", line 24, in <module>
        import matplotlib
    ImportError: No module named matplotlib

Manually installing python-matplotlib of course fixes the issue.

(This also made me realize I hadn't installed matplotib yet, and saves
me from finding it out the hard way somewhere without internet access,
thanks :) )

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

-- no debconf information

Reply via email to