- From: Yosi Scharf <syosi@MIT.EDU>
- Date: Tue, 01 Aug 2006 09:38:45 -0400
- To: olivier Thereaux <ot@w3.org>, public-cwm-bugs@w3.org
Installing cwm directly from cvs using setup.py has never been supported, despite anything that may have been implied. I never figured out a good way to do it. If you have one, I'm all ears. In the meantime, setup.py is intended to be used with the Makefile. In theory, typing $make cwm.tar.gz Will spend hours running tests, pass all of them, and build a tarball. That tarball should install correctly. Right now, there are failing tests (one in particular, a nasty bug), so I have not run that in a while. I should disable that test and run it anyways, I suspect. In particular, the Makefile has a hardcoded (and probably not up to date) list of the source files cwm actually uses. olivier Thereaux wrote: > > As a follow-up to my message dated 25 Jul 2006: > http://lists.w3.org/Archives/Public/public-cwm-bugs/2006Jul/0000.html > > I have found a number of syntax errors in some of the files in the > swap CVS distribution, as they are breaking my debian updating > process. I can probably fix most of them if given a green light to > commit changes, but if someone more familiar with the code can fix the > errors with more assurance that it will not break other things, please > do. > > Below, details of the debian package config output, which somehow > tripped on swap. > Short answer. Not all files in that directory are live. Some are bitrotted, or incomplete. > > On Aug 1, 2006, at 07:18 , root wrote: >> Setting up debconf (1.5.3) ... > [...] >> Compiling /usr/lib/python2.3/site-packages/swap/soapserver.py ... >> File "/usr/lib/python2.3/site-packages/swap/soapserver.py", line 17 >> ... run >> ^ >> SyntaxError: invalid syntax This is part of plwm, a rewrite of cwm.py that never got very far. It should probably be removed. >> >> Compiling /usr/lib/python2.3/site-packages/swap/sync.py ... >> File "/usr/lib/python2.3/site-packages/swap/sync.py", line 125 >> D = differences(F, G, assumptions): >> ^ >> SyntaxError: invalid syntax I don't know the status of that. >> >> Compiling /usr/lib/python2.3/site-packages/swap/vf2.py ... >> File "/usr/lib/python2.3/site-packages/swap/vf2.py", line 129 >> self.t1_in.update(x for x in G1.predecessors(node1).keys() if x >> not in self.map) >> ^ >> SyntaxError: invalid syntax Perfectly good python2.4. Making vf2.py into python2.3 should be on my todo list, if the file turns out to be useful. Cwm is in python2.3, but vf2 is not part of cwm at all (yet). >> >> Compiling /usr/lib/python2.3/site-packages/swap/webdemo2.py ... >> File "/usr/lib/python2.3/site-packages/swap/webdemo2.py", line 46 >> for m in modules >> ^ >> SyntaxError: invalid syntax That code is dead. It should probably be removed. >> >> dpkg: error processing debconf (--configure): >> subprocess post-installation script returned error exit status 1 > > thanks, > olivier > --olivier Thereaux - W3C - http://www.w3.org/People/olivier/ > W3C Open Source Software: http://www.w3.org/Status > > > > thanks for going through the junk that has accumulated. Yosi Scharf
Received on Tuesday, 1 August 2006 13:38:55 UTC