Skip to content

from_digest->limit deprecation warning is show even when not using limit #2886

@molnarg

Description

@molnarg

Expected behaviour:

The deprecation warning for the limit option of from_digest is shown when it's used.

Actual behaviour:

The deprecation warning is shown even if it's not used:

2021-03-22 21:03:54 WARNING  config_schema                 The `limit` option of from_digest is deprecated. Use the `limit` plugin instead.

Steps to reproduce:

  • Step 1: write any config using from_digest
  • Step 2: execute it

Config:

tasks:
  test:
    from_digest:
      list: a

Log:

(click to expand)
$ flexget -c /tmp/x.yml execute
2021-03-22 21:07:57 VERBOSE  manager                       Creating new database /tmp/db-x.sqlite - DO NOT INTERRUPT ...
2021-03-22 21:07:58 WARNING  config_schema                 The `limit` option of from_digest is deprecated. Use the `limit` plugin instead.
2021-03-22 21:07:58 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2021-03-22 21:07:58 WARNING  details       test            Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2021-03-22 21:07:58 WARNING  task          test            Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2021-03-22 21:07:59 VERBOSE  details       test            Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)
2021-03-22 21:07:59 WARNING  task          test            Task doesn't have any output plugins, you should add (at least) one!

Additional information:

  • FlexGet version: 3.1.106
  • Python version: Python 3.7.3
  • Installation method: sudo pip3 install flexget
  • Using daemon (yes/no): no
  • OS and version: Debian Buster on arm64
  • Link to crash log: -

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