armbian / config

Armbian Linux configuration utility
GNU General Public License v2.0
467 stars 168 forks source link

armbian-config stops on trying to open System - CPU (Via Eden CPU) #192

Open tmuehlhoff opened 1 year ago

tmuehlhoff commented 1 year ago

I'm trying to open the "Set CPU speed and governor" menu entry of armbian-config, instead of the new menu the following text appears:

Error: Expected at least 5 tokens for --menu, have 4.
Use --help to list options. / 1000: syntax error in expression (error token is ": Expected at least 5 tokens for --menu, have 4.
Use --help to list options. / 1000")

This is probably triggered by the non-existent CPU performance information in /sys/devices/system/cpu/cpufreq, thus the according dialog can't be created - but I guess it anyway should result in a message not in a "crash" of the tool.

OS: uefi-x86, Armbian 23.02.2 Bullseye (up to date) armbian-config: 23.02.2 CPU: VIA Nano U3400@800MHz HW: IGEL UD3 M310c

igorpecovnik commented 1 year ago

This is probably triggered by the non-existent CPU performance information

Without looking into the code, I would say the same. This CPU does not have such features - an exception needs to be added.