Jump to content


tension

Member Since 8 Oct 2010
Offline Last Active 07 Oct 2024 07:56
-----

Topics I've Started

kernel version info

23 June 2024 - 21:46

Is "kernel" item (kernel version string) not yet implemented in system info component?

Cause i do not see it in about screen (system information).

And openwebif plugin returns an IndexError to the call of kernel version string:

 

  File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.py", line 835, in getAllInfo
IndexError: string index out of range

 

 

Perhaps the old code in about component was not ported to systeminfo?

def getKernelVersionString():
	try:
		return open("/proc/version", "r").read().split(' ', 4)[2].split('-', 2)[0]
	except:
		return _("unknown")