-
Notifications
You must be signed in to change notification settings - Fork 123
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
arxiv.Search returns empty result #119
Comments
arxiv.py version: 1.4.7 works for me |
@lilycyf thanks for the bug report. I can reproduce. Looking into it! |
@lilycyf my first guess here is actually that the underlying arXiv API is misbehaving. Yesterday the test suite passed (locally and in CI) for the commit that'd become 1.4.8. Today the test suite fails for the same commit:
The test suite fails in the same way if I run it for tagged version 1.4.7:
It does not work for me. Mind sharing some more details on how you tested this? Thanks! |
@lilycyf while investigating, the test suite started passing again. The example code in your initial issue also works. Version 1.4.8 should work as well for you as 1.4.7. Thanks again for reporting — seems this was a brief issue on arXiv's side. |
To add my observation here, it seems to me that the same search code can sometimes work reliably and sometimes yield empty results for some time (5-10mins) and then recover again. This has repeated 3-4 rounds tonight on my side. It seems like the arxiv api server breaks down or does not answer requests in some periods.... |
I also have this issue. But, when I debugging my code, I found that I can not enter the function 'self._result' from Line 575 in 8ef0759
|
@AllenWrong can you share a code snippet that reproduces the issue you're encountering? You shouldn't have to call The integration tests are stable. These issues are most likely caused by temporary instability in the arXiv API service itself. |
@lukasschwab I solved this by changing |
@AllenWrong yes, I observed HTTP/HTTPS behavior differences the last time this came up: #129 I think the arXiv folks might need to restart a server. I'll see if I can drop them a line. |
Description
I'm only able to get a empty result returned simply running, wondering why:
but, I'm able to get result with the following code:
Versions
python
version: 3.9.7arxiv.py
version: 1.4.8The text was updated successfully, but these errors were encountered: