-
Notifications
You must be signed in to change notification settings - Fork 481
Telegram plugin and template key not valid #1569
Copy link
Copy link
Closed
Description
Expected behaviour:
I expect template key to work when I set the template (it worked 1 day ago and nothing changed)
Actual behaviour:
Flexget gives me the following error:
2016-12-16 23:42 CRITICAL manager [/templates/telegram_bot/telegram] The key template is not valid here.
2016-12-16 23:42 CRITICAL manager Failed to load config file: Did not pass schema validation.
Steps to reproduce:
Copy my config and run flexget execute
Config:
telegram_bot:
telegram:
bot_token: 123456:botid
template: |
{{task}} - Download started:
{% if series_name is defined %}
{{tvdb_series_name|d(series_name)}} {{series_id}} {{tvdb_ep_name|d('')}}
{% elif imdb_name is defined %}
{{imdb_name}} {{imdb_year}}
{% else %}
{{title}}
{% endif %}
recipients:
- username: your-username
Log:
2016-12-16 23:42 CRITICAL manager [/templates/telegram_bot/telegram] The key `template` is not valid here.
2016-12-16 23:42 CRITICAL manager Failed to load config file: Did not pass schema validation.
Additional information:
- Python telegram bot: 4.3.1 ( I also tried with latest version)
- Flexget Version: FlexGet (2.8.4)
- Python Version: 2.7.12+
- Installation method: I installed flexget and python-telegram-bot with pip
- OS and version: Ubuntu latest
- Link to crash log:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels