You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After install latest jetson_stats v4.2.6 jtop command comes back with the following error:
sudo jtop
Traceback (most recent call last):
File "/usr/local/bin/jtop", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/jtop/__main__.py", line 160, in main
curses.wrapper(JTOPGUI, jetson, pages, init_page=args.page,
File "/usr/lib/python3.8/curses/__init__.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 100, in __init__
self.run(loop, seconds)
File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 129, in run
self.draw()
File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 143, in draw
page.draw(self.key, self.mouse)
File "/usr/local/lib/python3.8/dist-packages/jtop/gui/pall.py", line 190, in draw
func(self.stdscr, pos_y_mini_menu, column_width * nline, column_width, column_height, self.jetson)
File "/usr/local/lib/python3.8/dist-packages/jtop/gui/pengine.py", line 115, in compact_engines
size_eng = size_table // len(row) - 1
ZeroDivisionError: integer division or modulo by zero
To Reproduce
Install jetson_stats: sudo pip3 install -U jetson-stats
Run jetson_stats: sudo jtop
Error: ZeroDivisionError: integer division or modulo by zero
Expected behavior
jtop runs jetson_stats program
Additional context
Installed an older version sudo pip3 install -U jetson-stats==4.2.0
This works but Jetpack info seems missing
apt-cache show nvidia-jetpack
Package: nvidia-jetpack
Status: install ok installed
Priority: standard
Section: metapackages
Installed-Size: 194
Maintainer: NVIDIA Corporation
Architecture: arm64
Version: 5.1.1-b56
Depends: nvidia-jetpack-runtime (= 5.1.1-b56), nvidia-jetpack-dev (= 5.1.1-b56)
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8
Homepage: http://developer.nvidia.com/jetson
sudo apt show nvidia-jetpack -a
Package: nvidia-jetpack
Version: 5.1.1-b56
Status: install ok installed
Priority: standard
Section: metapackages
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-jetpack-runtime (= 5.1.1-b56), nvidia-jetpack-dev (= 5.1.1-b56)
Homepage: http://developer.nvidia.com/jetson
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: NVIDIA Jetpack Meta Package
I think this may be related to this old PRs merged in develop and never published: #519 and #523
I'm still working on releasing a new jtop version that fixes all these bugs. otherwise let me know
Describe the bug
After install latest jetson_stats v4.2.6 jtop command comes back with the following error:
To Reproduce
Install jetson_stats:
sudo pip3 install -U jetson-stats
Run jetson_stats:
sudo jtop
Error:
ZeroDivisionError: integer division or modulo by zero
Expected behavior
jtop runs jetson_stats program
Additional context
Installed an older version
sudo pip3 install -U jetson-stats==4.2.0
This works but Jetpack info seems missing
Board
Output from
jetson_release -v
:Log from jtop.service
Attach here the output from:
journalctl -u jtop.service -n 100 --no-pager
Log from jetson-stats installation
Attach here the output from:
sudo -H pip3 install --no-cache-dir -v -U jetson-stats
RAW Data
File from
jtop --error-log
attachedThe text was updated successfully, but these errors were encountered: