8000 Telegram plugin and template key not valid · Issue #1569 · Flexget/Flexget · GitHub
[go: up one dir, main page]

Skip to content

Telegram plugin and template key not valid #1569

Closed

Description

@matejzero

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:

Activity

  1. liiight commented on Dec 16, 2016

    @liiight
    Member

    Plugin was changed in 2.7.0,see upgrade actions

  2. added a commit that references this issue on Dec 22, 2016
    01eabe3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0