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

crash on start when run under console only without gui and mouse #524

Closed
project2go opened this issue May 20, 2024 · 4 comments
Closed

crash on start when run under console only without gui and mouse #524

project2go opened this issue May 20, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@project2go
Copy link

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:

  1. sudo systemctl set-default multi-user.target
  2. reboot
  3. jtop

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'

@project2go project2go added the bug Something isn't working label May 20, 2024
@evildeeds
Copy link

This looks to be the same backtrace as #499 and #493

@gtong-nv
Copy link
Contributor

This should be fixed by db70066

@manbehindthemadness
Copy link

I can confirm that this is fixed be switching to the develop branch past db70066

@rbonghi
Copy link
Owner

rbonghi commented Jul 25, 2024

Fixed with the new release. Please update to 4.2.9

sudo pip3 install -U jetson-stats

@rbonghi rbonghi closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants