Re: Failed to run cwm from default download

The problem is that you downloaded cwm 1.0.0, which does not work with
python 2.5 . I can add a warning to that effect in doc/cwm.html . We
have not released a version of cwm since then, mostly due to problems in
the release process, and my not wanting to deal with cvs branches. We
should have a release soon. In the meantime, can you try 

http://www.w3.org/2000/10/swap/cwm-1.2.0a2.tar.gz ? This will become the next official release of cwm soon if we don't find any outstanding bugs in it.


Yosi


Noah Slater wrote:
> Hello,
>
> I downloaded cwm from:
>
>   http://www.w3.org/2000/10/swap/cwm.tar.gz
>
> Linked to from:
>
>   http://www.w3.org/2000/10/swap/doc/cwm.html
>
> I installed using:
>
>   ./setup.py install
>
> I ran using:
>
>   cwm.py site.n3
>
> I got the following output:
>
>   Traceback (most recent call last):
>     File "/usr/bin/cwm.py", line 59, in <module>
>       from swap.query import think, applyRules, applyQueries, testIncludes
>     File "/usr/lib/python2.5/site-packages/swap/query.py", line 21, in <module>
>       from formula import StoredStatement, Formula
>     File "/usr/lib/python2.5/site-packages/swap/formula.py", line 26
>       from __future__ import generators
>   SyntaxError: from __future__ imports must occur at the beginning of the file
>
> I am unable to use cwm because of this error.
>
> Thanks,
>
>   

Received on Saturday, 15 December 2007 23:57:33 UTC