Closed project2go closed 2 months ago
This looks to be the same backtrace as #499 and #493
This should be fixed by https://github.com/rbonghi/jetson_stats/commit/db70066fefe6b1fce92f7ce6a0a580797349dae0
I can confirm that this is fixed be switching to the develop branch past https://github.com/rbonghi/jetson_stats/commit/db70066fefe6b1fce92f7ce6a0a580797349dae0
Fixed with the new release. Please update to 4.2.9
sudo pip3 install -U jetson-stats
Describe the bug
Jetson 6 on AGX orin, disable the GUI and running on SSH seems mouse curses related issue.
if you run jtop and keep pressing some keyboard keys, it will start the jtop as normal, but if you don't press key fast enough, it will crash
To Reproduce
Steps to reproduce the behavior:
Error
jtop Traceback (most recent call last): File "/usr/local/bin/jtop", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/jtop/main.py", line 160, in main
curses.wrapper(JTOPGUI, jetson, pages, init_page=args.page,
File "/usr/lib/python3.10/curses/init.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python3.10/dist-packages/jtop/gui/jtopgui.py", line 100, in init
self.run(loop, seconds)
File "/usr/local/lib/python3.10/dist-packages/jtop/gui/jtopgui.py", line 129, in run
self.draw()
File "/usr/local/lib/python3.10/dist-packages/jtop/gui/jtopgui.py", line 143, in draw
page.draw(self.key, self.mouse)
File "/usr/local/lib/python3.10/dist-packages/jtop/gui/pall.py", line 147, in draw
line_counter += self.process_table.draw(line_counter, 0, width, height_free_area, key, mouse)
AttributeError: 'ALL' object has no attribute 'process_table'