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

cwm.py 1.128 cannot generate circles and arrows diagram example

From: Hugo Haas <hugo@w3.org>
Date: Tue, 8 Apr 2003 12:15:30 +0200
To: www-archive+n3bugs@w3.org
Cc: Tim Berners-Lee <timbl@w3.org>, "Daniel W. Connolly" <connolly@w3.org>
Message-ID: <20030408101530.GT7530@w3.org>

The latest version of cwm.py that I found in 2000/10/swap/ on
dev.w3.org did not manage to regenarate the example on the Circles and
arrows diagrams using stylesheet rules page[1].  The version tagged
"fast_for_dom" (version 1.109) did.

See the IRC log:

11:56 <hugo> I want to design a diagram from an N3 document that I am woring on
11:57 <hugo> I tried to follow the instructions at: http://www.w3.org/2001/02pd/
11:57 <hugo> and I tried to regenerate the example
11:58 <hugo> and things are not going well:
11:58 <hugo> [[
11:58 <hugo> hugo@jibboom ~/WWW/2000/10/swap> python2.2 cwm.py /tmp/sw-bcard.n3  --think --rdf
11:58 <hugo> <!-- Processed by Id: cwm.py,v 1.128 2003/04/02 03:42:04 timbl Exp -->
11:58 <hugo> <!--     using base file:/tmp/sw-bcard.n3-->
11:58 <hugo> <rdf:RDF xmlns="file:/tmp/sw-bcard.n3#"
11:58 <hugo>     xmlns:g="http://www.w3.org/2001/02pd/gv#"
11:58 <hugo>     xmlns:log="http://www.w3.org/2000/10/swap/log#"
11:58 <hugo>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
11:58 <hugo>     xmlns:u="http://www.w3.org/2000/01/rdf-schema#">Traceback (most recent call last):
11:58 <hugo>   File "cwm.py", line 789, in ?
11:58 <hugo>     doCommand()
11:58 <hugo>   File "cwm.py", line 717, in doCommand
11:58 <hugo>     _store.dumpNested(workingContext, _outSink)
11:58 <hugo>   File "llyn.py", line 1981, in dumpNested
11:58 <hugo>     self.dumpFormulaContents(context, sink, sorting=1)
11:58 <hugo>   File "llyn.py", line 1993, in dumpFormulaContents
11:58 <hugo>     self._dumpSubject(context, context, sink, sorting, statements)
11:58 <hugo>   File "llyn.py", line 2084, in _dumpSubject
11:58 <hugo>     self.dumpStatement(sink, s.quad, sorting)
11:58 <hugo>   File "llyn.py", line 2146, in dumpStatement
11:58 <hugo>     self._outputStatement(sink, triple)
11:58 <hugo>   File "llyn.py", line 1818, in _outputStatement
11:58 <hugo>     sink.makeStatement(self.extern(triple))
11:58 <hugo>   File "toXML.py", line 196, in makeStatement
11:58 <hugo>     raise ValueError("Unexpected subject", `subj`)
11:58 <hugo> ValueError: ('Unexpected subject', "(1, 'file:/tmp/sw-bcard.n3#0_work')")
11:58 <hugo> ]]
11:58 <hugo> is there anybody who has a working installation?
11:59 <dom> hmm... I just tried, and it works for me
11:59 <hugo> ha!
11:59 <dom> you can get my working version of cwm using the "fast_for_dom" tag in CVS

  1. http://www.w3.org/2001/02pd/
-- 
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/
Received on Tuesday, 8 April 2003 06:15:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:29 GMT