Closed halsimov closed 9 months ago
also happening on Orin AGX
Hi @halsimov I see where the bug come from, I will fix soon as possible
I was able to fix the error:
Nov 15 18:01:04 jetson-nano-1-108 systemd[1]: Started jtop service.
Nov 15 18:01:06 jetson-nano-1-108 jtop[12031]: Traceback (most recent call last):
Nov 15 18:01:06 jetson-nano-1-108 jtop[12031]: File "/usr/local/bin/jtop", line 11, in
Nov 15 18:01:06 jetson-nano-1-108 jtop[12031]: load_entry_point('jetson-stats==4.2.3', 'console_scripts', 'jtop')()
Nov 15 18:01:06 jetson-nano-1-108 jtop[12031]: File "/usr/local/lib/python3.6/dist-packages/jtop/__main__.py", line 98, in main
Nov 15 18:01:06 jetson-nano-1-108 jtop[12031]: locale.setlocale(locale.LC_ALL, '')
Nov 15 18:01:06 jetson-nano-1-108 jtop[12031]: File "/usr/lib/python3.6/locale.py", line 598, in setlocale
Nov 15 18:01:06 jetson-nano-1-108 jtop[12031]: return _setlocale(category, locale)
With:
sudo sed -i '/^#.*en_US.UTF-8/s/^#//' /etc/locale.gen
sudo locale-gen
sudo update-locale LANG=en_US.UTF-8
# system reboot
jtop service starts, but now I'm having:
Jan 21 19:01:43 cam-v2-c3c06a41a jtop[4670]: File "/usr/local/lib/python3.6/dist-packages/jtop/core/nvpmodel.py", line 439, in __init__
Jan 21 19:01:43 cam-v2-c3c06a41a jtop[4670]: name=self._nvpmodel_now['name'],
Jan 21 19:01:43 cam-v2-c3c06a41a jtop[4670]: TypeError: 'NoneType' object is not subscriptable
nvpmodel is installed:
$ nvpmodel -q
NVPM WARN: fan mode is not set!
NVPM WARN: power mode is not set!
$ jtop --version
jtop 4.2.4
$ python3 --version
Python 3.6.9
Setting a power mode with sudo nvpmodel -m 1
didn't help. I can't set the fan pwm.
Any ideas how can I fix it?
Should jtop be upgrade to support nvpmodel -q
not set?
Thanks
Hi @mariobaldini
Thank you for your post. I will fix this bug in the next release of Jetson-stats.
About nvpmodel I'll take a look soon
Describe the bug
jtop is installed but do act as if the jtop.service is not enabled
To Reproduce
Steps to reproduce the behavior:
sudo pip3 install -U jetson-stats
Expected behavior
I want to be able to actually run jtop
Additional context
I tried to reload service but it is not found. It does seems that service and setup config files have been installed in a wrong folder.
Board
uname -a
jetson_release -v
Log from jtop.service
journalctl -u jtop.service -n 100 --no-pager
Log from jetson-stats installation
sudo -H pip3 install --no-cache-dir -U jetson-stats