W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > August 2006

syntax errors in soapserver.py, sync.py, vf2.py and webdemo2.py

From: olivier Thereaux <ot@w3.org>
Date: Tue, 1 Aug 2006 14:10:36 +0900
Message-Id: <97B3ABD0-5333-4A45-B294-177AD5288E59@w3.org>
To: public-cwm-bugs@w3.org

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.


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
>
> 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
>
> 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
>
> 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
>
> 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
Received on Tuesday, 1 August 2006 05:10:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:00 UTC