[Bug] print_exception() missing 2 required positional arguments: 'value' and 'tb' #180
Open
1 task done
Labels
bug
Something isn't working
Bug Type (问题类型)
exception / error (异常报错)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
Source of Issue: C:\Users\Khwaish.vscode\incubator-hugegraph-ai\hugegraph-python-client\src\pyhugegraph\utils\huge_config.py
Problematic Code:
line 66:
Expected Behavior: Upon clicking "Extract Graph Data", the output should be generated for the RAG index builder.
Actual Behavior: Error thrown and unable to perform "Extract Graph Data". Displays errors on both the console and the UI.
Error: Traceback (most recent call last):
File "C:\Users\Khwaish.vscode\incubator-hugegraph-ai.venv\lib\site-packages\pyhugegraph\utils\huge_config.py", line 68, in post_init
traceback.print_exception(e)
TypeError: print_exception() missing 2 required positional arguments: 'value' and 'tb'
Cause of error discovered:
The traceback.print_exception function requires two more positional arguments, value and tb, which are not provided in the calls from KG Builder.
i.e:
Solution discovered:
Actual Behavior:
During the try block, throws exception in the console, then proceeds to complete functions.
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
The text was updated successfully, but these errors were encountered: