Join us on our own very special Reddit: /r/Linuxers
bpytop not working
rakemup 16 Oct

I'm using Brave in Bodhi Linux.
________________________________________________
~$ bpytop
Bpytop exited with errorcode (1). See /home/tc/snap/bpytop/140/.config/bpytop/error.log for more information!
_________________________________
sudo bpytop returned the same error
_________________________________
16/10/20 (12:05:54) | ERROR: Data collection thread failed with exception: [Errno 13] Permission denied: '/proc/diskstats'
Traceback (most recent call last):
File "/snap/bpytop/140/usr/bin/bpytop", line 2558, in _runner
collector._collect()
File "/snap/bpytop/140/usr/bin/bpytop", line 2889, in _collect
io_counters = psutil.disk_io_counters(perdisk=True if SYSTEM == "Linux" else False, nowrap=True)
File "/snap/bpytop/140/usr/lib/python3/dist-packages/psutil/__init__.py", line 2063, in disk_io_counters
rawdict = _psplatform.disk_io_counters(**kwargs)
File "/snap/bpytop/140/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1123, in disk_io_counters
for entry in gen:
File "/snap/bpytop/140/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1074, in read_procfs
with open_text("%s/diskstats" % get_procfs_path()) as f:
File "/snap/bpytop/140/usr/lib/python3/dist-packages/psutil/_common.py", line 727, in open_text
return open(fname, "rt", **kwargs)
PermissionError: [Errno 13] Permission denied: '/proc/diskstats'
16/10/20 (12:05:54) | WARNING: Exiting with errorcode (1). Runtime 0:00:02

thanks!

Well, obviously bpytop has no rights to read /proc/diskstats.

Have you checked that already?

whizse 16 Oct
  • Supporter

Installed with snap? If so it might be something similar to this?
https://github.com/aristocratos/bpytop/issues/17

While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.