question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.11.22 broke some series parsing

See original GitHub issue

Expected behaviour:

In the task fill-series-list from my config, it used to fetch series from a trakt list, lookup for the tvdb name for those series, and add the names to a list

Actual behaviour:

After 2.11.22, this doesnt work anymore, because the parsing fails for some reason, and is unable to resolve the tvdb_series_name. Either that or some execution order change…

Steps to reproduce:

  • Just run the config below or see the logs

Config:

tasks:
  fill-series-list:
    metainfo_series: yes
    thetvdb_lookup: yes
    list_clear:
      what:
        - entry_list: trakt-series
    trakt_list:
      username: "jonybat"
      list: "test"
      type: shows
    accept_all: yes
    set:
      title: "{{tvdb_series_name}}"
    list_add:
      - entry_list: trakt-series

Log:

2.11.21:

2018-01-31 21:09 VERBOSE  details       fill-series-list Produced 1 entries.
2018-01-31 21:09 DEBUG    api_tvdb      fill-series-list Looking up tvdb information for 'Westworld (2016)'. TVDB ID: 296762
2018-01-31 21:09 DEBUG    api_tvdb      fill-series-list Series <name=Westworld (2016),tvdb_id=296762> information restored from cache.
2018-01-31 21:09 VERBOSE  task          fill-series-list ACCEPTED: `Westworld` by accept_all plugin
2018-01-31 21:09 DEBUG    urlrewriter   fill-series-list Checking 1 entries
2018-01-31 21:09 VERBOSE  details       fill-series-list Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2018-01-31 21:09 VERBOSE  list_add      fill-series-list adding accepted entries into entry_list - trakt-series
2018-01-31 21:09 DEBUG    api_tvdb      fill-series-list Looking up tvdb information for 'Westworld (2016)'. TVDB ID: 296762
2018-01-31 21:09 DEBUG    api_tvdb      fill-series-list Series <name=Westworld (2016),tvdb_id=296762> information restored from cache.
2018-01-31 21:09 DEBUG    api_tvdb      fill-series-list Looking up tvdb information for 'Westworld (2016)'. TVDB ID: 296762
2018-01-31 21:09 DEBUG    api_tvdb      fill-series-list Series <name=Westworld (2016),tvdb_id=296762> information restored from cache.
2018-01-31 21:09 DEBUG    entry_list    fill-series-list adding entry <Entry(title=Westworld,state=accepted)> to list trakt-series

2.11.22:

2018-01-31 21:11 VERBOSE  details       fill-series-list Produced 1 entries.
2018-01-31 21:11 DEBUG    utils.template fill-series-list Error during rendering: (UndefinedError) 'tvdb_series_name' is undefined
2018-01-31 21:11 ERROR    set           fill-series-list Could not set title for Westworld (2016): (UndefinedError) 'tvdb_series_name' is undefined
2018-01-31 21:11 DEBUG    parser_internal fill-series-list Parsing series: `Westworld (2016)` kwargs: {'identified_by': u'auto', 'name': None, 'allow_seasonless': False}
2018-01-31 21:11 DEBUG    parser_internal fill-series-list Parsing result: <SeriesParser(data=Westworld (2016),name=None,id=None,season=None,season_pack=None,episode=None,quality=None,proper=0,status=INVALID)> (in 54.946 ms)
2018-01-31 21:11 VERBOSE  task          fill-series-list ACCEPTED: `Westworld (2016)` by accept_all plugin
2018-01-31 21:11 DEBUG    urlrewriter   fill-series-list Checking 1 entries
2018-01-31 21:11 VERBOSE  details       fill-series-list Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2018-01-31 21:11 VERBOSE  list_add      fill-series-list adding accepted entries into entry_list - trakt-series
2018-01-31 21:11 DEBUG    api_tvdb      fill-series-list Looking up tvdb information for 'Westworld (2016)'. TVDB ID: 296762
2018-01-31 21:11 DEBUG    api_tvdb      fill-series-list Series <name=Westworld (2016),tvdb_id=296762> information restored from cache.
2018-01-31 21:11 DEBUG    api_tvdb      fill-series-list Looking up tvdb information for 'Westworld (2016)'. TVDB ID: 296762
2018-01-31 21:11 DEBUG    api_tvdb      fill-series-list Series <name=Westworld (2016),tvdb_id=296762> information restored from cache.
2018-01-31 21:11 DEBUG    api_tvdb      fill-series-list Looking up tvdb information for 'Westworld (2016)'. TVDB ID: 296762
2018-01-31 21:11 DEBUG    api_tvdb      fill-series-list Series <name=Westworld (2016),tvdb_id=296762> information restored from cache.
2018-01-31 21:11 DEBUG    entry_list    fill-series-list adding entry <Entry(title=Westworld (2016),state=accepted)> to list trakt-series

Additional information:

  • FlexGet version: 2.11.22 and above
  • Python version: Tested in 2.7.14 and 3.5.2
  • Installation method: pip
  • Using daemon (yes/no): Either
  • OS and version: Fedora 25 and Ubuntu 16.04

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
purefncommented, Sep 7, 2018

Ping. There’s a PR for this, but it hasn’t gotten any attention since July. It would be great to get this fixed.

0reactions
marine1988commented, Jul 8, 2019

is there any news ? is this fixed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

breneser - Profile
breneser commented on this issue2.11.22 broke some series parsing. Flexget 3 years ago. breneser commented on this issueCloudflare dns client ( for dns...
Read more >
Parsing in Java: all the tools and libraries you can use
We present and compare all possible alternatives you can use to parse languages in Java. From libraries to parser generators, we present all...
Read more >
ChangeLog
Changelog. This changelog is in progress. It can be manually updated via the wiki, but is also updated automatically via select commit messages...
Read more >
Full recap of the latest Fed rate hike and Chair Powell's ...
... than any signal of Fed action. From this point on, we should think slower and steady…until something breaks.” — Michelle Fox. Wed,...
Read more >
Changelog
Remove mentions of JSON format requirement in some error messages. 02-Nov-2022. Add new Postgres 15 features to TEXT format parsing support. Fix times...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found