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.

Unhandled error in lazy lookup plugin +thetvdb

See original GitHub issue
  • Flexget Version: 2.13.15 and 2.13.14
  • Python version: 2.7.14
  • Installation method: pip
  • Using daemon (yes/no) yes:
  • OS and version: Win10

Expected behaviour: Not to throw Critical Error

Actual behaviour: Critical Error, task stops running

Steps to reproduce:

ttv-list:
    metainfo_series: yes
    thetvdb_lookup: yes
    tvmaze_lookup: yes
    list_clear:
      what:
        - entry_list: tvlist
    accept_all: yes
    if:
      - tvmaze_series_status == 'Ended': reject
      - tvdb_status == 'Ended': reject
      - "'WWE' in title": reject
    set:
      title: "{{tvdb_series_name|default(tvmaze_series_name)|default(series_name)}}"
    next_trakt_episodes:
      < trackt login data>
      context: watched
      strip_dates: yes
    list_add:
      - entry_list: tvlist

Log:

2018-05-07 23:40 ERROR    lazy_lookup   ttv-list  Unhandled error in lazy lookup plugin
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\flexget\utils\lazy_dict.py", line 37, in __getitem__
    func(self.store)
  File "c:\python27\lib\site-packages\flexget\plugins\metainfo\thetvdb_lookup.py", line 159, in lazy_episode_lookup
    entry.update_using_map(self.episode_map, episode)
  File "c:\python27\lib\site-packages\flexget\entry.py", line 276, in update_using_map
    v = value(source_item)
  File "c:\python27\lib\site-packages\flexget\plugins\metainfo\thetvdb_lookup.py", line 99, in <lambda>
    'tvdb_ep_id': lambda ep: 'S%02dE%02d' % (ep.season_number, ep.episode_number)
TypeError: %d format: a number is required, not NoneType`

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
chewy74commented, May 14, 2018

I’m having this issue also… This stops my task before it can finish, and the torrent doesn’t get sent to transmission for download.

This only seems to happen when the task runs in daemon mode. Manual execution will see the task complete and torrent download.

1reaction
liiightcommented, May 10, 2018

this error has absolutely nothing in common with the reported issue… It just shows you had a DB IO issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Unhandled error in lazy lookup plugin +thetvdb -
Coming soon: A brand new website interface for an even better experience!
Read more >
Flexget/Flexget - Gitter
Not-8b17 [Flexget] leetwanker opened issue #990: ERROR lazy_lookup Unhandled error in lazy lookup plugin - https://git.io/vVqr5.
Read more >
TheTVDB.com: Welcome
You've found the most accurate source for TV and film. Our information comes from fans like you, so create a free account and...
Read more >
uncategorized - Forum - FlexGet - RSSing.com
Next Unhandled error in lazy lookup plugin: unhashable type: 'list' ... Is there any way to associate a Transmission torrent with a TVDB...
Read more >
rawhide report: 20130313 changes - devel
... libgraph.so.5()(64bit) fawkes-plugin-clips-0.5.0-5.fc19.i686 ... package: abrt-2.1.1-1.fc19 Automatic bug detection and reporting tool ...
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