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

Re: CVS Problems with cwm : RDFSink runNamespace is AWOL

From: James Michael DuPont <mdupont777@yahoo.com>
Date: Tue, 9 Sep 2003 00:56:42 -0700 (PDT)
Message-ID: <20030909075642.57761.qmail@web41502.mail.yahoo.com>
To: "Sean B. Palmer" <sean@mysterylights.com>, timbl@w3.org, connolly@w3.org
Cc: www-archive+n3bugs@w3.org, arigo@tunes.org



--- "Sean B. Palmer" <sean@mysterylights.com> wrote:
> > ImportError: cannot import name runNamespace
> 
> We found out that this is due to an old version of RDFSink being
> used:-
> 
> http://ilrt.org/discovery/chatlogs/rdfig/2003-09-09.html#T07-30-16
> 
> There are, however, two syntax errors in what is meant to be the
> current stable(-ish) cwm.tgz release. Is there not some way to
> automate an "only make cwm.tgz if cwm passes the regression tests"
> procedure?

Oooops,
my bad. Here is your/my patch and the beginnings of pysco support.
        Psyco Home page: http://psyco.sourceforge.net

Index: cwm.py
===================================================================
RCS file: /sources/public/2000/10/swap/cwm.py,v
retrieving revision 1.143
diff -r1.143 cwm.py
651a652,662
>     try :
> 	    print '#going to import Psyco '
> 	    import psyco
> 	    psyco.log()        
> 	    psyco.profile()
> 	    psyco.full()
> 	    #        psyco.jit()
> 	    print "#After import Psyco"
>     except:
> 	    print 'Psyco not found, ignoring it'
> 	    
Index: query.py
===================================================================
RCS file: /sources/public/2000/10/swap/query.py,v
retrieving revision 1.3
diff -r1.3 query.py
106c106
< 			    if ((s1[p] nor in r1.variables)
---
> 			    if ((s1[p] not in r1.variables)
114c114
< 					    (`r1`, `r2`, `s1`, `s2`)
---
> 					    (`r1`, `r2`, `s1`, `s2`))



=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Received on Tuesday, 9 September 2003 03:56:43 GMT

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