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

delta.py Bug: RuntimeError

From: Sean B. Palmer <sean@miscoranda.com>
Date: Mon, 12 Nov 2007 16:07:03 +0000
Message-ID: <b6bb4d890711120807s15f6c366n299a9c4f6b75d358@mail.gmail.com>
To: public-cwm-bugs@w3.org

  File ".../dev.w3.org/2000/10/swap/delta.py", line 320, in patches
    delta.declareUniversal(x)
  File ".../dev.w3.org/2000/10/swap/formula.py", line 213, in declareUniversal
    """)
RuntimeError: We have now disallowed the calling of declareUniversal.
For future reference, use newUniversal

With the following inputs and command line:

$ cat foaf01.n3
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
[ foaf:homepage <http://inamidst.com/sbp/>;  foaf:nick "SeanP" ] .

$ cat foaf02.n3
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
[ foaf:homepage <http://inamidst.com/sbp/>; foaf:nick "sbp" ] .

$ delta --from=foaf01.n3 --to=foaf02.n3

I fixed this locally just by changing the two "declareUniversal"
mentions to "newUniversal", but then it gives me a different error
which I'll send as a followup bug since it's probably a distinct bug.

Using cvs cwm up to date within a few days.

-- 
Sean B. Palmer, http://inamidst.com/sbp/
Received on Monday, 12 November 2007 16:17:27 UTC

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