Re: CVS Problems with cwm : RDFSink runNamespace is AWOL

--- "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 UTC