Skip to content

AlphaRatio plugin bug? #1420

@schunemunk

Description

@schunemunk

Expected behaviour:

next_series_episodes starts to get torrents from Alpharatio

Actual behaviour:

Crash.
CRITICAL task downloads_search BUG: Unhandled error in plugin discover: 'NoneType' object has no attribute 'group'

Steps to reproduce:

  • Step 1: ... heck if I know. It's consistent with my configuration, so probably my fault...

Config:

http://pastebin.com/1XwQe4Dt

Log:

2016-09-23 07:49 DEBUG    alpharatio    downloads_search requesting: https://alpharatio.cc/torrents.php?searchstr=The+Flash+S01E01&order_by=seeders&order_way=desc&search_submit=1&action=basic&freeleech=0
2016-09-23 07:49 CRITICAL task          downloads_search BUG: Unhandled error in plugin discover: 'NoneType' object has no attribute 'group'
2016-09-23 07:49 CRITICAL manager       downloads_search An unexpected crash has occurred. Writing crash report to /Users/patrick/.config/flexget/crash_report.2016.09.23.074930380420.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 2.3.27
2016-09-23 07:49 DEBUG    manager       downloads_search Traceback:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/flexget/task.py", line 478, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/flexget/plugins/input/discover.py", line 290, in on_task_input
    return self.execute_searches(config, entries, task)
  File "/usr/local/lib/python2.7/site-packages/flexget/plugins/input/discover.py", line 155, in execute_searches
    search_results = search.search(task=task, entry=entry, config=plugin_config)
  File "/usr/local/lib/python2.7/site-packages/flexget/plugin.py", line 118, in wrapped_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/flexget/plugins/sites/alpharatio.py", line 209, in search
    e['content_size'] = parse_filesize(size.group(0))
AttributeError: 'NoneType' object has no attribute 'group'
2016-09-23 07:49 WARNING  task          downloads_search Aborting task (plugin: discover)
2016-09-23 07:49 DEBUG    task_queue                    task downloads_search aborted: TaskAbort(reason=BUG: Unhandled error in plugin discover: 'NoneType' object has no attribute 'group', silent=False)
2016-09-23 07:49 DEBUG    task_queue                    task queue shut down

Additional information:

  • Flexget Version: 2.3.27
  • Python Version: 2.7.11
  • Installation method: pip
  • OS and version: macOS 10.12
  • Link to crash log: http://pastebin.com/6cAn7Tdp

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions