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

Ensure nprocess exists when table is empty. #444

Merged
merged 3 commits into from
Dec 25, 2023

Conversation

dmbuck32
Copy link
Contributor

@dmbuck32 dmbuck32 commented Sep 4, 2023

This PR fixes issue #443.

@mpb27
Copy link

mpb27 commented Sep 15, 2023

Bumping this since I ran into the same issue and made the same fix.

@n4s
Copy link

n4s commented Sep 19, 2023

This occurs when no GPU process is created, the for at line 72 of process_table.py fails and the nprocess variable has no value. Adding nprocess = 0 just before the for fixes it.

(workaround: edit your file at /usr/local/lib/python3.8/dist-packages/jtop/gui/lib/process_table.py and add the nprocess = 0 before the for at line 72)

@rbonghi rbonghi changed the base branch from master to develop December 25, 2023 17:41
@rbonghi
Copy link
Owner

rbonghi commented Dec 25, 2023

Thank you very much. I finally working again on jtop.
I'm merging your PR in my develop branch, I'll release soon a new version :-)

@rbonghi rbonghi merged commit e163a96 into rbonghi:develop Dec 25, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants