Im running on Ubuntu 16.04 with cogutil, atomspace, moses & opencog building from source.
The reasson of the backslashes is cause i copy pasted that line from a c++ application running scheme commando's. Its easier to debug and working toward a ROS node that can run SCM. But for example, the following will succeed if called from c++ of directly in guile: (nlp-parse "test") while this fails (nlp-parse "Test") Op 28 jan. 2018 22:57 schreef "Linas Vepstas" <[email protected]>: You have commas in your numeric values. Scheme sees the comma in 0,2000 and gets confused. This might be due to some locale setting, somewhere. Also, having the backslash before the quotes is bizzarre ... that is not normally needed, and I'm certain it will confuse scheme also, unless seomthing else is removing the backslash before passing it to guile. --linas On Sun, Jan 28, 2018 at 3:40 PM, Randy Deborggraeve < [email protected]> wrote: > I'm having some issues running SCM modules. Not sure what changed on my > system, but even the atomspace BasicSCM unit test fails. > > Scheme command '(Node \"ola amigos\" (stv 0,200000 0,300000))' returns the > following error: > [2018-01-28 21:29:50:025] [DEBUG] Backtrace: > 9 (apply-smob/1 #<catch-closure 1edd500>) > 8 (apply-smob/1 #<catch-closure 1ee5ec0>) > In ice-9/boot-9.scm: > 2316:4 7 (save-module-excursion #<procedure 1ee4c80 at ice-9/eva…>) > In ice-9/eval-string.scm: > 38:6 6 (read-and-eval #<input: string 2182690> #:lang _) > In ice-9/eval.scm: > 196:43 5 (_ #f) > 196:35 4 (_ #f) > 223:20 3 (proc #<directory (guile-user) 1e040a0>) > In unknown file: > 2 (%resolve-variable (7 . #{0,200000}#) #<directory (guil…>) > In ice-9/boot-9.scm: > 759:25 1 (dispatch-exception 0 unbound-variable (#f "Unbound …" …)) > In unknown file: > 0 (apply-smob/1 #<catch-closure 1ee5e80> unbound-variable …) > > ERROR: In procedure apply-smob/1: > ERROR: Unbound variable: #{0,200000}# > ABORT: unbound-variable > > > I have no clue what is causing this or how to fix. Seems this is not even > a opencog related error :( > Already rebuild/installed all modules, cleared the .cache/guile folder, ... > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/opencog. > To view this discussion on the web visit https://groups.google.com/d/ms > gid/opencog/eed44fab-2935-41f6-9c4b-1196735274ba%40googlegroups.com > <https://groups.google.com/d/msgid/opencog/eed44fab-2935-41f6-9c4b-1196735274ba%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- cassette tapes - analog TV - film cameras - you -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/ msgid/opencog/CAHrUA34czy40A2%3D9KQ5OJN%2Bsq9chmi2VV2f6SfFhORg9_u2% 3DBw%40mail.gmail.com <https://groups.google.com/d/msgid/opencog/CAHrUA34czy40A2%3D9KQ5OJN%2Bsq9chmi2VV2f6SfFhORg9_u2%3DBw%40mail.gmail.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CADMmUX9ki3M_ckjoHTgFcSuK2TQ-e0utzeefgRmOWUQ0BKs5bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
