[Biopython-dev] [Biopython - Bug #3422] (New) Missing

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Fri Mar 8 16:49:48 UTC 2013


Issue #3422 has been reported by Jared Sampson.

----------------------------------------
Bug #3422: Missing 
https://redmine.open-bio.org/issues/3422

Author: Jared Sampson
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
URL: http://www.ncbi.nlm.nih.gov/corehtml/query/DTD/bookdoc_130101.dtd


When using Entrez.efetch to retrieve an XML file, I get the following warning about a missing DTD: bookdoc_130101.dtd

===

/path/to/my/virtualenv/lib/python2.7/site-packages/Bio/Entrez/Parser.py:522: UserWarning: Unable to load DTD file bookdoc_130101.dtd.

Bio.Entrez uses NCBI's DTD files to parse XML files returned by NCBI Entrez.
Though most of NCBI's DTD files are included in the Biopython distribution,
sometimes you may find that a particular DTD file is missing. While we can
access the DTD file through the internet, the parser is much faster if the
required DTD files are available locally.

For this purpose, please download bookdoc_130101.dtd from

http://www.ncbi.nlm.nih.gov/corehtml/query/DTD/bookdoc_130101.dtd

and save it either in directory

/path/to/my/virtualenv/lib/python2.7/site-packages/Bio/Entrez/DTDs

or in directory

/Users/me/.biopython/Bio/Entrez/DTDs

in order for Bio.Entrez to find it.

Alternatively, you can save bookdoc_130101.dtd in the directory
Bio/Entrez/DTDs in the Biopython distribution, and reinstall Biopython.

Please also inform the Biopython developers about this missing DTD, by
reporting a bug on http://bugzilla.open-bio.org/ or sign up to our mailing
list and emailing us, so that we can include it with the next release of
Biopython.

Proceeding to access the DTD file through the internet...

  warnings.warn(message)

===

Also, the bugzilla.open-bio.org URL mentioned comes up empty.

Thanks, 
Jared Sampson


----------------------------------------
You have received this notification because this email was added to the New Issue Alert plugin


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org




More information about the Biopython-dev mailing list