-
Notifications
You must be signed in to change notification settings - Fork 18
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
AssertionError: archive query was not stopped before running out of things to query #42
Comments
The line
|
@TLCFEM Can you have a look and respond? |
This is the old 0.x version, let me find the code first. |
The above query can only retrieve 2623 entries out of 2639 entries which is given by the search, probably there is some mismatch in es database. The mismatch between two numbers results in the process unable to exit. @hasan-sayeed The archive query module was rewritten last year, try the new version of the package if you can. endpoint: curl: payload:
|
Hi Theodore! Thank you for responding. Yes I tried the new version (1.0.8). But it was giving me the error below. And it seemed that 'resource' is an Unix specific package. I'm trying this on my windows machine. Is this the reason for this error @TLCFEM ?
|
This has been fixed last year, please apply the following patch.
|
It worked! Thank you. I have one more question. What's the difference between the two urls?
For the same query I'm getting different number of materials from these two urls. |
Not sure if they are running two different indexing databse but I presume the former one returns fewer results, which shall be a subset of the response returned by the newer one. |
The former one is returning more materials actually! I'm querying for all the materials that has |
Then I have no idea, but this may explain why the older version can only return 2623 entries out of 2639 entries. I think additional time shall be spent on this to pin down which exactly those 16 entries are, and why they exist in indexing but cannot be retrieved. |
Gotcha! Thanks I was just trying to run this example of
|
Do I need any specific version? Because I tried nest-asyncio==1.5.4 to 1.5.6, giving me same error. |
check documentation: https://nomad-lab.eu/prod/v1/docs/archive_query.html#asynchronous-interface |
While using the
ArchiveQuery
class I'm getting the following error. Any idea why is this happening? I'm new to this. I am using nomad-lab==0.10.4The text was updated successfully, but these errors were encountered: