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 ?
    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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:58 GMT