CFE-show-1: Show does not appear to be a valid show config

Related Config File Sections
shows:

This error occurs when MPF loads a show which is not a list of steps. There are two ways to add shows to your machine: either as file or inside your config. Both can happen inside a mode or machine-wide inside your global config folder.

Examples

File Shows

This is how a file show should look:

##! show: flash_red
#show_version=5
- duration: 1
  lights:
    led1: red
- duration: 1
  lights:
    led1: off
This example is tested to be valid MPF config. However, it is not integration tested.
##! show: flash_red
#show_version=5
- duration: 1
  lights:
    led1: red
- duration: 1
  lights:
    led1: off

Please note that there can be only one show per dedicated show file as MPF uses the filename as show name. See Creating standalone show files for details.

Config Shows

This is how a show inside your config should look:

shows:
  flash_red:
    - duration: 1
      lights:
        led1: red
    - duration: 1
      lights:
        led1: off
This example is tested to be valid MPF config. However, it is not integration tested.
shows:
  flash_red:
    - duration: 1
      lights:
        led1: red
    - duration: 1
      lights:
        led1: off

See Shows in files versus shows in configs for details.

Common Pitfalls

Multiple shows inside one file show

This is NOT valid as file show:

# INVALID FILE SHOW
flash_red:
  - duration: 1
    # [...]
flash_blue:
  - duration: 1
    # [...]

Instead you have to create two files flash_red.yaml and flash_blue.yaml.

Missing hyphen for your step

You might have missed the hyphon in front of your first step (or in front of all steps):

# INVALID FILE SHOW
#show_version=5
duration: 1    # note the missing dash here
lights:
  led1: red

The same can happen in config shows:

# INVALID CONFIG SHOW
shows:
  flash_red:
    duration: 1   # hyphen missing here
    lights:
      led1: red

This often happens with one step shows. See above for working examples.

Need more help troubleshooting?

Have a look at our Troubleshooting section. It might give you some hints for certain classes of problems.

What if this did not fix your problem?

Please tell us about your error in the MPF Users Google Group and we might be able to update this page afterwards. Or even better: You help us to update it afterwards.

Is something missing here? Do you have a helpful hint for others experiencing this error?

Please create a Pull Request and add it. Alternatively, please tell us in the MPF Users Google Group.