[BioPython] Entrez.einfo error?

Peter biopython at maubp.freeserve.co.uk
Mon Mar 16 19:52:30 UTC 2009


On Mon, Mar 16, 2009 at 7:31 PM, Nick Matzke <matzke at berkeley.edu> wrote:
> Hi all,
>
> This exact code worked fine for me on Friday, I wonder if it could be a
> temporary problem at Entrez?  A similar problem seems to occur with other
> Entrez queries.
>
> Running biopython 1.49 in IPython...
>
> ============
> from Bio import Entrez
> Entrez.email = "matzke at berkeley.edu"
> handle = Entrez.einfo(db="structure")
> ---------------------------------------------------------------------------
> IOError                                   Traceback (most recent call last)
> ...

Yes, I think you were experiencing a temporary problem, either at the
NCBI or somewhere else on the network.  Its working now on my machine
right now.  In general an IOError in Bio.Entrez is a good sign of a
network issue, and for any complex task you may want to explicitly
catch these exceptions.

Peter



More information about the Biopython mailing list