sparqlResults

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

sparqlResults

Gregorio Fernández

Hello,

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>
     doCommand()
   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..."

Saludos

--
  ---------------------------------------------------------------
  Gregorio Fernandez Fernandez           [hidden email]
  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)
  ---------------------------------------------------------------