Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Bug with python 3.7

$
0
0

@Fluxenator wrote:

G'day all,

I'm currently having issues with flexget when it runs a task. The error that I get is:

2018-12-09 22:02 CRITICAL task TV-SHOWS BUG: Unhandled error in plugin series: bad escape \w at position 5
2018-12-09 22:02 CRITICAL manager TV-SHOWS An unexpected crash has occurred. Writing crash report to /home/xxxxxx/.config/flexget/crash_report.2018.12.09.220203517425.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.17.18

Have verified that I'm on the latest version.

When I open the log, I get the following:

2018-12-09 20:19 DEBUG manager Figuring out config load paths
2018-12-09 20:19 DEBUG manager Found config: /home/xxxxxxxxx/.config/flexget/config.yml
2018-12-09 20:19 DEBUG manager Config file /home/xxxxxxx/.config/flexget/config.yml selected
2018-12-09 20:19 VERBOSE task_queue There are 3 tasks to execute. Shutdown will commence when they have completed.
2018-12-09 20:19 VERBOSE input_cache TV-SHOWS Restored 19 entries from db cache
2018-12-09 20:19 VERBOSE rss TV-SHOWS Not processing entries from last run.
2018-12-09 20:19 VERBOSE inputs TV-SHOWS Input rss did not return anything
2018-12-09 20:19 VERBOSE details TV-SHOWS Produced 50 entries.
2018-12-09 20:19 CRITICAL task TV-SHOWS BUG: Unhandled error in plugin series: bad escape \w at position 5
Traceback (most recent call last):
File "/usr/lib/python3.7/sre_parse.py", line 1021, in parse_template
this = chr(ESCAPES[this][1])
KeyError: '\w'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/flexget/task.py", line 486, in _runplugin
return method(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/flexget/event.py", line 23, in call
return self.func(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/flexget/plugins/filter/series.py", line 1615, in on_task_metainfo
parsed = parser.parse_series(entry['title'])
File "/usr/lib/python3.7/site-packages/flexget/plugins/parsers/plugin_parsing.py", line 74, in parse_series
return parser.parse_series(data, name=name, **kwargs)
File "/usr/lib/python3.7/site-packages/flexget/plugins/parsers/parser_internal.py", line 48, in parse_series
parser.parse(data)
File "/usr/lib/python3.7/site-packages/flexget/utils/titles/series.py", line 225, in parse
name_to_re(name, self.ignore_prefixes, self) for name in [self.name] + self.alternate_names)
File "/usr/lib/python3.7/site-packages/flexget/utils/tools.py", line 205, in init
list.init(self, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/flexget/utils/titles/series.py", line 225, in
name_to_re(name, self.ignore_prefixes, self) for name in [self.name] + self.alternate_names)
File "/usr/lib/python3.7/site-packages/flexget/plugins/parsers/parser_common.py", line 85, in name_to_re
res = re.sub(' +', blank + '*', res, re.UNICODE)
File "/usr/lib/python3.7/re.py", line 192, in sub
return _compile(pattern, flags).sub(repl, string, count)
File "/usr/lib/python3.7/re.py", line 309, in _subx
template = compilerepl(template, pattern)
File "/usr/lib/python3.7/re.py", line 300, in compilerepl
return sre_parse.parse_template(repl, pattern)
File "/usr/lib/python3.7/sre_parse.py", line 1024, in parse_template
raise s.error('bad escape %s' % this, len(this))
re.error: bad escape \w at position 5

Any Idea on how to fix the issue?

Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles