W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > February 2005

delta.py does not survive 404 schemas

From: Dan Connolly <connolly@w3.org>
Date: Mon, 07 Feb 2005 11:29:54 -0600
To: public-cwm-bugs@w3.org
Message-Id: <1107797394.4991.78.camel@localhost>

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 ?
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 503, in
    delta = differences(graph, graph2, assumptions)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 360, in
    g_bnodes, g_definitions = nailFormula(g, assumptions)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 116, in
    meta = lookUp(predicates, assumptions)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/delta.py", line 96, in
    return loadMany([(x) for x in schemas])
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/myStore.py", line 165, in
    return _checkStore().loadMany(uris, openFormula, referer=referer)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/llyn.py", line 1197, in
    self.load(u, openFormula=F, remember=0, referer=referer)
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/llyn.py", line 1178, in
    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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:00 UTC