-
-
Notifications
You must be signed in to change notification settings - Fork 399
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] tree + info + filter = crash #21
Comments
Seems tree is not a requirement. The bug is caused when you try to type a filter while the info pane is open. |
seems i got it wrong |
looking at the error log it makes sense |
I did additional testing. If the process you have the info open on is closed externally it also crashes. |
This happens because I'm reusing values from the regular process list in the info box and if the filtering excludes the process in the info box it crashes... Have added a check to re-fetch any missing values , will be in next update later today. |
That was actually caused by me not including the pid when raising an exception for a killed process, which proved to be bad thinking even if had written it correct, since the process wasn't killed but just filtered out... |
Also noticed another mistake in temperature collection from your error.log, although not critical, but will also be fixed in next update. |
Fixed in v1.0.4 |
dident seem to fix it for me |
I meant Fixed in v1.0.5 :) |
ah yes of course |
if i use tree and check information on something then use the filter seems to crash
04/08/20 (17:52:49) | ERROR: type NoneType doesn't define __round__ method Traceback (most recent call last): File "/usr/local/bin/bpytop", line 2449, in _collect_temps cls.cpu_temp_high, cls.cpu_temp_crit = round(entry.high), round(entry.critical) TypeError: type NoneType doesn't define __round__ method 04/08/20 (17:53:02) | ERROR: Data collection thread failed with exception: __init__() missing 1 required positional argument: 'pid' Traceback (most recent call last): File "/usr/local/bin/bpytop", line 2328, in _runner collector._collect() File "/usr/local/bin/bpytop", line 2931, in _collect if not c_pid in cls.processes: raise psutil.NoSuchProcess TypeError: __init__() missing 1 required positional argument: 'pid'
The text was updated successfully, but these errors were encountered: