Traceback (most recent call last):
File "C:\projects\TelegramMonitor\TEx__main.py", line 22, in
sys.exit(TelegramMonitorRunner().main())
File "C:\projects\TelegramMonitor\TEx\runner.py", line 70, in main
self.execute_sequence(args, data, self.config['PIPELINE']['pipeline_sequence'].split('\n'), 'Pipeline')
File "C:\projects\TelegramMonitor\TEx\runner.py", line 100, in execute_sequence
loop.run_until_complete(
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
2023-10-11 08:34:00,985 - INFO - Filtering
return future.result()
File "C:\projects\TelegramMonitor\TEx\runner.py", line 122, in execute_pipeline_item
await module_instance.run(
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 75, in run
await self.export_data(
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 122, in export_data
filtered_messages: List[str] = self.filter_messages(messages=messages, filter_regexs=filter_regexs)
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 149, in filter_messages
compiled_regex = [re.compile(item, flags=re.IGNORECASE | re.MULTILINE) for item in filter_regexs]
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 149, in
compiled_regex = [re.compile(item, flags=re.IGNORECASE | re.MULTILINE) for item in filter_regexs]
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\re.py", line 252, in compile
return _compile(pattern, flags)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\re.py", line 304, in _compile
p = sre_compile.compile(pattern, flags)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_compile.py", line 764, in compile
p = sre_parse.parse(p, flags)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 948, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 443, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 593, in _parse
raise source.error(msg, len(this) + 1 + len(that))
re.error: bad character range \w-. at position 2
When using
Traceback (most recent call last): File "C:\projects\TelegramMonitor\TEx__main.py", line 22, in
sys.exit(TelegramMonitorRunner().main())
File "C:\projects\TelegramMonitor\TEx\runner.py", line 70, in main
self. execute_sequence(args, data, self.config['PIPELINE']['pipeline_sequence'].split('\n'), 'Pipeline')
File "C:\projects\TelegramMonitor\TEx\runner.py", line 100, in execute_sequence
loop.run_until_complete(
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
2023-10-11 08:34:00,985 - INFO - Filtering
return future.result()
File "C:\projects\TelegramMonitor\TEx\runner.py", line 122, in execute_pipeline_item
await module_instance.run(
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 75, in run
await self.export_data(
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 122, in export_data
filtered_messages: List[str] = self.filter_messages(messages=messages, filter_regexs=filter_regexs)
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 149, in filter_messages
compiled_regex = [re.compile(item, flags=re.IGNORECASE | re.MULTILINE) for item in filter_regexs]
File "C:\projects\TelegramMonitor\TEx\modules\telegram_report_generator\telegram_export_text_generator.py", line 149, in
compiled_regex = [re.compile(item, flags=re.IGNORECASE | re.MULTILINE) for item in filter_regexs]
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\re.py", line 252, in compile
return _compile(pattern, flags)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\re.py", line 304, in _compile
p = sre_compile.compile(pattern, flags)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_compile.py", line 764, in compile
p = sre_parse.parse(p, flags)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 948, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 443, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
File "C:\Users\Th3 0bservator\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 593, in _parse
raise source.error(msg, len(this) + 1 + len(that))
re.error: bad character range \w-. at position 2