Skip to content

Exception ignored in: <function Driver.__del__ at 0x7ff101714d30> #1024

@mfreeman451

Description

@mfreeman451

Bug Report

Trying to perform a vector search in neo4j python SDK 5.17.0 and along with some results being returned, I get an exception that I can't catch.

Code: https://paste.lol/mfreeman451/neo4j-error

Error:

% time python3 llm_querier.py
here is bob
yeah, bob
i would tend to agree, bob
sup bob
Exception ignored in: <function Driver.__del__ at 0x7ff101714d30>
Traceback (most recent call last):
  File "/home/mfreeman/venv/lib/python3.10/site-packages/neo4j/_sync/driver.py", line 489, in __del__
  File "/home/mfreeman/venv/lib/python3.10/site-packages/neo4j/_meta.py", line 229, in unclosed_resource_warn
TypeError: 'NoneType' object is not callable
python3 llm_querier.py  5.24s user 2.24s system 147% cpu 5.086 total

My Environment

Python Version: Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Driver Version: Version: 5.17.0
Server Version and Edition: Neo4J 5.17 - Enterprise
Operating System: Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions