Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled error in lazy lookup plugin #1456

Closed
chewy74 opened this issue Oct 20, 2016 · 3 comments
Closed

Unhandled error in lazy lookup plugin #1456

chewy74 opened this issue Oct 20, 2016 · 3 comments
Labels

Comments

@chewy74
Copy link

chewy74 commented Oct 20, 2016

Expected behaviour:

Match movies based on movie list and pass to transmission

Actual behaviour:

Matches and passes to transmission, but generating lazy lookup errors and creates a crash log. Possibly from imdb_lookup or tmdb_lookup?

Steps to reproduce:

  • Step 1: run movie task but I'm running in daemon mode on a schedule

Config:

Bind
http://pastebin.com/LaCt6BT2

Log:

2016-10-19 17:47 ERROR    
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/tmdb_lookup.py", line 63, in lazy_loader
    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_tmdb.py", line 261, in lookup
    movie = TMDBMovie(id=tmdb_id)
  File "<string>", line 4, in __init__
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance
    manager.dispatch.init_failure(self, args, kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/state.py", line 411, in _initialize_instance
    return manager.original_init(*mixed[1:], **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_tmdb.py", line 98, in __init__
    self.released = dateutil_parse(movie['release_date']).date()
  File "/usr/local/lib/python2.7/dist-packages/dateutil/parser.py", line 1164, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/dateutil/parser.py", line 558, in parse
    raise ValueError("String does not contain a date.")
ValueError: String does not contain a date.
vie(id=tmdb_id)
  File "<string>", line 4, in __init__
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance
    manager.dispatch.init_failure(self, args, kwargs)
  File "/usr/local/lib/python2.7/d

Additional information:

  • Flexget Version: 2.4.0
  • Python Version: Python 2.7.9
  • Installation method: PIP
  • OS and version: Raspbian Jessy
  • Link to crash log:
@liiight
Copy link
Member

liiight commented Oct 20, 2016

please run that task with --debug and paste logs somewhere

@liiight
Copy link
Member

liiight commented Oct 20, 2016

debug flag should come before execute, sorry...

@liiight liiight added the Bug label Oct 20, 2016
@chewy74
Copy link
Author

chewy74 commented Oct 20, 2016

The crash is coming from the tmdb_lookup. I just commented out that plugin from my config and the crashes stopped.

@cvium cvium closed this as completed in da2c6cd Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants