-
-
Notifications
You must be signed in to change notification settings - Fork 250
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 if dpkg is missing #521
Labels
bug
Something isn't working
Comments
My solution will be to populate my image with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If dpkg is missing, for example if the system is a custom built yocto with meta-tegra then the following line will cuse an exception
jetson_stats/jtop/core/jetson_variables.py
Line 203 in e22b49f
To Reproduce
/etc/nv_tegra_release
if it existsExpected behavior
Looking at the function
get_nvidia_l4t
the intended behavior I would expect is to fail the version detection and return an empty string instead of crashing.Perhaps check that dpkg exist first and if not then return false from
check_dpkg_nvidia_l4t_core
.Board
The text was updated successfully, but these errors were encountered: