gjhiggins/rdfextras — Issue #28: Failing test-test_sparql-test_describe.py marked as "known_issue"
Author: gjhiggins
Created: 2011-10-19 03:01:51+00:00
State: open

Originally filed by gjhigg...@gmail.com on 2011-09-20T15:14:11

More of an aide-memoire than anything else

What steps will reproduce the problem?
1.python ./run_tests.py

What is the expected output? What do you see instead?

Expected test to pass

{{{
ERROR: test_describe (test_describe.TestDescribe)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_sparql/test_describe.py", line 19, in test_describe
res=g.query("DESCRIBE ")
File "rdflib/graph.py", line 804, in query
return result(processor.query(query_object, initBindings, initNs, **kwargs))
File "rdfextras/sparql/processor.py", line 45, in query
extensionFunctions=extensionFunctions)
File "rdfextras/sparql/algebra.py", line 322, in TopEvaluate
expr = reduce(ReduceToAlgebra,query.query.whereClause.parsedGraphPattern.graphPatterns,
AttributeError: 'NoneType' object has no attribute 'parsedGraphPattern'

}}}

Please use labels and text to provide additional information.

Note log message in changeset 3d49f33a59c9 - "algebra still broken"