How to Solve NameError: name 'eServiceReference' is not defined -- enigma

Solution: Import the 'eServiceReference' module

# Add the following line to the top of your code
from enigma import eServiceReference

 

For more information:
enigma eServiceReference