[Biopython] cannot find elink_090910.dtd

Silvio Tschapke silvio.tschapke at googlemail.com
Wed Dec 23 10:57:58 UTC 2009


Hi all,

I am using ubuntu 9.10, python 2.6 and biopython 1.53
But while running these two lines of code

pmid = "14630660"
results = Entrez.read(Entrez.elink(dbfrom="pubmed", id=pmid)

I get the following error message posted at the bottom.
So I searched at the proposed websites and in the web for
"elink_090910.dtd" without success.
I only found the files for elink_020511.dtd and something for 2010. But
nothing related to elink_090910.dtd.
Could you please help me how I can solve this problem?

Cheers and merry christmas,
Silvio


Traceback (most recent call last):
  File "/home/silvio/programming/python/first steps/biopythonTutorial.py",
line 17, in <module>
    results = Entrez.read(Entrez.elink(dbfrom="pubmed", id=pmid))
  File
"/usr/local/lib/python2.6/dist-packages/biopython-1.53-py2.6-linux-i686.egg/Bio/Entrez/__init__.py",
line 258, in read
    record = handler.read(handle)
  File
"/usr/local/lib/python2.6/dist-packages/biopython-1.53-py2.6-linux-i686.egg/Bio/Entrez/Parser.py",
line 108, in read
    self.parser.ParseFile(handle)
  File
"/usr/local/lib/python2.6/dist-packages/biopython-1.53-py2.6-linux-i686.egg/Bio/Entrez/Parser.py",
line 377, in externalEntityRefHandler
    raise RuntimeError(message)
RuntimeError: Unable to load DTD file eLink_090910.dtd.



More information about the Biopython mailing list