title: CFE-show-1: Show does not appear to be a valid show config
CFE-show-1: Show does not appear to be a valid show config
Related Config File Sections:
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
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
See /shows/index 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 community forum 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 community forum.
Related How To guides
Something missing or wrong? You can fix it!
This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?
Please help us! You can fix it yourself and be an official "open source" contributor!
It's easy! See our Beginner's guide to editing the docs.
Page navigation via the keyboard: < >
You can navigate this site via the keyboard. There are two modes:
General navigation, when search is not focused:
- F , S , / : open search dialog
- P , , : go to previous page
- N , . : go to next page
While using the search function:
- Down , Up : select next / previous result
- Esc , Tab : close search
- Enter : go to highlighted page in the results