LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2017, 12:44 AM   #1
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 393
Blog Entries: 4

Rep: Reputation: 80
monitoring prog "glances" crashing


Hi,
I installed a monitoring tool "glances" now it crashes.
The first few times it was ok, but now it crashes.

Code:
nigel@endor ~]$ glances
Traceback (most recent call last):
  File "/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 130, in main
    args=core.get_args())
  File "/usr/lib/python3.5/site-packages/glances/standalone.py", line 67, in __init__
    self.stats.update()
  File "/usr/lib/python3.5/site-packages/glances/stats.py", line 154, in update
    self._plugins[p].update()
  File "/usr/lib/python3.5/site-packages/glances/plugins/glances_hddtemp.py", line 62, in update
    self.stats = self.glancesgrabhddtemp.get()
  File "/usr/lib/python3.5/site-packages/glances/plugins/glances_hddtemp.py", line 145, in get
    self.__update__()
  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'UNK'
cheers.
 
Old 08-27-2017, 01:51 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,783

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
Haven't looked at it in ages, but fired up ok on Fedora 26 - version is 2.7.1 in my case.
 
Old 08-27-2017, 08:12 PM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 393

Original Poster
Blog Entries: 4

Rep: Reputation: 80
I can get to work if I do this:

Code:
glances --disable-hddtemp
 
  


Reply

Tags
glances, monitoring, python


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wha does error message "UNKNOWN VERSION (-1 FOR PROG 100003 NFSD)" means ? smilemukul Linux - Server 3 10-28-2014 02:05 PM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 04:22 AM
? Prog to work with Window's NetMeeting "share desktop" (need T.120, not H.323) haertig Linux - Software 0 11-09-2006 10:43 AM
Help installing progs in DEBIAN (Mepis) using "apt-get" or other suitable prog craftybytes Linux - Newbie 8 03-26-2006 07:46 PM
Better buying "advanced linux prog" or "unix advanced prog" Dominik Programming 3 12-31-2003 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration