BUG: Invalid invocation of dmidecode on non-x86 systems

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
rainrainrain
Junior Boarder
Junior Boarder
Posts: 39
Joined: Fri Jul 11, 2014 9:22 am

BUG: Invalid invocation of dmidecode on non-x86 systems

Post by rainrainrain » Wed May 23, 2018 10:44 am

Not sure if this is the correct place to file bug reports, but on my RPi meteohub.cgi invokes /usr/sbin/dmidecode:

Code: Select all

/usr/sbin/dmidecode | grep UUID
/usr/sbin/dmidecode -s bios-release-date
/usr/sbin/dmidecode -s baseboard-product-name
/usr/sbin/dmidecode -s bios-version
/usr/sbin/dmidecode -s processor-version
/usr/sbin/dmidecode -s system-product-name
which only exists on x86 systems, producing six sets of errors about a missing file each time you select the "System info" page. Looks like this should either only be invoked on x86 systems, or the code should check for the presence of /usr/sbin/dmidecode before calling it.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5348
Joined: Mon Oct 01, 2007 10:51 pm

Re: BUG: Invalid invocation of dmidecode on non-x86 systems

Post by admin » Fri Jul 06, 2018 11:39 pm

Is more of a cosmetical bug but will be fixed with the next update.

Post Reply