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
{{ message }}
Repository navigation
fix some tiny bug (like handle some exception / empty case) #166
@imbajin I have found and reported a bug: #180 print_exception() missing 2 required positional arguments: 'value' and 'tb' during demo run. I have also submitted a PR: #181 - Please verify the work and let me know if it's acceptable.
@imbajin Hi, I'd like to help with this task. I will look for unhandled exceptions and empty cases in the codebase, fix them one by one and submit separate small PRs referencing #166.
@imbajin Hi, I’ve found a set of unhandled exceptions and empty‑case bugs, and I’m reporting them here first without making any code changes.
Critical ones that can crash the workflow:
hugegraph_utils.py L181–183: unsafe chained access to gremlin result, fails when the graph is empty
semantic_id_query.py L69: unsafe iteration over resp["data"]
merge_dedup_rerank.py L147: list.index() without existence check
merge_dedup_rerank.py L69–70: possible TypeError when adding None to a string
vector embedding query: IndexError if the embedding result is an empty list
Other medium/low issues include unsafe key access, missing type checks before encoding, unpacking failures, and missing try‑except blocks for file parsing.
I plan to fix them in small, separate PRs linked to #166 afterwards. Could you please assign this issue to me?
Activity
Kryst4lDem0ni4s commentedon Feb 27, 2025
@imbajin I have found and reported a bug: #180 print_exception() missing 2 required positional arguments: 'value' and 'tb' during demo run. I have also submitted a PR: #181 - Please verify the work and let me know if it's acceptable.
ZhYQ1 commentedon Nov 7, 2026
@imbajin Hi, I'd like to help with this task. I will look for unhandled exceptions and empty cases in the codebase, fix them one by one and submit separate small PRs referencing #166.
ZhYQ1 commentedon Nov 7, 2026
@imbajin Hi, I’ve found a set of unhandled exceptions and empty‑case bugs, and I’m reporting them here first without making any code changes.
Critical ones that can crash the workflow:
resp["data"]list.index()without existence checkOther medium/low issues include unsafe key access, missing type checks before encoding, unpacking failures, and missing try‑except blocks for file parsing.
I plan to fix them in small, separate PRs linked to #166 afterwards. Could you please assign this issue to me?