Skip to content

[Bug]: RuntimeError: <asyncio.locks.Semaphore object at 0xXXXXXXXXXX [locked]> is bound to a different event loop #2053

@Dante9k

Description

@Dante9k

Do you need to file an issue?

  • I have searched the existing issues and this bug is not already filed.
  • My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
  • I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the bug

When i run drift search and primers are created over, the process was interrupted and an error "RuntimeError: <asyncio.locks.Semaphore object at 0xXXXXXXXXXX [locked]> is bound to a different event loop" was reported

Steps to reproduce

  1. Run drift search with params ('--root,' '--method' and '--query')
  2. Wait
  3. See error

Expected Behavior

RuntimeError: <asyncio.locks.Semaphore object at 0xXXXXXXXXXX [locked]> is bound to a different event loop

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

  • GraphRAG Version: v2.3
  • Operating System: RedHat8.6
  • Python Version:3.10.14
  • Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageDefault label assignment, indicates new issue needs reviewed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions