Skip to content

BUG: Unhandled error in plugin inputs: a float is required #1210

@rchovan

Description

@rchovan

Expected behaviour:

run without error

Actual behaviour:

2016-05-28 21:03 CRITICAL task          fill_scene      BUG: Unhandled error in plugin inputs: a float is required
2016-05-28 21:03 CRITICAL manager       fill_scene      An unexpected crash has occurred. Writing crash report to /home/flexget/crash_report.2016.05.28.210337610023.log. Please verify you are runni
2016-05-28 21:03 DEBUG    manager       fill_scene      Traceback:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 443, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/inputs.py", line 50, in on_task_input
    result = method(task, input_config)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/cached_input.py", line 164, in wrapped_func
    response = func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 120, in wrapped_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/sceper.py", line 94, in on_task_input
    releases = self.parse_site(config, task)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/sceper.py", line 36, in parse_site
    raise plugin.PluginError('Error getting input page: %e' % e)
TypeError: a float is required
2016-05-28 21:03 WARNING  task          fill_scene      Aborting task (plugin: inputs)

Config:

 fill_scene:
    priority: 11
    inputs:
      - sceper: http://sceper.ws/category/movies/hdrip-movies
      - sceper: http://sceper.ws/category/movies/movies-hddvd-rip
      - sceper: http://sceper.ws/category/movies/movies-bluray-rip/movies-brrip
      - sceper: http://sceper.ws/category/movies/movies-bluray-rip
    template: filter_imdb
    list_add:
      - movie_list: movies
    disable:
      - seen # seen needs to be disabled since all the titles that movie queue will emit were seen when they were added to the queue
      - metainfo_quality

Log:

016-05-28 21:03 DEBUG    sceper        fill_scene      found link knight -> http://sceper.ws/author/theknight
2016-05-28 21:03 DEBUG    sceper        fill_scene      found link movies -> http://sceper.ws/category/movies
2016-05-28 21:03 DEBUG    sceper        fill_scene      found link movies - hddvd rip -> http://sceper.ws/category/movies/movies-hddvd-rip
2016-05-28 21:03 DEBUG    sceper        fill_scene      found link 31 comments -> http://sceper.ws/08/the-rover-2014-720p-hdrip-x264-ac3-5-1-playnow.html#comments
2016-05-28 21:03 DEBUG    input_cache   fill_scene      storing to cache sceper_6daad258c764e1010e4fce18661b3959 8 entries
2016-05-28 21:03 DEBUG    inputs        fill_scene      URL for `How to Train Your Dragon 2 2014 HDRip XviD-ZIKAS` already in entry list, skipping.
2016-05-28 21:03 DEBUG    inputs        fill_scene      URL for `Begin Again 2013 HDRip x264-KingStoner` already in entry list, skipping.
2016-05-28 21:03 DEBUG    input_cache   fill_scene      cache name: sceper_ab74364e291009447d8ae510d0241138 (has: sceper_d9c38eb34341b5a699498988de8f98be, sceper_6daad258c764e1010e4fce18661b3959)
2016-05-28 21:03 DEBUG    utils.requests fill_scene      Fetching http://sceper.ws/category/movies/movies-bluray-rip/movies-brrip
2016-05-28 21:03 CRITICAL task          fill_scene      BUG: Unhandled error in plugin inputs: a float is required
2016-05-28 21:03 CRITICAL manager       fill_scene      An unexpected crash has occurred. Writing crash report to /home/flexget/crash_report.2016.05.28.210337610023.log. Please verify you are runni
ng 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 2.0.35
2016-05-28 21:03 DEBUG    manager       fill_scene      Traceback:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 443, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/inputs.py", line 50, in on_task_input
    result = method(task, input_config)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/cached_input.py", line 164, in wrapped_func
    response = func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 120, in wrapped_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/sceper.py", line 94, in on_task_input
    releases = self.parse_site(config, task)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/sceper.py", line 36, in parse_site
    raise plugin.PluginError('Error getting input page: %e' % e)
TypeError: a float is required
2016-05-28 21:03 WARNING  task          fill_scene      Aborting task (plugin: inputs)

Additional information:

Metadata

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