graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

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

Open Dante9k opened this issue 3 months ago • 0 comments

Do you need to file an issue?

  • [x] 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:

Dante9k avatar Sep 10 '25 07:09 Dante9k