-
Notifications
You must be signed in to change notification settings - Fork 46
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
Incorrect error message raised when underlying error is different Error: <Numer> appears to be an invalid tax name. This could be due to unexpected special characters.
#448
Comments
Here's with debug logs:
We're only seeing this on one server, is it possible you're actually doing 429 rate limiting but somehow reporting it as "invalid tax name"? |
This does seem to be about an error message that doesn't always reflect the underlying situation Repro:
|
Yes, that error currently is displayed when the taxon lookup fails to return anything, so it could occur for different problems as you demonstrated. I'll create a ticket to improve the error message. I was unfortunately not able to reproduce the error using 16.40.1 from conda-forge on my machine, and I don't see any results in our logging system based on the debugging information you provided. Maybe it failed to connect entirely? I can't say for sure. If it's still occurring, could you provide that same debug information, along with the time it was run? |
(I'm on the same team as Cornelius) - we have now found we can't even connect w/ |
Thanks for the update - I created a ticket to improve that message so you'll better know what's going on if similar issues occur. |
Error: 3048448 appears to be an invalid tax name. This could be due to unexpected special characters.
on some clientsError: <Numer> appears to be an invalid tax name. This could be due to unexpected special characters.
Thanks @RobertFalk! By the way, thanks for releasing the client code, it allowed us to look where this specific error message was raised:
|
Hi, I get a somewhat similar error: When I tried to download using NCBI taxon id with or without
or
Any pointers on how to resolve this is appreciated, thanks! |
Hi @aboffin, Thanks for your report. Could you please share the exact command that you used so that we can try to reproduce this? Best, |
@ericcox1 the exact command was:
|
Describe the bug
Using version 16.40.1, Linux x86_64 from conda-forge, I'm getting the error:
Interestingly, I cant reproduce locally (macOS, ARM).
Command run:
datasets download virus genome taxon 3048448 --no-progressbar --filename results/ncbi_dataset.zip --api-key None
Also getting this for other taxon ids, e.g.
Error: 3052518 appears to be an invalid tax name. This could be due to unexpected special characters.
The text was updated successfully, but these errors were encountered: