Opened 8 years ago

Closed 8 years ago

#10170 closed Bug Report - General (Fixed)

smolt throws exception reading memory on kernel-3.0+

Reported by: Jon Burgess <jburgess777@…> 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)

3.x-smolt.patch (779 bytes) - added by anonymous 8 years ago.
patch for 3.x series
3.x-myth-smolt.patch (860 bytes) - added by anonymous 8 years ago.
myth patch for 3.x series , please ignore the previous patch.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by anonymous

Attachment: 3.x-smolt.patch added

patch for 3.x series

Changed 8 years ago by anonymous

Attachment: 3.x-myth-smolt.patch added

myth patch for 3.x series , please ignore the previous patch.

comment:1 Changed 8 years ago by Raymond Wagner

Milestone: unknown0.25
Owner: set to Raymond Wagner
Status: newaccepted

comment:2 Changed 8 years ago by Raymond Wagner

Resolution: Fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.