Skip to content

Crash in lazy_lookup #1877

Closed
Closed
@tremby

Description

I'm getting a crash repeatedly.

I was getting it with 2.10.33 and just updated to 2.10.61 where the issue remains.

In my log file:

2017-06-18 20:29 ERROR    lazy_lookup   mytask    Unhandled error in lazy lookup plugin
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/lazy_dict.py", line 37, in __getitem__
    func(self.store)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/metainfo/thetvdb_lookup.py", line 125, in lazy_series_lookup
    return self.series_lookup(entry, language, self.series_map)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/database.py", line 34, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/metainfo/thetvdb_lookup.py", line 117, in series_lookup
    session=session
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/database.py", line 31, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_tvdb.py", line 542, in lookup_series
    tvdb_id = find_series_id(name, language=language)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_tvdb.py", line 457, in find_series_id
    title = split_title_year(n)[0]
TypeError: 'NoneType' object has no attribute '__getitem__'

Additional information:

  • FlexGet version: 2.10.61
  • Python version: 2.7.12
  • Installation method: pip
  • Using daemon (yes/no): yes
  • OS and version: Ubuntu 16.04

It looks to be very similar to #1466

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