Skip to content

Exception/Reboot with 6.8.007 - AttributeError: 'NoneType' object has no attribute 'setChannelNum' #1262

@aldennisa15

Description

@aldennisa15

Traceback from Enigma2_crash.log:

<135019.436867> 20:42:11.0363 Traceback (most recent call last):
<135019.490735> 20:42:11.0902   File "/usr/lib/enigma2/python/StartEnigma.py", line 67, in processDelay
    self.current_dialog.doClose()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
<135019.492305> 20:42:11.0917   File "/usr/lib/enigma2/python/Screens/Screen.py", line 108, in doClose
<135019.493218> 20:42:11.0927   File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 344, in __onClose
<135019.494138> 20:42:11.0936   File "/usr/lib/enigma2/python/Components/Sources/CurrentService.py", line 62, in newService
<135019.495299> 20:42:11.0947 AttributeError: 'NoneType' object has no attribute 'setChannelNum'

Situation is, Mutant HD2400 with 2xT2 tuners and 1xS2 tuner. Live tv is an S2 service. I watch a recorded movie and whilst that's playing the S2 tuner is tuned to a different service for a timer record. The crash happens when the playback ends, when live tv can't tune S2 back to the service playing before the file play started, because the tuner is now busy recording a different service.

The line of code with the exception was only added recently - see commit here (Apr 5th) - yet I was hit by the exception/reboot within hours of updating to 6.8.007

I worked around it by adding a None guard in the preceding line, i.e. if num > 0 and self.serviceref is not None: with no exceptions/reboots since, even though the "no free tuner" situation has happened numerous times in that time.

(Same as OpenVix forum post.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions