Opened 14 years ago
Closed 14 years ago
#10170 closed Bug Report - General (Fixed)
smolt throws exception reading memory on kernel-3.0+
| Reported by: | Owned by: | Raymond Wagner | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.25 |
| Component: | MythTV - General | Version: | Master Head |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The mythtv smolt code fails to grok the kernel-3.0 version and triggers the exception below:
2011-11-19 21:02:49.270462 I Last hardware profile update was > 30 days ago, update required...
2011-11-19 21:02:49.270510 I Locking input devices
Traceback (most recent call last):
File "/usr/share/mythtv/hardwareprofile/sendProfile.py", line 420, in <module>
main()
File "/usr/share/mythtv/hardwareprofile/sendProfile.py", line 403, in main
profile = read_profile(gate, smolt.read_uuid())
File "/usr/share/mythtv/hardwareprofile/sendProfile.py", line 299, in read_profile
profile = smolt.create_profile(gate, uuid)
File "/usr/share/mythtv/hardwareprofile/smolt.py", line 1249, in create_profile
return create_profile_nocatch(gate, uuid)
File "/usr/share/mythtv/hardwareprofile/smolt.py", line 1241, in create_profile_nocatch
return _HardwareProfile(gate, uuid)
File "/usr/share/mythtv/hardwareprofile/smolt.py", line 513, in __init__
self.host = Host(gate, uuid)
File "/usr/share/mythtv/hardwareprofile/smolt.py", line 220, in __init__
self.systemMemory = gate.process('ram_size', memory['ram'], 0)
TypeError: 'NoneType' object is not subscriptable
$ uname -r
3.1.1-2.fc16.x86_64
This issue was previously reported against the Fedora smolt code in: https://bugzilla.redhat.com/show_bug.cgi?id=722859
Attachments (2)
Change History (4)
by , 14 years ago
| Attachment: | 3.x-smolt.patch added |
|---|
by , 14 years ago
| Attachment: | 3.x-myth-smolt.patch added |
|---|
myth patch for 3.x series , please ignore the previous patch.
comment:1 by , 14 years ago
| Milestone: | unknown → 0.25 |
|---|---|
| Owner: | set to |
| Status: | new → accepted |
comment:2 by , 14 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

patch for 3.x series