Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2017 15:14:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218977] sysutils/py-glances: Failed to start after update
Message-ID:  <bug-218977-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218977

            Bug ID: 218977
           Summary: sysutils/py-glances: Failed to start after update
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: iron@mail.ua
                CC: gasol.wu@gmail.com
                CC: gasol.wu@gmail.com
             Flags: maintainer-feedback?(gasol.wu@gmail.com)

Hello,

System: 11.0-STABLE r317528
After update from py27-glances-2.8.1 to py27-glances-2.8.8:

# glances=20
Traceback (most recent call last):
  File "/usr/local/bin/glances", line 11, in <module>
    load_entry_point('Glances=3D=3D2.8.8', 'console_scripts', 'glances')()
  File "/usr/local/lib/python2.7/site-packages/glances/__init__.py", line 2=
25,
in main
    start_standalone(config=3Dconfig, args=3Dargs)
  File "/usr/local/lib/python2.7/site-packages/glances/__init__.py", line 1=
05,
in start_standalone
    standalone =3D GlancesStandalone(config=3Dconfig, args=3Dargs)
  File "/usr/local/lib/python2.7/site-packages/glances/standalone.py", line=
 43,
in __init__
    self.stats =3D GlancesStats(config=3Dconfig, args=3Dargs)
  File "/usr/local/lib/python2.7/site-packages/glances/stats.py", line 43, =
in
__init__
    self.load_modules(self.args)
  File "/usr/local/lib/python2.7/site-packages/glances/stats.py", line 77, =
in
load_modules
    self.load_plugins(args=3Dargs)
  File "/usr/local/lib/python2.7/site-packages/glances/stats.py", line 96, =
in
load_plugins
    plugin =3D __import__(os.path.basename(item)[:-3])
  File
"/usr/local/lib/python2.7/site-packages/glances/plugins/glances_batpercent.=
py",
line 38, in <module>
    psutil.sensors_battery()
  File "/usr/local/lib/python2.7/site-packages/psutil/__init__.py", line 22=
63,
in sensors_battery
    return _psplatform.sensors_battery()
  File "/usr/local/lib/python2.7/site-packages/psutil/_psbsd.py", line 411,=
 in
sensors_battery
    percent, minsleft, power_plugged =3D cext.sensors_battery()
OSError: [Errno 2] No such file or directory

I've tested update on several servers. Result is the same.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218977-13>