HKUDS / LightRAG

"LightRAG: Simple and Fast Retrieval-Augmented Generation"
https://arxiv.org/abs/2410.05779
MIT License
10.02k stars 1.25k forks source link

something wrong,but insert and query looks nomal #150

Closed zh-nj closed 4 weeks ago

zh-nj commented 1 month ago

INFO:lightrag:Creating a new event loop in a sub-thread. INFO:httpx:HTTP Request: POST http://127.0.0.1:8999/v1/embeddings "HTTP/1.1 200 OK" ERROR:asyncio:Task exception was never retrieved future: <Task finished name='Task-19' coro=<AsyncClient.aclose() done, defined at /home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py:2024> exception=RuntimeError('Event loop is closed')> Traceback (most recent call last): File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py", line 2031, in aclose await self._transport.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_transports/default.py", line 389, in aclose await self._pool.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 324, in aclose await connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection.py", line 173, in aclose await self._connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/http11.py", line 253, in aclose await self._network_stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 54, in aclose await self._stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1181, in aclose self._transport.close() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/selector_events.py", line 706, in close self._loop.call_soon(self._call_connection_lost, None) File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 753, in call_soon self._check_closed() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed ERROR:asyncio:Task exception was never retrieved future: <Task finished name='Task-253' coro=<AsyncClient.aclose() done, defined at /home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py:2024> exception=RuntimeError('Event loop is closed')> Traceback (most recent call last): File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py", line 2031, in aclose await self._transport.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_transports/default.py", line 389, in aclose await self._pool.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 324, in aclose await connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection.py", line 173, in aclose await self._connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/http11.py", line 253, in aclose await self._network_stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 54, in aclose await self._stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/streams/tls.py", line 202, in aclose await self.transport_stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1181, in aclose self._transport.close() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/selector_events.py", line 706, in close self._loop.call_soon(self._call_connection_lost, None) File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 753, in call_soon self._check_closed() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed INFO:lightrag:Local query uses 60 entites, 58 relations, 3 text units INFO:httpx:HTTP Request: POST http://127.0.0.1:8999/v1/embeddings "HTTP/1.1 200 OK" INFO:lightrag:Global query uses 61 entites, 58 relations, 3 text units INFO:httpx:HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"

LarFii commented 1 month ago

I’ll need to see the specific code to analyze the issue.