Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


Gregorio Fernández


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/", line 1609, in load
     referer=referer, why=why)
   File "/usr/lib/python2.5/site-packages/swap/", 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           [hidden email]
  Dep. Ingenieria Sistemas Telematicos
  E.T.S.I. Telecomunicacion (U.P.M.)     (+34) 91 3367326 (tel)
  28040 Madrid, Spain                    (+34) 91 3367333 (fax)