W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > March 2011

Test harness bugs...

From: Ivan Herman <ivan@w3.org>
Date: Fri, 11 Mar 2011 11:24:49 +0100
Cc: W3C RDFa WG <public-rdfa-wg@w3.org>
To: Manu Sporny <msporny@digitalbazaar.com>
Message-Id: <3E91EBF4-2E21-4A19-9DEB-8B98F008B51D@w3.org>
(Resending with the RDFa WG in CC)

Manu,

I ran the test harness with the default setting (which happen to use my distiller:-) and some tests produced python exceptions. These are #85, #140, and #195. Unfortunately, all three are different exceptions; I make a copy paste for all three below, maybe that helps...:-(

It may well be that my distiller fails on those tests (I have not checked yet) and the exceptions are by-products, so to say:-(

I still have to look at the failed test to see if the tests are fine and my distiller is wrong or vice versa... I will report about those separately

Ivan

----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

======
Traceback (most recent call last):
 File "/crazyivan.py", line 357, in checkUnitTestHtml
   html_url, sparql_url, expected_result) == True):
 File "/crazyivan.py", line 123, in performUnitTest
   sparql_value = performSparqlQuery(None, sparql_query)
 File "/crazyivan.py", line 92, in performSparqlQuery
   result = g.query(query)
 File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 738, in query
   extensionFunctions))
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/bison/Processor.py", line 34, in query
   strOrQuery = Parse(strOrQuery, DEBUG)
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/bison/Processor.py", line 16, in Parse
   return p.parse(query)
SyntaxError: parse error at line 7, column 1: reached end-of-input, expecting 'DOT' or 'OPTIONAL' or 'FILTER' or 'GRAPH' or 'LEFT_CURLY' or 'RIGHT_CURLY'

] Test #85 (required): @resource and @href in completing incomplete triples [ show details | hide details | source ]

======

Traceback (most recent call last):
 File "/crazyivan.py", line 357, in checkUnitTestHtml
   html_url, sparql_url, expected_result) == True):
 File "/crazyivan.py", line 123, in performUnitTest
   sparql_value = performSparqlQuery(None, sparql_query)
 File "/crazyivan.py", line 92, in performSparqlQuery
   result = g.query(query)
 File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 738, in query
   extensionFunctions))
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/bison/Processor.py", line 50, in query
   extensionFunctions=extensionFunctions)
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/Algebra.py", line 297, in TopEvaluate
   LoadGraph(dtSet,dataSetBase,memGraph)
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/Algebra.py", line 254, in LoadGraph
   graph.parse(source,format='n3')
 File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 713, in parse
   parser.parse(source, self, **args)
 File "/usr/lib/pymodules/python2.6/rdflib/syntax/parsers/N3Parser.py", line 32, in parse
   p.parse()
 File "/usr/lib/pymodules/python2.6/rdflib/syntax/parsers/n3p/n3proc.py", line 118, in parse
   super(N3Processor, self).parse(start)
 File "/usr/lib/pymodules/python2.6/rdflib/syntax/parsers/n3p/n3p.py", line 82, in parse
   raise ValueError, (msg % args)
ValueError: Found a when expecting a http://www.w3.org/2000/10/swap/grammar/n3#objecttail . todoStack=[['http://www.w3.org/2000/10/swap/grammar/n3#document', ['http://www.w3.org/2000/10/swap/grammar/bnf#eof']], ['http://www.w3.org/2000/10/swap/grammar/n3#statements_optional', [u'.', 'http://www.w3.org/2000/10/swap/grammar/n3#statements_optional']], ['http://www.w3.org/2000/10/swap/grammar/n3#statement', []], ['http://www.w3.org/2000/10/swap/grammar/n3#simpleStatement', []], ['http://www.w3.org/2000/10/swap/grammar/n3#propertylist', ['http://www.w3.org/2000/10/swap/grammar/n3#propertylisttail']], ['http://www.w3.org/2000/10/swap/grammar/n3#objecttail', []]]

] Test #140 (required): Underscore is not allowed in xmlns [ show details | hide details | source ]

======


Traceback (most recent call last):
 File "/crazyivan.py", line 357, in checkUnitTestHtml
   html_url, sparql_url, expected_result) == True):
 File "/crazyivan.py", line 123, in performUnitTest
   sparql_value = performSparqlQuery(None, sparql_query)
 File "/crazyivan.py", line 92, in performSparqlQuery
   result = g.query(query)
 File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 738, in query
   extensionFunctions))
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/bison/Processor.py", line 50, in query
   extensionFunctions=extensionFunctions)
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/Algebra.py", line 297, in TopEvaluate
   LoadGraph(dtSet,dataSetBase,memGraph)
 File "/usr/lib/pymodules/python2.6/rdflib/sparql/Algebra.py", line 254, in LoadGraph
   graph.parse(source,format='n3')
 File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 711, in parse
   source = self.prepare_input_source(source, publicID)
 File "/usr/lib/pymodules/python2.6/rdflib/Graph.py", line 692, in prepare_input_source
   input_source = URLInputSource(location)
 File "/usr/lib/pymodules/python2.6/rdflib/URLInputSource.py", line 21, in __init__
   file = urlopen(req)
 File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
   return _opener.open(url, data, timeout)
 File "/usr/lib/python2.6/urllib2.py", line 397, in open
   response = meth(req, response)
 File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
   'http', request, response, code, msg, hdrs)
 File "/usr/lib/python2.6/urllib2.py", line 435, in error
   return self._call_chain(*args)
 File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
   result = func(*args)
 File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
   raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 502: Bad Gateway

] Test #195 (required): Test process @profile aborts processing [ show details | hide details | source ]







Received on Friday, 11 March 2011 10:23:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:09 GMT