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

[BUG] cannot use left and right arrows on Mac #401

Open
Stooovie opened this issue Jun 16, 2023 · 2 comments
Open

[BUG] cannot use left and right arrows on Mac #401

Stooovie opened this issue Jun 16, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Stooovie
Copy link

Describe the bug

I can not use the left and right arrows to change options in MacOS (Ventura 13.4)

To Reproduce

  1. run on MacOS Ventura
  2. go to Options (esc)
  3. try to change, say, theme

Expected behavior

options change with left and right arrow

Screenshots

[If applicable, add screenshots to help explain your problem.]

Info (please complete the following information):
bpytop version: 1.0.68
psutil version: 5.9.3
MacOS terminal
Python 3.11.4

Additional context

contents of ~/.config/bpytop/error.log

16/06/23 (14:13:16) | ERROR: Exception while getting cpu frequency!
16/06/23 (14:13:16) | ERROR: [Errno 2] No such file or directory (originated from sysctl(HW_CPU_FREQ))
Traceback (most recent call last):
  File "/opt/homebrew/bin/bpytop", line 3080, in _collect
    if CONFIG.show_cpu_freq and hasattr(psutil.cpu_freq(), "current"):
                                        ^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/bpytop/1.0.68/libexec/lib/python3.11/site-packages/psutil/__init__.py", line 1864, in cpu_freq
    ret = _psplatform.cpu_freq()
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/bpytop/1.0.68/libexec/lib/python3.11/site-packages/psutil/_psosx.py", line 179, in cpu_freq
    curr, min_, max_ = cext.cpu_freq()
                       ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory (originated from sysctl(HW_CPU_FREQ))
16/06/23 (14:15:15) | ERROR: Exception while getting cpu frequency!
16/06/23 (14:15:15) | ERROR: [Errno 2] No such file or directory (originated from sysctl(HW_CPU_FREQ))
Traceback (most recent call last):
  File "/opt/homebrew/bin/bpytop", line 3080, in _collect
    if CONFIG.show_cpu_freq and hasattr(psutil.cpu_freq(), "current"):
                                        ^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/bpytop/1.0.68/libexec/lib/python3.11/site-packages/psutil/__init__.py", line 1864, in cpu_freq
    ret = _psplatform.cpu_freq()
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/bpytop/1.0.68/libexec/lib/python3.11/site-packages/psutil/_psosx.py", line 179, in cpu_freq
    curr, min_, max_ = cext.cpu_freq()
                       ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory (originated from sysctl(HW_CPU_FREQ))
@Stooovie Stooovie added the bug Something isn't working label Jun 16, 2023
@scottwmaxwell
Copy link

It also seems that the enter key doesn't work.

I notice this when I press ESC for options and try use Enter to go to the Options.

@ryandesign
Copy link

The cpu_freq errors look like #404, allegedly solved by #405. The Enter key problem is #410, allegedly solved by #413.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants