Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2017 13:19:10 +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-DZh6V4wmsr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218977-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218977-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #11 from iron@mail.ua ---
(In reply to Gasol Wu from comment #10)

2017-05-08 08:07:12,404 -- INFO -- Start Glances 2.9.1
2017-05-08 08:07:12,404 -- INFO -- CPython 2.7.13 and PSutil 5.2.2 detected
2017-05-08 08:07:12,416 -- INFO -- Start GlancesStandalone mode
2017-05-08 08:07:12,420 -- CRITICAL -- Error while initializing the sensors
plugin ([Errno 2] No such file or directory)
2017-05-08 08:07:12,421 -- ERROR -- Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/glances/stats.py", line 100,=
 in
_load_plugin
    plugin =3D __import__(plugin_script[:-3])
  File
"/usr/local/lib/python2.7/site-packages/glances/plugins/glances_sensors.py",
line 26, in <module>
    from glances.plugins.glances_batpercent import Plugin as BatPercentPlug=
in
  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

2017-05-08 08:07:12,421 -- CRITICAL -- Error while initializing the batperc=
ent
plugin ([Errno 2] No such file or directory)
2017-05-08 08:07:12,421 -- ERROR -- Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/glances/stats.py", line 100,=
 in
_load_plugin
    plugin =3D __import__(plugin_script[:-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

2017-05-08 08:07:57,029 -- INFO -- Stop Glances

--=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-DZh6V4wmsr>