Jump to content


HES OBUP

Member Since 15 Jul 2017
Offline Last Active 21 Jul 2017 16:48
-----

Topics I've Started

[GraphMultiEpg] Bug line 536 and 540 >> variable 'rec' empty

15 July 2017 - 10:29

Hi @all,

 

I always get the error switching to an empty service in the plugin GraphMultiEpg:

  File "/usr/lib/enigma2/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py", line 540, in buildEntry
  TypeError: 'int' object has no attribute '__getitem__'

The same error occurs in line 536. 

 

The bug can be fixed:

  1. Configuration "Überspringe leere Sender" (EN 'Skip empty services' ) set to 'Ja'
  2. validate variable 'rec' ( source 'GraphMultiEpg.py' ) in line 536 && 540 != empty

Origin:

if rec is not None and rec[1][-1] in (2, 12, 17, 27):

fixed:

if rec is not None and len(rec) > 0 and rec[1][-1] in (2, 12, 17, 27):

Kind regards

 

Olaf