check doesn't workt with daig == 1

from some PAW work...

     _logger.debug("Done serializing.\n")

     # Check will not work with diag == 1 nor will check._s2f
     # Huh? why not? is this by design? if not, pls
     # report a bug to public-cwm-bugs@w3.org

# This is the stack
# Traceback (most recent call last):
#   File "engine.py", line 261, in ?
#     main()
#   File "engine.py", line 188, in main
#     result1 = test_rein(ReinEngine(), 
"http://10.0.0.220:9999/images/group.jpg", 
"http://10.0.0.220:9999/troop42-policy1.n3", "alice-passwd", 
"mid:36dcd6db1305ec376fdd6b4046730f26768a0e51")
#   File "engine.py", line 182, in test_rein
#     return check_proof(proof_string, request_id)
#   File "paw_check.py", line 50, in check_proof
#     proof = check._s2f(proof_string.encode('utf-8'), base=request_id)
#   File "/Users/eikeon/paw/www/2005/demo/swap/check.py", line 757, in 
_s2f
#     p = notation3.SinkParser(graph.store, openFormula=graph, 
baseURI=base)
#   File "/Users/eikeon/paw/www/2005/demo/swap/notation3.py", line 131, 
in __init__
#     if diag.tracking: self._reason2 = BecauseOfData(
#   File "/Users/eikeon/paw/www/2005/demo/swap/llyn.py", line 1380, in 
newSymbol
#     return self.intern(RDFSink.newSymbol(self, uri))
#   File "/Users/eikeon/paw/www/2005/demo/swap/llyn.py", line 1571, in 
intern
#     assert ':' in urirefString, "must be absolute: %s" % urirefString
# AssertionError: must be absolute:
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Received on Monday, 9 October 2006 19:24:15 UTC