💾 Archived View for thebird.nl › gn-gemtext-threads › issues › fix-load-rdf-script.gmi captured on 2023-05-24 at 18:12:51. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

-=-=-=-=-=-=-

Fix load-rdf.scm script

At the moment, running load-rdf.scm in tux02 results in the following stack trace:

OpenLink Virtuoso Interactive SQL (Virtuoso)
Version 07.20.3236 as of Jan  1 1970
Type HELP; for help and EXIT; to exit.
SQL> SQL> SQL>

at line 3 of Top-Level:
DELETE FROM rdf_quad WHERE g = iri_to_id ('http://genenetwork.org')
Backtrace:
In ice-9/boot-9.scm:
  1752:10  8 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
           7 (apply-smob/0 #<thunk 7fed6c9d8080>)
In ice-9/boot-9.scm:
    724:2  6 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  5 (_ #(#(#<directory (guile-user) 7fed6c9dec80>)))
In ice-9/boot-9.scm:
   2835:4  4 (save-module-excursion _)
  4380:12  3 (_)
In load-rdf.scm:
   181:15  2 (main . _)
    167:4  1 (time-thunk #<procedure 7fed6a3fcd00 at load-rdf.scm:18…>)
   117:24  0 (call-with-pipe _ _ _ . _)

load-rdf.scm:117:24: In procedure call-with-pipe:
Invocation of program failed ("isql")

See the following for the fix:

07a5516