You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Daniel-at-github
changed the title
[BUG]
[BUG] Permission denied: '/proc/partitions' in snap version (Solved: Reading the snap instructions)
Aug 8, 2020
If you want to implement an automatic warning for snap installers, it could be something like:
if'snap'inerror_log_pathandnotproc_partitions_readable():
warn_and_exit("Detected half installed snap, read the instructions in https://github.com/kz6fittycent/bpytop-snap")
I would rather discourage from installing through any packaging system not automatically synced with the git repo tagged releases, at least not until the project has matured a bit and most of the common bugs have been fixed.
That's why I haven't included any external installation methods in the README.md yet. Could possibly included the AUR repository for arch since it pulls directly from git.
Describe the bug
In snap (ver.
1.0.2
of2020-08-04
) Exits after initial checks with aPermissionError: [Errno 13] Permission denied: '/proc/partitions'
To Reproduce
snap install bpytop bpytop cat ~/snap/bpytop/58/.config/bpytop/error.log
Expected behavior
Start functioning and then show the graphics without crashing.
Screenshots
Only ascii in the issue, after breaking at 86% at startup "Collecting...":
Info (please complete the following information):
bpytop version: 1.0.2
psutil version: 5.4.2 inside the snap (version 5.7.0 or above is required)⚠️ 🤔 Maybe the bug is here?
psutil version:
bpytop -v
(version 5.7.0 or above is required)(Linux) Linux distribution and version: Ubuntu 16.04.7 LTS (snap based in core18)
Terminal used: GNOME Terminal 3.18.3
Font used:
Python version,
python3 --version
(version 3.6 or above is required): No idea on ow to look in the snapAdditional context
contents of
~/.config/bpytop/error.log
The text was updated successfully, but these errors were encountered: