Skip to content

RuntimeError: Invalid uid - 9174794 at position=0 #21494

Answered by fire-eggs
NancyZLoo asked this question in General
Discussion options

You must be logged in to vote

Taking a quick look at the Bio.Entrez page, I see one likely problem in your script.

At no point do you invoke handle.close(), as shown on that page. A logical guess would be that handles are a finite resource; with a small dataset you didn’t run out of handles, but with a large dataset you exhausted the handle supply.

You are more likely to get useful assistance with BioPython via their mailing lists.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants