inxi, error "Use of uninitialized value $val2"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
inxi (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 18.04
inxi 3.0.32-00 (2019-02-07)
Desciption:
"inxi -F" reports an error, when it runs from pure text console. Can be simulated with "ssh localhost", ssh localhost -C "inxi -F")
$ inxi -F
...
Sensors: System Temperatures: cpu: 34.2 C mobo: N/A
Fan Speeds (RPM): N/A
Use of uninitialized value $val2 in string eq at /usr/bin/inxi line 5759.
Use of uninitialized value $val2 in split at /usr/bin/inxi line 5764.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5766.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5767.
Use of uninitialized value $val2 in concatenation (.) or string at /usr/bin/inxi line 5768.
GPU: device: temp: N/A device: radeon temp: 40 C
Info: Processes: 218 Uptime: 4m Memory: 15.64 GiB used: 986.2 MiB (6.2%) Init: systemd
When it runs from terminal in X-Windows, there is no error:
$ inxi -F
...
Sensors: System Temperatures: cpu: 34.4 C mobo: N/A gpu: radeon temp: 42 C
Fan Speeds (RPM): N/A
Info: Processes: 201 Uptime: 9m Memory: 15.64 GiB used: 1004.6 MiB (6.3%) Shell: bash
inxi: 3.0.32
This version of inxi is obsolete, inxi is on version 3.2.02 right now.
Bugs like this are only meaningful if the poster downloads current inxi and reproduces them on current release. I believe the ssh -C bug was fixed quite a while ago.