You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "manager.py", line 41, in
view(loop=False)
File "/home/Swar-Chia-Plot-Manager/plotmanager/library/utilities/commands.py", line 160, in view
analysis = analyze_log_dates(log_directory=log_directory, analysis=analysis)
File "/home/Swar-Chia-Plot-Manager/plotmanager/library/utilities/log.py", line 88, in analyze_log_dates
data = _analyze_log_end_date(contents, file_path)
File "/home/Swar-Chia-Plot-Manager/plotmanager/library/utilities/log.py", line 36, in _analyze_log_end_date
file_date = dateparser.parse(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(parsed_date)))
File "/usr/local/lib/python3.8/dist-packages/dateparser/conf.py", line 89, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/dateparser/init.py", line 54, in parse
data = parser.get_date_data(date_string, date_formats)
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 421, in get_date_data
parsed_date = _DateLocaleParser.parse(
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 178, in parse
return instance._parse()
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 182, in _parse
date_data = self._parsersparser_name
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 196, in _try_freshness_parser
return freshness_date_parser.get_date_data(self._get_translated_date(), self._settings)
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 234, in _get_translated_date
self._translated_date = self.locale.translate(
File "/usr/local/lib/python3.8/dist-packages/dateparser/languages/locale.py", line 131, in translate
relative_translations = self._get_relative_translations(settings=settings)
File "/usr/local/lib/python3.8/dist-packages/dateparser/languages/locale.py", line 158, in _get_relative_translations
self._generate_relative_translations(normalize=True))
File "/usr/local/lib/python3.8/dist-packages/dateparser/languages/locale.py", line 172, in _generate_relative_translations
pattern = DIGIT_GROUP_PATTERN.sub(r'?P\d+', pattern)
File "/usr/local/lib/python3.8/dist-packages/regex/regex.py", line 710, in _compile_replacement_helper
is_group, items = _compile_replacement(source, pattern, is_unicode)
File "/usr/local/lib/python3.8/dist-packages/regex/_regex_core.py", line 1737, in _compile_replacement
raise error("bad escape \%s" % ch, source.string, source.pos)
regex._regex_core.error: bad escape \d at position 7
The text was updated successfully, but these errors were encountered:
File "manager.py", line 41, in
view(loop=False)
File "/home/Swar-Chia-Plot-Manager/plotmanager/library/utilities/commands.py", line 160, in view
analysis = analyze_log_dates(log_directory=log_directory, analysis=analysis)
File "/home/Swar-Chia-Plot-Manager/plotmanager/library/utilities/log.py", line 88, in analyze_log_dates
data = _analyze_log_end_date(contents, file_path)
File "/home/Swar-Chia-Plot-Manager/plotmanager/library/utilities/log.py", line 36, in _analyze_log_end_date
file_date = dateparser.parse(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(parsed_date)))
File "/usr/local/lib/python3.8/dist-packages/dateparser/conf.py", line 89, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/dateparser/init.py", line 54, in parse
data = parser.get_date_data(date_string, date_formats)
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 421, in get_date_data
parsed_date = _DateLocaleParser.parse(
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 178, in parse
return instance._parse()
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 182, in _parse
date_data = self._parsersparser_name
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 196, in _try_freshness_parser
return freshness_date_parser.get_date_data(self._get_translated_date(), self._settings)
File "/usr/local/lib/python3.8/dist-packages/dateparser/date.py", line 234, in _get_translated_date
self._translated_date = self.locale.translate(
File "/usr/local/lib/python3.8/dist-packages/dateparser/languages/locale.py", line 131, in translate
relative_translations = self._get_relative_translations(settings=settings)
File "/usr/local/lib/python3.8/dist-packages/dateparser/languages/locale.py", line 158, in _get_relative_translations
self._generate_relative_translations(normalize=True))
File "/usr/local/lib/python3.8/dist-packages/dateparser/languages/locale.py", line 172, in _generate_relative_translations
pattern = DIGIT_GROUP_PATTERN.sub(r'?P\d+', pattern)
File "/usr/local/lib/python3.8/dist-packages/regex/regex.py", line 710, in _compile_replacement_helper
is_group, items = _compile_replacement(source, pattern, is_unicode)
File "/usr/local/lib/python3.8/dist-packages/regex/_regex_core.py", line 1737, in _compile_replacement
raise error("bad escape \%s" % ch, source.string, source.pos)
regex._regex_core.error: bad escape \d at position 7
The text was updated successfully, but these errors were encountered: