[Biopython] Biopython: python setup.py test

McCully, Dwayne (NIH/NIAMS) [C] dmccully at mail.nih.gov
Mon Mar 10 19:14:59 UTC 2014


During the testing of Biopython I get the following error.
Should I be concerned?

Linux 6.5
Python 2.7.6

Dwayne


Bio.Statistics.lowess docstring test ... ok
Bio.PDB.Polypeptide docstring test ... ok
Bio.PDB.Selection docstring test ... ok
======================================================================
ERROR: test_read_from_url (test_Entrez_online.EntrezOnlineCase)
Test Entrez.read from URL
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_Entrez_online.py", line 44, in test_read_from_url
    rec = Entrez.read(einfo)
  File "/home/dmccully/biopython-1.63/build/lib.linux-x86_64-2.7/Bio/Entrez/__init__.py", line 372, in read
    record = handler.read(handle)
  File "/home/dmccully/biopython-1.63/build/lib.linux-x86_64-2.7/Bio/Entrez/Parser.py", line 187, in read
    self.parser.ParseFile(handle)
  File "/home/dmccully/biopython-1.63/build/lib.linux-x86_64-2.7/Bio/Entrez/Parser.py", line 529, in externalEntityRefHandler
    raise RuntimeException("Failed to access %s at %s" % (filename, url))
NameError: global name 'RuntimeException' is not defined

----------------------------------------------------------------------
Ran 223 tests in 513.473 seconds

FAILED (failures = 1)






More information about the Biopython mailing list