Description
Is there an existing issue for the same feature request?
- I have checked the existing issues.
Is your feature request related to a problem?
Describe the feature you'd like
2025-02-19 06:07:15 ragflow-server | Traceback (most recent call last):
2025-02-19 06:07:15 ragflow-server | File "/ragflow/graphrag/general/community_reports_extractor.py", line 99, in call
2025-02-19 06:07:15 ragflow-server | response = json.loads(response)
2025-02-19 06:07:15 ragflow-server | File "/usr/lib/python3.10/json/init.py", line 346, in loads
2025-02-19 06:07:15 ragflow-server | return _default_decoder.decode(s)
2025-02-19 06:07:15 ragflow-server | File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
2025-02-19 06:07:15 ragflow-server | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2025-02-19 06:07:15 ragflow-server | File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
2025-02-19 06:07:15 ragflow-server | raise JSONDecodeError("Expecting value", s, err.value) from None
2025-02-19 06:07:15 ragflow-server | json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-02-19 06:07:15 ragflow-server |
2025-02-19 06:07:15 ragflow-server | During handling of the above exception, another exception occurred:
2025-02-19 06:07:15 ragflow-server |
2025-02-19 06:07:15 ragflow-server | Traceback (most recent call last):
2025-02-19 06:07:15 ragflow-server | File "/ragflow/rag/svr/task_executor.py", line 626, in handle_task
2025-02-19 06:07:15 ragflow-server | do_handle_task(task)
2025-02-19 06:07:15 ragflow-server | File "/ragflow/rag/svr/task_executor.py", line 543, in do_handle_task
2025-02-19 06:07:15 ragflow-server | WithCommunity(
2025-02-19 06:07:15 ragflow-server | File "/ragflow/graphrag/general/index.py", line 159, in init
2025-02-19 06:07:15 ragflow-server | cr = cr(self.graph, callback=callback)
2025-02-19 06:07:15 ragflow-server | File "/ragflow/graphrag/general/community_reports_extractor.py", line 112, in call
2025-02-19 06:07:15 ragflow-server | self._on_error(e, traceback.format_exc(), None)
2025-02-19 06:07:15 ragflow-server | AttributeError: 'CommunityReportsExtractor' object has no attribute '_on_error'
2025-02-19 06:07:17 ragflow-server | 2025-02-19 06:07:17,185 INFO 31 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2025-02-19T06:07:17.185+08:00", "boot_at": "2025-02-19T03:57:38.972+08:00", "pending": 0, "lag": 0, "done": 2, "failed": 3, "current": null}
06:07:15 [ERROR]Fail to bind LLM used by GraphRAG community reports generation: 'CommunityReportsExtractor' object has no attribute '_on_error'
06:07:15 [ERROR][Exception]: 'CommunityReportsExtractor' object has no attribute '_on_error'
Describe implementation you've considered
No response
Documentation, adoption, use case
Additional information
It takes a whole day to retry once. I've been retrying for five days, but it still hasn't succeeded. How to slove this?