Skip to content

irc confuses exec #2075

@zosky

Description

@zosky

Expected behaviour:

less (or correct) msgs reported to the log
... it says it wont run exec, but it does ?!?!?!

Actual behaviour:

Plugin exec is not executed because input phase is disabled (e.g. --test)
... but the command is executed

Steps to reproduce:

  • use irc
  • let it kick off a task
  • use exec

Config:

variables: variables.yml
schedules: no
irc: #########################
  irc_td:
    port: 6667
    tracker_file: '{? login.td.irc.config ?}'
    nickname: '{? login.td.irc.nick ?}'
    passkey: '{? login.td.irc.passkey ?}'
    task_re:
      tv-x:
        - regexp: (TV\/)|(Anime)
          field: irc_category
tasks:
  tv-x:   ## MAIN TV EP catcher f/IRC
    manual: yes
    template: tv
    accept_all: yes
    exec:
      on_output:
        for_accepted:  echo "{{title}}" >> /tmp/stuff.log

Log:

2018-02-02 04:33 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 04:33 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 04:33 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 04:33 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 04:34 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 06:33 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 07:56 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 08:04 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 08:21 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 09:19 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 09:22 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 09:25 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 09:26 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 09:29 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)
2018-02-02 09:34 INFO     task          tv-x            Plugin exec is not executed because input phase is disabled (e.g. --test)

Additional information:

  • FlexGet version: 2.11.23
  • Python version: 2.7.12
  • Installation method: git
  • Using daemon (yes/no): yes
  • OS and version: Ubuntu 16.04.3 LTS / xenial / server-edition
  • Link to crash log: no crash, just (confusing) noise in the 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