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
I'm working with v0.14.1-slim from a docker image as described in the README.md. In attempting to parse a json file we get the following error:
[ERROR]Internal server error while chunking: RAGFlowJsonParser._json_split() missing 2 required positional arguments: current_path and chunks
This function appears to be under /deepdoc/parser/json_parser.py
Here's the traceback:
File "/ragflow/rag/svr/task_executor.py", line 449, in handle_task
do_handle_task(task)
File "/ragflow/rag/svr/task_executor.py", line 388, in do_handle_task
cks = build(r)
File "/ragflow/rag/svr/task_executor.py", line 200, in build
cks = chunker.chunk(row["name"], binary=binary, from_page=row["from_page"],
File "/ragflow/rag/app/naive.py", line 258, in chunk
sections = JsonParser(int(parser_config.get("chunk_token_num", 128)))(binary)
File "/ragflow/deepdoc/parser/json_parser.py", line 24, in __call__
chunks = self.split_json(json_data, True)
File "/ragflow/deepdoc/parser/json_parser.py", line 95, in split_json
chunks = self._json_split(self._list_to_dict_preprocessing(json_data))
TypeError: RAGFlowJsonParser._json_split() missing 2 required positional arguments: 'current_path' and 'chunks'```
The text was updated successfully, but these errors were encountered:
Describe your problem
I'm working with v0.14.1-slim from a docker image as described in the README.md. In attempting to parse a json file we get the following error:
[ERROR]Internal server error while chunking: RAGFlowJsonParser._json_split() missing 2 required positional arguments: current_path and chunks
This function appears to be under
/deepdoc/parser/json_parser.py
Here's the traceback:
The text was updated successfully, but these errors were encountered: