overlay_path template_varibles and report_path for missing #1752
-
I must be missing something, but I can't figure out what. I have two issues, and I can't seem to find anything in the Q&A of other people having the issues, so I don't know. I have the following my config.yml:
When the overlay_path information is in there I receive the following error: The other issue, has to do with line 3 from the config. Am I supposed to create that YAML file, and if so can someone point me to what it should look like? I added this line at the same time as the template_variable stuff and obviously am not having the best of luck. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The error you have there typically indicates indentation problems in the If I paste what you have there into yamllint.com, it guides me to this change: libraries:
Movies:
report_path: config/missing/movies.yml
metadata_path:
- file: config/movies.yml
- pmm: basic
- pmm: imdb
overlay_path:
- remove_overlays: false
- pmm: ratings
template_variables:
rating1: user
rating1_image: rt_tomato
rating1_font: config/custom_fonts/adlib.ttf
rating1_font_size: 63
rating2: critic
rating2_image: imdb
rating2_font: config/custom_fonts/impact.ttf
rating2_font_size: 70
rating3: audience
rating3_image: tmdb
rating3_font: config/custom_fonts/metropolis-bold.otf
rating3_font_size: 70
horizontal_position: right
- pmm: ribbon
operations:
mass_user_rating_update: mdb_tomatoes
mass_critic_rating_update: imdb
mass_audience_rating_update: tmdb Note the indentation change on the template_variables section. similarly, VS Code, which is YAML-aware, points to the error: And is happy when I outdent that section: |
Beta Was this translation helpful? Give feedback.
The error you have there typically indicates indentation problems in the
config.yml
.If I paste what you have there into yamllint.com, it guides me to this change: