mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #129] [CLOSED] Import getpass in try-except block #168
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/129
Author: @landgraf
Created: 7/10/2024
Status: ❌ Closed
Base:
main← Head:import📝 Commits (1)
d950fafImport getpass in try-except block📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
nvitop/select.py(+1 -1)📄 Description
this fixes crash on system without getpass installed
Issue Type
Runtime Environment
Yocto based linux os image
Description
Move import under try-except to not fail if getpass is not installed
Motivation and Context
Testing
ran nvitop with and without the changes
Images / Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.