W3C home > Mailing lists > Public > www-archive@w3.org > April 2002

cwm bug: @@Length is 32 instead of 7

From: Dan Connolly <connolly@w3.org>
Date: 19 Apr 2002 13:42:57 -0500
To: Tim Berners-Lee <timbl@w3.org>
Cc: www-archive+n3bugs@w3.org, Dan Connolly <connolly@w3.org>
Message-Id: <1019241778.5164.403.camel@dirk>
in w3ccvs/WWW/2002/03owlt

I can do:

$ python ~/w3ccvs/WWW/2000/10/swap/cwm.py  ontAx.n3 sameStateP.n3

just fine. but If I try to parse them
in the other order, I get:

$ python ~/w3ccvs/WWW/2000/10/swap/cwm.py  sameStateP.n3
#Processed by Id: cwm.py,v 1.92 2002/03/22 21:36:00 timbl Exp 
        #    using base file:/home/connolly/w3ccvs/WWW/2002/03owlt/
        Traceback (most recent call last):
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/cwm.py", line 608, in ?
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/cwm.py", line 463, in
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/notation3.py", line 158,
in load
  File "/home/connolly/w3ccvs/WWW/2000/10/swap/notation3.py", line 253,
in endDoc
  File "../../2000/10/swap/llyn.py", line 1100, in endDoc
  File "../../2000/10/swap/llyn.py", line 964, in endFormulaNested
    self.endFormulaNested( _lookup(bindings, x), bindings,
  File "../../2000/10/swap/llyn.py", line 974, in endFormulaNested
    new = self.endFormula(F)
  File "../../2000/10/swap/llyn.py", line 907, in endFormula
    if len(gl) != l: raise RuntimeError("@@Length is %i instead of %i"
%(len(gl), l))
RuntimeError: @@Length is 32 instead of 7

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 19 April 2002 14:42:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:31:43 UTC