When runing smoltSendProfile I get: Traceback (most recent call last): File "/usr/bin/smoltSendProfile", line 152, in <module> profile = smolt.get_profile() File "/usr/share/smolt/client/smolt.py", line 1415, in get_profile return Hardware() File "/usr/share/smolt/client/smolt.py", line 1004, in Hardware _hardware_instance = _Hardware() File "/usr/share/smolt/client/smolt.py", line 591, in __init__ self.host = Host() File "/usr/share/smolt/client/smolt.py", line 283, in __init__ self.systemMemory = Gate().process('ram_size', memory['ram'], 0) TypeError: 'NoneType' object is not subscriptable
Added URL to the upstream bug that also contains the following fix: Mads Kiilerich 2011-07-26 09:05:57 EDT That is with a 3.0 kernel, right? I suggest /usr/share/smolt/client/smolt.py should have def read_memory(): un = os.uname() kernel = un[2] if kernel[:3] == "2.4": return read_memory_2_4() return read_memory_2_6()
Created attachment 325064 [details, diff] smolt-1.4.3-kernel-3.0.patch
Smolt is about to be removed, see bug #438082. Therefore I am closing this bug. Still, thanks for the patch!