W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > May 2004

Re: diff.py still not working

From: Henry Story <henry.story@bblfish.net>
Date: Sat, 8 May 2004 14:04:15 +0200
Message-Id: <D3BE9D04-A0E7-11D8-BE2D-000A95D9FA7A@bblfish.net>
To: public-cwm-bugs@w3.org
After labeling every point of the  graph, I still get a problem.

Attached are the three files needed to duplicate this experiment. There 
is very little difference between blog-1.n3 and blog-2.n3. A normal 
unix diff reveals only one line non commented difference.

I tested diff on the from.n3 and to.n3 ical examples and those worked 
well. I am at a bit of a loss. I would have to look at the python code, 
but, not being a python person, this might take me a lot longer than 
the time I may have.


13:59:59 - ~/Programming/w3c/swap/tmp
hjs@bblfish:0$ ../diff.py -f blog-1.n3 -t blog-2.n3
Traceback (most recent call last):
   File "../diff.py", line 374, in ?
     main()
   File "../diff.py", line 366, in main
     delta = differences(graph, graph2)
   File "../diff.py", line 235, in differences
     g_bnodes, g_definitions = nailFormula(g)
TypeError: unpack non-sequence











On 7 May 2004, at 20:17, Henry Story wrote:

> On 7 May 2004, at 19:56, Henry Story wrote:
>
>> Sorry that was the wrong output I sent. Below is what I am getting. 
>> It looks like it is trying to get the file http://purl.org/atom/ns 
>> and croaking on trying to parse that. I'll see if I can point the 
>> name space to the right file.
>
> That was indeed correct.
>
>  I needed the name space to point to the owl file I used as a model. 
> It still does not work, but that is because my graph is insufficiently 
> labeled. I will need to read TBL's paper more carefully and see if I 
> can improve the constraints on the OWL semantics, or if I just need to 
> find a way create resource names for the graph elements.
>
> Henry
>
> PS. Sorry to have pressed the bug filing button too soon. That must 
> have been because I did not get the tests to work previously...
>
>


Received on Saturday, 8 May 2004 08:04:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:51:59 UTC