Source: rdflib
Version: 4.0.1-1
Severity: serious
Justification: fails to build from source
rdflib FTBFS:
| ======================================================================
| FAIL: Doctest: rdflib
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
| raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for rdflib
| File "/build/rdflib-XxdR8A/rdflib-4.0.1/rdflib/__init__.py", line 0, in
rdflib
|
| ----------------------------------------------------------------------
| File "/build/rdflib-XxdR8A/rdflib-4.0.1/rdflib/__init__.py", line 17, in
rdflib
| Failed example:
| result = g.parse("http://www.w3.org/2000/10/swap/test/meet/white.rdf")
| Exception raised:
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 1315, in __run
| compileflags, 1) in test.globs
| File "<doctest rdflib[2]>", line 1, in <module>
| result = g.parse("http://www.w3.org/2000/10/swap/test/meet/white.rdf")
| File "/build/rdflib-XxdR8A/rdflib-4.0.1/rdflib/graph.py", line 994, in
parse
| data=data, format=format)
| File "/build/rdflib-XxdR8A/rdflib-4.0.1/rdflib/parser.py", line 166, in
create_input_source
| input_source = URLInputSource(absolute_location, format)
| File "/build/rdflib-XxdR8A/rdflib-4.0.1/rdflib/parser.py", line 97, in
__init__
| file = urlopen(req)
| File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
| return _opener.open(url, data, timeout)
| File "/usr/lib/python2.7/urllib2.py", line 404, in open
| response = self._open(req, data)
| File "/usr/lib/python2.7/urllib2.py", line 422, in _open
| '_open', req)
| File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
| result = func(*args)
| File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
| return self.do_open(httplib.HTTPConnection, req)
| File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
| raise URLError(err)
| URLError: <urlopen error [Errno 111] Connection refused>
| ----------------------------------------------------------------------
| File "/build/rdflib-XxdR8A/rdflib-4.0.1/rdflib/__init__.py", line 19, in
rdflib
| Failed example:
| print("graph has %s statements." % len(g))
| Expected:
| graph has 19 statements.
| Got:
| graph has 0 statements.
|
|
| ----------------------------------------------------------------------
| Ran 1412 tests in 150.571s
|
| FAILED (SKIP=73, failures=1)
The build machine didn't have Internet access.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]