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

Crash when clicking on a dead process #398

Open
kspalaiologos opened this issue Mar 24, 2023 · 0 comments
Open

Crash when clicking on a dead process #398

kspalaiologos opened this issue Mar 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kspalaiologos
Copy link

bpytop -v
bpytop version: 1.0.68
psutil version: 5.9.4

stacktrace:

20/03/23 (15:03:02) | ERROR: Data collection thread failed with exception: 'pid'
Traceback (most recent call last):
  File "/usr/bin/bpytop", line 2959, in _runner
    collector._draw()
  File "/usr/bin/bpytop", line 3991, in _draw
    ProcBox._draw_fg()
  File "/usr/bin/bpytop", line 2638, in _draw_fg
    f'{Mv.to(dy-1, x+1)}{THEME.proc_box(Symbol.title_left)}{Fx.b}{THEME.title(str(proc.details["pid"]))}{Fx.ub}{THEME.proc_box(Symbol.title_right)}'
                                                                                  ~~~~~~~~~~~~^^^^^^^
KeyError: 'pid'
20/03/23 (15:03:02) | WARNING: Exiting with errorcode (1). Runtime 0:29:44 
@kspalaiologos kspalaiologos added the bug Something isn't working label Mar 24, 2023
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

2 participants