W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > September 2008


From: Gregorio Fernández <gfer@dit.upm.es>
Date: Sun, 14 Sep 2008 13:37:54 +0200
Message-ID: <48CCF792.50102@dit.upm.es>
To: public-cwm-bugs@w3.org


I'm just starting to play with cwm-1.2.1 rev. 1.3. Everything is OK 
until I try "--sparqlResults":

Traceback (most recent call last):
   File "/usr/bin/cwm", line 750, in <module>
   File "/usr/bin/cwm", line 564, in doCommand
     referer="", contentType="x-application/sparql")
   File "/usr/lib/python2.5/site-packages/swap/llyn.py", line 1609, in load
     referer=referer, why=why)
   File "/usr/lib/python2.5/site-packages/swap/webAccess.py", line 191, 
in load
     from sparql import sparql_parser
ImportError: No module named sparql

Not a python programmer, but I found that it can be fixed replacing in 
line 698 of the cwm script "from cwm_sparql..." by "from swap.cwm_sparql..."


  Gregorio Fernandez Fernandez           gfer@dit.upm.es
  Dep. Ingenieria Sistemas Telematicos   www.gsi.dit.upm.es/~gfer
  E.T.S.I. Telecomunicacion (U.P.M.)     (+34) 91 3367326 (tel)
  28040 Madrid, Spain                    (+34) 91 3367333 (fax)
Received on Monday, 15 September 2008 08:51:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 September 2008 08:51:59 GMT