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
Software part of jetson-stats 4.2.9 - (c) 2024, Raffaello Bonghi
Model: NVIDIA Jetson Orin NX Engineering Reference Developer Kit - Jetpack 6.0 [L4T 36.3.0]
Traceback (most recent call last):
File "/usr/local/bin/jetson_release", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/jtop/jetson_release.py", line 65, in main
name=bcolors.bold(nvpmodel_now['name']),
TypeError: 'NoneType' object is not subscriptable
jetson-stats version: 4.2.9
P-Number: ?
Module: NVIDIA Jetson Orin NX
Jetpack: 6.0
L4T: 36.3.0
Log from jtop.service
Attach here the output from: journalctl -u jtop.service -n 100 --no-pager
Started jtop service.
[INFO] jtop.service - jetson_stats 4.2.4 - server loaded
[INFO] jtop.core.hardware - Hardware detected aarch64
[INFO] jtop.core.hardware - NVIDIA Jetson 699-level Part Number=699-13767-0001-300 R.1
[INFO] jtop.core.hardware - NVIDIA Jetson Module=NVIDIA Jetson Orin NX (8GB ram)
[INFO] jtop.core.hardware - NVIDIA Jetson detected L4T=36.3.0
[INFO] jtop.service - Running on Python: 3.10.12
[INFO] jtop.core.cpu - Found 6 CPU
[INFO] jtop.core.gpu - NVIDIA SMI exist!
[WARNING] jtop.core.gpu - No NVIDIA GPU available
[INFO] jtop.core.processes - Process service started
[INFO] jtop.core.memory - Found EMC!
[INFO] jtop.core.memory - Memory service started
[INFO] jtop.core.engine - Special Engine group found: [dlaX]
[INFO] jtop.core.engine - Special Engine group found: [pvaX]
[INFO] jtop.core.engine - Engines found: [APE DLA0 NVDEC NVENC NVJPG PVA0 SE VIC]
[INFO] jtop.core.temperature - Found thermal "cv0" in thermal_zone2
[INFO] jtop.core.temperature - Found thermal "cpu" in thermal_zone0
[INFO] jtop.core.temperature - Found thermal "soc2" in thermal_zone7
[INFO] jtop.core.temperature - Found thermal "soc0" in thermal_zone5
[INFO] jtop.core.temperature - Found thermal "cv1" in thermal_zone3
[INFO] jtop.core.temperature - Found thermal "gpu" in thermal_zone1
[INFO] jtop.core.temperature - Found thermal "tj" in thermal_zone8
[INFO] jtop.core.temperature - Found thermal "soc1" in thermal_zone6
[INFO] jtop.core.temperature - Found thermal "cv2" in thermal_zone4
[WARNING] jtop.core.power - Skipped usb-charger type=USB in=usb-charger
[WARNING] jtop.core.power - Power sensors not found!
[INFO] jtop.core.fan - Fan pwmfan(1) found in /sys/class/hwmon/hwmon1
[INFO] jtop.core.fan - RPM pwm_tach found in /sys/class/hwmon/hwmon2
[INFO] jtop.core.fan - Found nvfancontrol.service
[INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks
Traceback (most recent call last):
File "/usr/local/bin/jtop", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/jtop/__main__.py", line 106, in main
server = JtopServer(force=args.force)
File "/usr/local/lib/python3.10/dist-packages/jtop/service.py", line 299, in __init__
self.nvpmodel = NVPModelService(self.jetson_clocks)
File "/usr/local/lib/python3.10/dist-packages/jtop/core/nvpmodel.py", line 439, in __init__
name=self._nvpmodel_now['name'],
TypeError: 'NoneType' object is not subscriptable
jtop.service: Main process exited, code=exited, status=1/FAILURE
jtop.service: Failed with result 'exit-code'.
Hey! Just some added info. I had the same issue on a new AGX Orin. It went away after running nvpmodel -m 0 for unrelated reasons. My guess is that the nvpmodel mode isn't set, so it can't get looked up.
Hi, thanks for the comment @dsconnol-impactai. We also had a misconfigured power mode (sudo nvpmodel -q --verbose gave error). After fixing that, jtop works great.
SijmenHuizenga
changed the title
jtop crashes, _nvpmodel_now['name'] NoneType object is not subscriptable
jtop crashes when no power mode is configured
Oct 29, 2024
Describe the bug
The jtop service crashes with the following error:
name=self._nvpmodel_now['name'] TypeError: 'NoneType' object is not subscriptable
To Reproduce
sudo pip3 install -U jetson-stats
sudo systemctl restsart jtop.service
Additional context
Add any other context about the problem here.
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
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: