delta.py does not survive 404 schemas

seems overly brittle, to me; a warning would be best...

connolly@dirk:~/w3ccvs/WWW/2001/sw/DataAccess$ python
~/w3ccvs/WWW/2000/10/swap/delta.py --from ,v1.rdf --to ,v2.rdf
Traceback (most recent call last):
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 512, in ?
    main()
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 503, in
main
    delta = differences(graph, graph2, assumptions)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 360, in
differences
    g_bnodes, g_definitions = nailFormula(g, assumptions)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 116, in
nailFormula
    meta = lookUp(predicates, assumptions)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 96, in
lookUp
    return loadMany([(x) for x in schemas])
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/myStore.py", line 165, in
loadMany
    return _checkStore().loadMany(uris, openFormula, referer=referer)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/llyn.py", line 1197, in
loadMany
    self.load(u, openFormula=F, remember=0, referer=referer)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/llyn.py", line 1178, in
load
    referer=referer, why=why)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/webAccess.py", line 132,
in load
    raise DocumentAccessError(addr, sys.exc_info() )
webAccess.DocumentAccessError: Unable to access document
<http://opencyc.sourceforge.net/daml/cyc.daml>, because:
    HTTP Error 404: Not Found


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Monday, 7 February 2005 17:29:56 UTC