| Summary: | glances crashes in glances_hddtemp.py plugin | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Benoît Audouard <baud123> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lewyssmith, marja11, pterjan, shlomif, yvesbrungard |
| Version: | 6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | glances-2.6.1-1.mga6.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Benoît Audouard
2017-10-29 23:52:56 CET
I saw in the changelog that shlomif bumped the version of the package to 2.10 and pterjan applied mass rebuild for python3.6, that's why I'm CCing them ;-) CC:
(none) =>
pterjan, shlomif (In reply to Benoît Audouard from comment #0) > glances crashes in mga6 when launched on my laptop due to glances_hddtemp.py > plugin (upstream bug #824 fixed in latest version) > > To reproduce : > [root@zenbaud ~]# glances > Traceback (most recent call last): > File "/usr/bin/glances", line 9, in <module> > load_entry_point('Glances==2.6.1', 'console_scripts', 'glances')() > File "/usr/lib/python3.5/site-packages/glances/__init__.py", line 133, in > main This command works fine as root or as my default user on my mageia v6 x86-64 VBox VM. How should we reproduce it exactly? > How should we reproduce it exactly? use a laptop, not a VM ;-) with a laptop hddtemp plugin is called, then you get the actual error which is the latest in the stack trace : > File "/usr/lib/python3.5/site-packages/glances/plugins/glances_hddtemp.py", line 122, in __update__ > hddtemp_current['value'] = float(temperature) if temperature != b'ERR' else temperature > ValueError: could not convert string to float: b'NOS' hence, the reason why, in order to debug it/make it work, I had to add the test != b'NOS' (unexpected and unmanaged value in the source code)
Marja Van Waes
2017-10-31 10:20:46 CET
CC:
(none) =>
marja11 This seems fixed upstream https://github.com/nicolargo/glances/blob/master/glances/plugins/glances_hddtemp.py#L128 Hello, This bug is persistent. See https://www.mageialinux-online.org/forum/topic-25289-0-241884+glances.php I think that a update is needed for Mga6 CC:
(none) =>
yves.brungard_mageia @ Benoît Sorry to have left you on this; Mageia 6 is by now no longer supported. Can you say whether you have the problem with Mageia 7? Assignee:
shlomif =>
bugsquad (In reply to Lewis Smith from comment #6) > @ Benoît > Sorry to have left you on this; Mageia 6 is by now no longer supported. > Can you say whether you have the problem with Mageia 7? No reply and since pterjan mentioned in 2017 that it was fixed upstream, we should have the fixed version in Mageia 7 So closing as OLD Resolution:
(none) =>
OLD |