Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate local mode close #514

Closed
joein opened this issue Mar 1, 2024 · 1 comment
Closed

investigate local mode close #514

joein opened this issue Mar 1, 2024 · 1 comment

Comments

@joein
Copy link
Member

joein commented Mar 1, 2024

found in tests:

Traceback (most recent call last):
    File "/home/runner/work/qdrant-client/qdrant-client/qdrant_client/qdrant_client.py", line 132, in __del__
      self.close()
    File "/home/runner/work/qdrant-client/qdrant-client/qdrant_client/qdrant_client.py", line 141, in close
      self._client.close(grpc_grace=grpc_grace, **kwargs)
    File "/home/runner/work/qdrant-client/qdrant-client/qdrant_client/local/qdrant_local.py", line 78, in close
      portalocker.unlock(self._flock_file)
    File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/portalocker/portalocker.py", line 114, in unlock
      fcntl.flock(file_.fileno(), LockFlags.UNBLOCK)
  ValueError: I/O operation on closed file
@joein
Copy link
Member Author

joein commented Mar 3, 2024

#521

@joein joein closed this as completed Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant