Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: b'Buffers:' #1010

Closed
pawamoy opened this issue Apr 10, 2017 · 0 comments
Closed

KeyError: b'Buffers:' #1010

pawamoy opened this issue Apr 10, 2017 · 0 comments

Comments

@pawamoy
Copy link

pawamoy commented Apr 10, 2017

  • OS: Ubuntu 14.04
  • Python: 3.5.3
  • psutil: 5.2.1
Traceback (most recent call last):
  ...
  File "/webapps/genida/repository/genida/app/dashboard/charts.py", line 14, in machine_usage_chart
    ram = psutil.virtual_memory().percent
  File "/webapps/genida/virtualenv/lib/python3.5/site-packages/psutil/__init__.py", line 1985, in virtual_memory
    ret = _psplatform.virtual_memory()
  File "/webapps/genida/virtualenv/lib/python3.5/site-packages/psutil/_pslinux.py", line 399, in virtual_memory
    buffers = mems[b'Buffers:']
KeyError: b'Buffers:'
$ cat /proc/meminfo 
MemTotal:        1048576 kB
MemFree:          834036 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants