-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
BUG: SDSS KeyNotFoundException for query_region #2644
Comments
cc @weaverba137 With a quick look I see this in the response, but haven't yet got time to dive deeper:
|
This maybe related to (or even a duplicate of) #2212 |
I am getting the exactly same error. All commands were working fine last week.
|
This sounds like something that should be reported to the server maintainers. |
thanks. Actually, it works fine if I make the same request from another machine running python 3.8 and astroquery 0.4.3, I guess it does not depend on the server. |
Yes, the query payload has changed since that older version, and the complaint above is about a missing in 0.4.3.:
in current dev
|
To help narrow this down, could someone test the dev version with |
The payload is the same, the response is a bit different though:
Also, I have noticed that the response is in fact a |
As to narrow it down, I would start checking the test suite, those used to work with dr17, too, but now running some issues. |
Looks like payload changes are from #2477 . Maybe the cone search way of things broke. Did it ever work? |
Of course it worked! As said above, investigation is ongoing about what has changed upstream. |
I don't have time to test this today, but I would recommend trying again with the exact same code, but explicitly setting This may have been a temporary issue on the SDSS side with their load-balancer and https redirect, but it really should be changed to https anyway. |
Hmm, changing the baseurl indeed helps with the remote tests, I'll open a quick PR for it momentarily and see whether there are still any outstanding issues after that. |
Caution: https might not work for every data release, especially prior to dr12. Testing should reveal that though. |
Yeap, testing is all clean, so if this was all, it was more painless than I expected. I'll have a more careful look at the coverage reports, too:
|
Hi, I am having the same problem with:
astroquery 0.4.7.d
python 3.10.9
numpy 1.23.5.
Using (for example) the example in the doc, as any other call:
It works fine on another machine running python 3.8 and astroquery 0.4.3
The text was updated successfully, but these errors were encountered: