birdman
12-12-15, 13:00
If I go into the (graphical) EPG, select and event and press Info I get a pop-up box of information.
This includes an option to set a timer (green button).
Pressing that goes to the new timer screen, but saving that results in a crash:
Traceback (most recent call last):
File "/usr/lib/enigma2/python/mytest.py", line 219, in processDelay
callback(*retval)
File "/usr/lib/enigma2/python/Screens/EventView.py", line 155, in finishedAdd
NameError: global name 'config' is not defined
Someone forgot to import config into the file.
The (tested) fix is just to add:
from Components.config import config
near the top of the Screens/EventView.py.
This includes an option to set a timer (green button).
Pressing that goes to the new timer screen, but saving that results in a crash:
Traceback (most recent call last):
File "/usr/lib/enigma2/python/mytest.py", line 219, in processDelay
callback(*retval)
File "/usr/lib/enigma2/python/Screens/EventView.py", line 155, in finishedAdd
NameError: global name 'config' is not defined
Someone forgot to import config into the file.
The (tested) fix is just to add:
from Components.config import config
near the top of the Screens/EventView.py.