Closed HaveF closed 11 months ago
version : haystack==1.19.0 qdrant-haystack 1.0.7
I have an error very close to this :
document_store = QdrantDocumentStore(path="/home/qdrant",
index="Document",
embedding_dim=d_embedding,
recreate_index=True,
hnsw_config={"m": 16, "ef_construct": 64})
document_store.write_documents(documents)
The documents write themself in the DB but at the very end I have this error :
210000it [39:55, 87.67it/s]
Exception ignored in: <function QdrantClient.__del__ at 0x7ffa56045160>
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/qdrant_client/qdrant_client.py", line 99, in __del__
File "/usr/local/lib/python3.8/dist-packages/qdrant_client/qdrant_client.py", line 106, in close
File "/usr/local/lib/python3.8/dist-packages/qdrant_client/local/qdrant_local.py", line 55, in close
TypeError: 'NoneType' object is not callable
@Forbu Could you please also check the version of qdrant-client
?
@kacperlukawski
My version of qdrant-client is 1.4.0
Requirement already satisfied: qdrant-client in /usr/local/lib/python3.8/dist-packages (1.4.0)
@HaveF @Forbu Version 1.0.8
has been just released. Could you please try to reproduce it with the latest version?
@HaveF @Forbu Version
1.0.8
has been just released. Could you please try to reproduce it with the latest version?
I will try today :)
@kacperlukawski do I need to update the qdrant-client version? https://github.com/qdrant/qdrant-haystack/blob/3fd8f2346b42fa37ff5bf206fda427fc5d0a2fde/pyproject.toml#L14
But qdrant-client has version 1.5.2 already
for qdrant-haystack 1.0.7 -> 1.0.8, I did not find any change except a test case added... fix: fix passing metadata
@HaveF Version 1.0.8
restricts qdrant-client<1.5.0
as we have a small issue with the client itself. It'll be fixed soon and followed up by another release of qdrant-haystack
.
I really can't reproduce the error, I'll extend the testing suite to run against different versions of Haystack and Qdrant.
@kacperlukawski drop me a mail (iamaplayer at gmail), I'll give you sample code with api_key
I still have the same error :(
@HaveF I've just made a hotfix for that. Version 1.0.9
should be working fine in that scenario.
@Forbu It seems it has to be fixed in qdrant-client
. I'll have a look at that.
@kacperlukawski it works now. thanks ❤️
@Forbu Could you please try with 1.0.10
? Please make sure you have the latest qdrant-client
(1.5.4
)
Hi, there,
I just use this package with your cloud, but without luck
here is the error:
What am I missing?
Thanks!