You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity
liiight commentedon Dec 16, 2016
Plugin was changed in 2.7.0,see upgrade actions
[fix] email - Use `text_to_native_str` to avoid crash on some auth ty…