Description of problem: Smolt fails to create system profile and complains about NoneType while parsing ram_size. Version-Release number of selected component (if applicable): smolt-1.4.3-3.fc15.noarch How reproducible: Always Steps to Reproduce: 1. smoltSendProfile -p Actual results: 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 Expected results: Profile is created and printed to console
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()
Yes. 3.0 kernel. I modified the smolt.py as suggested and now smolt works on rawhide.
*** Bug 726029 has been marked as a duplicate of this bug. ***
*** Bug 727797 has been marked as a duplicate of this bug. ***
smolt-1.4.3-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/smolt-1.4.3-5.fc16
Package: smolt-1.4.3-4.fc16 Architecture: x86_64 OS Release: Fedora release 16 (Verne) Comment ----- tried to get smolt profile via abrt reporting tool
Package: smolt-1.4.3-4.fc16 Architecture: x86_64 OS Release: Fedora release 16 (Verne) Comment ----- Just trying to provide profile for bug reporting.
Package: smolt-1.4.3-4.fc16 Architecture: i686 OS Release: Fedora release 16 (Verne) Comment ----- Trying to report ABRT bug with smolt send profile
Package smolt-1.4.3-5.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing smolt-1.4.3-5.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/smolt-1.4.3-5.fc16 then log in and leave karma (feedback).
Package: smolt-1.4.3-4.fc16 Architecture: x86_64 OS Release: Fedora release 16 (Verne) Comment ----- I know this is a common bug
Package: smolt-1.4.3-4.fc16 Architecture: x86_64 OS Release: Fedora release 16 (Verne) Comment ----- Starting Smolt from ABRT
Package: smolt-1.4.3-4.fc16 Architecture: x86_64 OS Release: Fedora release 16 (Verne) Comment ----- I dont remember no
Package: smolt-1.4.3-4.fc16 Architecture: i686 OS Release: Fedora release 16 (Verne) Comment ----- While reporting a totem bug it offerd to use smolt to add extra info.
Package: smolt-gui-1.4.3-3.fc15 Architecture: x86_64 OS Release: Fedora release 15 (Lovelock) Comment ----- Installed and started smoltGui for the first time ever
Package: smolt-1.4.3-4.fc16 Architecture: i686 OS Release: Fedora release 16 (Verne) Comment ----- abrt tried send smolt hardware profile
smolt-1.4.3-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 733739 has been marked as a duplicate of this bug. ***
this patch should probably get committed to http://git.fedorahosted.org/git/?p=smolt.git , seeing as how smolt is a fedoraland tool and all.
filed https://fedorahosted.org/smolt/ticket/92 .
On a clean F16 (AKA RC5) i386 install from live image, I see what looks very similar to bug 727797 which is marked as a dupe of this one. In firstboot, the hardware profile box was empty. Running smoltSendProfile manually tracebacks: [andre@emachines-pc ~]$ smoltSendProfile 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 1414, 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 306, in __init__ self.systemVendor = cat('/sys/devices/virtual/dmi/id/sys_vendor')[0].strip() File "/usr/share/smolt/client/devicelist.py", line 76, in cat fd = open(file, 'r') IOError: [Errno 2] No such file or directory: '/sys/devices/virtual/dmi/id/sys_vendor' [andre@emachines-pc ~]$ Here is the F14 smolt profile of the same machine before I reinstalled: http://www.smolts.org/client/show/pub_d157199d-ccaa-4731-aca2-5bc53d75c516 Is this also in fact a dupe?
Robatino: No, that is Bug 695075 / Bug 727513 / Bug 727518