Comments (8)
Hi, thanks for the feedback.
Can you try with the following archive: https://github.com/downloads/nicolargo/glances/glances-1.4.tar.gz
Nicolas
from glances.
For an easy installation, you can also try the official PPA:
https://launchpad.net/~arnaud-hartmann/+archive/glances-stable
from glances.
Same issue on my Debian server... :(
from glances.
A very dirty hack:
sudo rm /usr/local/bin/glances
sudo ln -s /usr/local/lib/python2.6/dist-packages/glances-1.4-py2.6.egg/glances/glances.py /usr/local/bin/glances
...
from glances.
The "dirty hack" works fine, that's all what I need for now...
I let this comment open, if you ever come to propose a "clean hack"... :-)
Thanks a lot Nico (for the tip and for the tool) !
from glances.
Oups....
I was a little bit too fast answering there...
I tried your hack, but I get:
/usr/local/bin/glances:617: DeprecationWarning: this property is deprecated; use Process.get_nice() method instead
procstat['nice'] = proc.nice
Traceback (most recent call last):
File "/usr/local/bin/glances", line 2064, in
main()
File "/usr/local/bin/glances", line 2037, in main
screen.update(stats)
File "/usr/local/bin/glances", line 1058, in update
self.flush(stats)
File "/usr/local/bin/glances", line 1054, in flush
self.display(stats)
File "/usr/local/bin/glances", line 1030, in display
self.displayLoad(stats.getLoad(), stats.getCore())
File "/usr/local/bin/glances", line 1152, in displayLoad
"{:.2f}".format(load['min1']), 8)
ValueError: zero length field name in format
(note that I had to slightly modify the link in the "hack":
sudo ln -sf /usr/local/lib/python2.6/dist-packages/Glances-1.4-py2.6.egg/glances/glances.py /usr/local/bin/glances
)
And when I try the PPA repository, I get version 1.3.7 installed (not 1.4.0 !)
from glances.
This issue (ValueError: zero length field name in format / #52) has been solved yesterday in the last build.
Download the last archive: https://github.com/downloads/nicolargo/glances/glances-1.4.tar.gz
Nicolas
from glances.
This latest version + the "horrible hack" => works fine !
Many thanks :-)
from glances.
Related Issues (20)
- NPU Monitoring HOT 1
- Custom system header information HOT 3
- Devel branch: Alpine Docker Image build failed on Alpine HOT 2
- [Documentation] Docker compose password unrecognized arguments when applying docs. HOT 2
- [Windows]Why are the indicators collected by glances too large? HOT 1
- CreateGithub action issue workflow
- Missing GitHub release for 3.4.0.4 HOT 2
- GPU Stats disappear in 3.4.0.4 HOT 3
- MQTT client initialization failed HOT 3
- Glances installation not work on windows HOT 5
- Aliases not working on Web Interface for shortened values HOT 1
- Possible to sort or scroll the disk I/O column? HOT 3
- New logo for Glances version 4.0 HOT 1
- Lot's of log messages when a proxy is used with the Podman plugin HOT 2
- QuickLook plugin - Add physical core number HOT 1
- RAID plugin not showing up in Glances web UI (Docker install) HOT 2
- Union filesystem (mergerfs) read as individual drives HOT 1
- OpenBSD crash on start without a swap file/partition HOT 2
- Allow containers columns to be selected in config file
- glances: command not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glances.