#173 — Asyncpg error: AttributeError: ‘Connection’ object has no attribute ‘_aborted’
Repo: Twill-AI/facade State: closed | Status: done Assignee: meliascosta
Created: 2024-10-29 · Updated: 2025-01-09
Description
The new ASQLDatabase object received by LLM engine is producing this types of errors with no obvious consequences in behavior.
2024-10-29T16:33:05.949255995Z 2024-10-29 16:33:05.949|WARN|MchlWrghtt|manager:393|Error in LangChainTracer.on_chain_error callback: TracerException('No indexed run ID 9189a820-e129-49cc-8173-663bb7c9078a.')
2024-10-29T16:33:05.949562997Z 2024-10-29 16:33:05.949|INFO|MchlWrghtt|interface:207|LLM engine execution was stopped.
2024-10-29T16:33:07.181864234Z 2024-10-29 16:33:07.181|INFO|MchlWrghtt|websockets_router:1054|f506450c-cc62-47c9-b20f-a120e53ee064: LLM Engine answered in 6.756 sec on text prompt in LLM Chat 27, persisted 2 items in 1.161 sec.
2024-10-29T16:33:18.007064188Z 2024-10-29 16:33:18.006|INFO|MchlWrghtt|main_graph:74|Starting Answer... Is first interaction: False
2024-10-29T16:33:18.008228186Z Exception ignored in: <function Connection.__del__ at 0x7a5353763a60>
2024-10-29T16:33:18.008252321Z Traceback (most recent call last):
2024-10-29T16:33:18.008261578Z File "/usr/local/lib/python3.12/site-packages/asyncpg/connection.py", line 124, in __del__
2024-10-29T16:33:18.008462324Z if not self.is_closed() and self._protocol is not None:
2024-10-29T16:33:18.008921373Z ^^^^^^^^^^^^^^^^
2024-10-29T16:33:18.008932885Z File "/usr/local/lib/python3.12/site-packages/asyncpg/connection.py", line 1454, in is_closed
2024-10-29T16:33:18.009407800Z return self._aborted or not self._protocol.is_connected()
2024-10-29T16:33:18
## Notes
_Add implementation notes, blockers, and context here_
## Related
_Add wikilinks to related people, meetings, or other tickets_