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

Add support for NetBSD #399

Open
0-wiz-0 opened this issue May 1, 2023 · 1 comment
Open

Add support for NetBSD #399

0-wiz-0 opened this issue May 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@0-wiz-0
Copy link

0-wiz-0 commented May 1, 2023

As discussed in giampaolo/psutil#2250, bpytop needs a couple more hasattr checks to avoid warnings on NetBSD.
In the bug report at least the following two were identified:

  • AttributeError: module 'psutil' has no attribute 'cpu_freq'
  • 30/04/23 (16:50:52) | ERROR: Data collection thread failed with exception: invalid attr name 'cpu_num'
@0-wiz-0 0-wiz-0 added the enhancement New feature or request label May 1, 2023
@aristocratos aristocratos changed the title NetBSD: please add more hasattr checks Add support for NetBSD May 1, 2023
@giampaolo
Copy link

giampaolo commented May 2, 2023

(in case it can be useful to reuse in bpytop)
I recently added CI testing for *BSD platforms in psutil:
https://github.com/giampaolo/psutil/blob/190059c69d0aa01b3f17ba5191d0a6e6d9669841/.github/workflows/bsd.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants