Skip to content

[错误报告] 更新RSS报错Task exception was never retrieved #974

@leverglowh

Description

@leverglowh

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经查阅了已知问题,并确认我的问题不在其中。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

3.2.3-beta2

问题类型

程序运行问题

问题描述

程序尝试更新rss时报错 Task exception was never retrieved
导致无法下载新番

发生问题时系统日志

2026-01-29T10:40:17.926753701Z [2026-01-29 11:40:17] ERROR     Task exception was never retrieved
2026-01-29T10:40:17.926791859Z future: <Task finished name='Task-585' coro=<RSSThread.rss_loop() done, defined at /app/module/core/sub_thread.py:25> exception=PatternError('unterminated character set at position 11')>
2026-01-29T10:40:17.926807888Z Traceback (most recent call last):
2026-01-29T10:40:17.926811631Z   File "/app/module/core/sub_thread.py", line 34, in rss_loop
2026-01-29T10:40:17.926814707Z     await engine.refresh_rss(client)
2026-01-29T10:40:17.926817615Z   File "/app/module/rss/engine.py", line 153, in refresh_rss
2026-01-29T10:40:17.926820467Z     matched_data = self.match_torrent(torrent)
2026-01-29T10:40:17.926823147Z   File "/app/module/rss/engine.py", line 126, in match_torrent
2026-01-29T10:40:17.926825827Z     pattern = self._get_filter_pattern(matched.filter)
2026-01-29T10:40:17.926828697Z   File "/app/module/rss/engine.py", line 116, in _get_filter_pattern
2026-01-29T10:40:17.926831479Z     self._filter_cache[filter_str] = re.compile(
2026-01-29T10:40:17.926834083Z                                      ~~~~~~~~~~^
2026-01-29T10:40:17.926836725Z         filter_str.replace(",", "|"), re.IGNORECASE
2026-01-29T10:40:17.926839736Z         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-29T10:40:17.926842369Z     )
2026-01-29T10:40:17.926844836Z     ^
2026-01-29T10:40:17.926847338Z   File "/usr/local/lib/python3.13/re/__init__.py", line 289, in compile
2026-01-29T10:40:17.926849935Z     return _compile(pattern, flags)
2026-01-29T10:40:17.926852422Z   File "/usr/local/lib/python3.13/re/__init__.py", line 350, in _compile
2026-01-29T10:40:17.926855068Z     p = _compiler.compile(pattern, flags)
2026-01-29T10:40:17.926857756Z   File "/usr/local/lib/python3.13/re/_compiler.py", line 748, in compile
2026-01-29T10:40:17.926860471Z     p = _parser.parse(p, flags)
2026-01-29T10:40:17.926862936Z   File "/usr/local/lib/python3.13/re/_parser.py", line 980, in parse
2026-01-29T10:40:17.926865578Z     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
2026-01-29T10:40:17.926868259Z   File "/usr/local/lib/python3.13/re/_parser.py", line 459, in _parse_sub
2026-01-29T10:40:17.926870970Z     itemsappend(_parse(source, state, verbose, nested + 1,
2026-01-29T10:40:17.926873610Z                 ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-29T10:40:17.926876204Z                        not nested and not items))
2026-01-29T10:40:17.926878764Z                        ^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-29T10:40:17.926881381Z   File "/usr/local/lib/python3.13/re/_parser.py", line 567, in _parse
2026-01-29T10:40:17.926884064Z     raise source.error("unterminated character set",
2026-01-29T10:40:17.926886775Z                        source.tell() - here)
2026-01-29T10:40:17.926889226Z re.PatternError: unterminated character set at position 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions