delta.py Bug: RuntimeError

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

delta.py Bug: RuntimeError

Sean B. Palmer

  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/