Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

TVDb lookup broken after 1.2.489

$
0
0

@shotfirer wrote:

After updating from 1.2.481 to 1.2.489 i'm getting this kind of error with every tvdb lookup. How can i fix this? Is authentication mandatory with new API?

2016-03-18 05:06 ERROR    lazy_lookup   RARBG           Unhandled error in lazy lookup plugin
2016-03-18 05:06 CRITICAL manager       RARBG           An unexpected crash has occurred. Writing crash report to /root/.flexget/crash_report.2016.03.18.050602022293.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 1.2.489
2016-03-18 05:06 ERROR    lazy_lookup   RARBG           Unhandled error in lazy lookup plugin
Traceback (most recent call last):
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/utils/lazy_dict.py", line 36, in __getitem__
    func(self.store)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/plugins/metainfo/thetvdb_lookup.py", line 109, in lazy_series_lookup
    return self.series_lookup(entry, self.series_map)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/utils/database.py", line 30, in wrapper
    return func(*args, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/plugins/metainfo/thetvdb_lookup.py", line 102, in series_lookup
    tvdb_id=entry.get('tvdb_id', eval_lazy=False), session=session)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/utils/database.py", line 27, in wrapper
    return func(*args, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/plugins/api_tvdb.py", line 408, in lookup_series
    series.update(session)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/plugins/api_tvdb.py", line 154, in update
    series = TVDBRequest().get('series/%s' % self.id)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/plugins/api_tvdb.py", line 73, in get
    result = self._request('get', endpoint, **params)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/plugins/api_tvdb.py", line 56, in _request
    headers = {'Authorization': 'Bearer %s' % self.get_auth_token()}
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/plugins/api_tvdb.py", line 50, in get_auth_token
    tokens[self.auth_key] = requests.post(TVDBRequest.BASE_URL + 'login', json=data).json().get('token')
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/utils/requests.py", line 277, in post
    return request('post', url, data=data, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/utils/requests.py", line 247, in request
    return s.request(method=method, url=url, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2.489-py2.7.egg/flexget/utils/requests.py", line 232, in request
    result = requests.Session.request(self, method, url, *args, **kwargs)
TypeError: request() got an unexpected keyword argument 'json'

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles