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

Discover plugin crashes

$
0
0

@Fabrizio_Bottaro wrote:

Unhandled error in plugin discover: cannot use a string pattern on a bytes-like object..

I get the issue with discover plugin, here is sample config

discover:
      what:
        - emit_movie_queue: true
      from:
        - piratebay:
            category: "highres movies"
            sort_by: seeds
        - rarbg:
            category: [17, 44, 45, 42, 46]
        - torrentz: good
        - kat:
            category: movies

Unhandled error in plugin discover: cannot use a string pattern on a bytes-like object
Traceback (most recent call last):
  File "/opt/lib/python3.5/site-packages/flexget/task.py", line 443, in __run_plugin
    return method(*args, **kwargs)
  File "/opt/lib/python3.5/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/opt/lib/python3.5/site-packages/flexget/plugins/input/discover.py", line 272, in on_task_input
    return self.execute_searches(config, entries, task)
  File "/opt/lib/python3.5/site-packages/flexget/plugins/input/discover.py", line 143, in execute_searches
    search_results = search.search(task=task, entry=entry, config=plugin_config)
  File "/opt/lib/python3.5/site-packages/flexget/plugin.py", line 120, in wrapped_func
    return func(*args, **kwargs)
  File "/opt/lib/python3.5/site-packages/flexget/plugins/search/rarbg.py", line 120, in search
    query = normalize_scene(search_string)
  File "/opt/lib/python3.5/site-packages/flexget/utils/search.py", line 55, in normalize_scene
    normalize('NFKD', text).encode('ASCII', 'ignore'))
  File "/opt/lib/python3.5/re.py", line 182, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: cannot use a string pattern on a bytes-like object

Running latest flexget.

THanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles