Skip to content

fix some tiny bug (like handle some exception / empty case) #166

Open

Description

@imbajin

If u find any bugs, could report here & fix them~

Activity

  1. added theissue type on Feb 24, 2025
  2. changed the issue type fromtoon Feb 25, 2025
  3. Kryst4lDem0ni4s commented on Feb 27, 2025

    @Kryst4lDem0ni4s
    Contributor

    @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.

  4. ZhYQ1 commented on Nov 7, 2026

    @ZhYQ1

    @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.

  5. ZhYQ1 commented on Nov 7, 2026

    @ZhYQ1

    @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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions