Skip to content

Undefined variables in email plugin #1324

@sideeffffect

Description

@sideeffffect

Expected behaviour:

I expect now and tvdb variables to be defined. They are not (all) defined.

Actual behaviour:

e.g.

2016-08-12 00:31 ERROR    email         1_1080p_Preacher Error rendering email body: (UndefinedError) 'now' is undefined

also tvdb_banner_url is not defined and tvdb_ep_image_url is not defined, even though the are on thetvdb.com: 1, 2

(on the other hand, some tvdb variables are available, like tvdb_ep_name, tvdb_ep_air_date, tvdb_ep_rating

Steps to reproduce:

run flexget with the specific configuration

Config:

I'm referring to the configuration and email template at https://github.com/sideeffffect/flexgen

Additional information:

  • Flexget Version: 2.2.15
  • Python Version: Python 2.7.6
  • Installation method: pip
  • OS and version: Ubuntu 14.04, Linux odroid 3.8.13.28 #1 SMP PREEMPT Wed Dec 3 18:40:50 BRST 2014 armv7l armv7l armv7l GNU/Linux

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