W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > October 2007

CWM Bug: --flatten breakage

From: Sean B. Palmer <sean@miscoranda.com>
Date: Sat, 13 Oct 2007 13:59:18 +0100
Message-ID: <b6bb4d890710130559p4a30ba2ey90ec50c17a42d950@mail.gmail.com>
To: public-cwm-bugs@w3.org

Using cwm-1.2.0a1, it appears that --flatten is broken:

$ cat test.n3
@prefix : <http://example.org/#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

[ :p :q, _:r, "r" ] .
("a" "b" "c") a :List .
{ ?p ?q ?r } a :Formula .

# EOF

$ cwm test.n3 --flatten
#Processed by Id: cwm.py,v 1.189 2006/08/02 16:59:14 syosi Exp
        Traceback (most recent call last):
  File "/usr/local/bin/cwm", line 740, in <module>
    doCommand()
  File "/usr/local/bin/cwm", line 662, in doCommand
    workingContext = reify.flatten(workingContext)
  File ".../python2.5/site-packages/swap/reify.py", line 223, in flatten
    tempformula.declareUniversal(var)
  File ".../python2.5/site-packages/swap/formula.py", line 210, in
declareUniversal
    """)
RuntimeError: We have now disallowed the calling of declareUniversal.
For future reference, use newUniversal

Thanks,

-- 
Sean B. Palmer, http://inamidst.com/sbp/
Received on Saturday, 13 October 2007 12:59:26 UTC

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