Bugzilla – Bug 1226161
slimbookintelcontroller packaged in home:edogawa doesn't launch
Last modified: 2024-06-11 07:46:36 UTC
Hi, I'm trying to launch slimbookintelcontroller, but it always fails with: A /usr/share/slimbookintelcontroller/src Traceback (most recent call last): File "/usr/bin/slimbookintelcontroller", line 27, in <module> numProcRunning = pgrep[0].split("\n") ^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'split'
Thanks for reporting, please update and see if it launches now, I think I fixed it (I saw the same error and now it launches on my intel notebook). If you watch Slimbookteam's github, it seems they are refactoring these amd and intel controller apps heavily currently. No idea when these changes will end up in new releases...
Unfortunately it still fails with: A /usr/share/slimbookintelcontroller/src Cannot open log file /var/slimbookintelcontroller.log, using /tmp/slimbookintelcontroller.log Gurrent path: /usr/share/slimbookintelcontroller/src 13th Gen Intel(R) Core(TM) i7-13620H CPU | Model: 'i7-13620H' | Version: i7 | CPU Numbers: 13620 | CPU Letters: H. /home/aronkvh/.config/slimbookintelcontroller/slimbookintelcontroller.conf Found thermal zone! (thermal_zone0) Found thermal zone! (thermal_zone1) Traceback (most recent call last): File "/usr/bin/slimbookintelcontroller", line 36, in <module> slimbookintelcontroller.main() File "/usr/share/slimbookintelcontroller/src/slimbookintelcontroller.py", line 673, in main win = SlimbookINTEL() ^^^^^^^^^^^^^^^ File "/usr/share/slimbookintelcontroller/src/slimbookintelcontroller.py", line 120, in __init__ self.init_gui() File "/usr/share/slimbookintelcontroller/src/slimbookintelcontroller.py", line 563, in init_gui if config.getboolean("CONFIGURATION", "autostart"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/configparser.py", line 844, in getboolean return self._get_conv(section, option, self._convert_to_boolean, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/configparser.py", line 824, in _get_conv return self._get(section, conv, option, raw=raw, vars=vars, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/configparser.py", line 819, in _get return conv(self.get(section, option, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/configparser.py", line 797, in get d = self._unify_values(section, vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/configparser.py", line 1170, in _unify_values raise NoSectionError(section) from None
Obviously you haven't read the manual, this app doesn't run without a config file in the expected place below your home directory. https://slimbook.com/en/blog/guides-2/post/slimbook-intel-controller-306
I'm sorry - I didn't want to sound rude, and the manual I linked isn't very clear about needing this config file as a prerequisite to launching. A basic file is provided below /usr/share/slimbookintelcontroller/src/configuration/ - copy this to ~/.config/slimbookintelcontroller, and try again. Possibly you have to add your CPU to the config file as described in the manual.
(In reply to Áron Kovács from comment #2) > Unfortunately it still fails with: > A > /usr/share/slimbookintelcontroller/src > Cannot open log file /var/slimbookintelcontroller.log, using > /tmp/slimbookintelcontroller.log > Gurrent path: /usr/share/slimbookintelcontroller/src > 13th Gen Intel(R) Core(TM) i7-13620H > CPU | Model: 'i7-13620H' | Version: i7 | CPU Numbers: 13620 | CPU Letters: H. > /home/aronkvh/.config/slimbookintelcontroller/slimbookintelcontroller.conf > Found thermal zone! (thermal_zone0) > Found thermal zone! (thermal_zone1) > Traceback (most recent call last): > File "/usr/bin/slimbookintelcontroller", line 36, in <module> > slimbookintelcontroller.main() > File "/usr/share/slimbookintelcontroller/src/slimbookintelcontroller.py", > line 673, in main > win = SlimbookINTEL() > ^^^^^^^^^^^^^^^ > File "/usr/share/slimbookintelcontroller/src/slimbookintelcontroller.py", > line 120, in __init__ > self.init_gui() > File "/usr/share/slimbookintelcontroller/src/slimbookintelcontroller.py", > line 563, in init_gui > if config.getboolean("CONFIGURATION", "autostart"): > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib64/python3.11/configparser.py", line 844, in getboolean > return self._get_conv(section, option, self._convert_to_boolean, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib64/python3.11/configparser.py", line 824, in _get_conv > return self._get(section, conv, option, raw=raw, vars=vars, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib64/python3.11/configparser.py", line 819, in _get > return conv(self.get(section, option, **kwargs)) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib64/python3.11/configparser.py", line 797, in get > d = self._unify_values(section, vars) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib64/python3.11/configparser.py", line 1170, in _unify_values > raise NoSectionError(section) from None Sorry, I skipped that part because I assumed it's needed for non-slimbook devices only.