Evaluation of SPARQL in Org is disabled
wouterbeek opened this issue · 3 comments
wouterbeek commented
When I press C-c C-c
on a SPARQL code block inside Org mode, I get the following message: "Evaluation of this SPARQL code block is disabled."
This is how I markup the query in Org:
#+BEGIN_SRC sparql :url http://localhost:3020/sparql :format test/csv
select * { ?s ?p ?o } limit 1
#+END_SRC
The same query does work when M-x sparql-query-region
is performed in a SPARQL buffer.
emacs-version
is 26.0.50; org-version
is 9.0.5.
ljos commented
You have written test/csv
instead text/csv
and I had made a mistake handling error responses. I fixed the error and now you should get better error messages when the server gives an error response.
Thank you for taking the time to send an error report. It is appreciated.
wouterbeek commented
@ljos Thanks for the quick response! I've fixed my typo, but am still receiving the same message.
ljos commented
I looked up the error; seems to be a change in org mode 9. Try to recompile
the byte code for org mode and ob-sparql. You might also need to add sparql
to the org-babel-do-load-languages.
…On Sun, 12 Mar 2017 at 23:19, Wouter Beek ***@***.***> wrote:
@ljos <https://github.com/ljos> Thanks for the quick response! I've fixed
my typo, but am still receiving the same message.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjt1lQcifaXLwg6qp5vOwButf1PLSGGks5rlG9hgaJpZM4MafT1>
.