I assume that this is a bug somewhere, in the example, or wherever, and Nil is the one to look at it. If this is in regard to a block of code in some examples directory, open a bug report. If you want to be totally awesome .... then track down the bug, and provide a patch?
--linas On Fri, Apr 21, 2017 at 9:55 AM, Vishnu Priya <[email protected]> wrote: > > Hi Linas, > > I have also tried providing variable declaration parameter and ran >> myfrog.scm > > >> (cog-fc source wiki (VariableNode "x" ) (SetLink)). Still got the same >> error. :-( > > > Backtrace: > In ice-9/boot-9.scm: > 157: 10 [catch #t #<catch-closure 49b2d40> ...] > In unknown file: > ?: 9 [apply-smob/1 #<catch-closure 49b2d40>] > In ice-9/boot-9.scm: > 157: 8 [catch #t #<catch-closure 49b2c20> ...] > In unknown file: > ?: 7 [apply-smob/1 #<catch-closure 49b2c20>] > ?: 6 [call-with-input-string "(cog-fc source wiki (VariableNode \"x\" ) > (SetLink))\n" ...] > In ice-9/boot-9.scm: > 2320: 5 [save-module-excursion #<procedure 30b2f00 at > ice-9/eval-string.scm:65:9 ()>] > In ice-9/eval-string.scm: > 44: 4 [read-and-eval #<input: string 49a6c30> #:lang ...] > 37: 3 [lp (cog-fc source wiki (VariableNode "x") (SetLink))] > In unknown file: > ?: 2 [opencog-extension cog-fc (# # # #)] > In ice-9/boot-9.scm: > 102: 1 [#<procedure 499fb80 at ice-9/boot-9.scm:97:6 (thrown-k . args)> > C++-EXCEPTION ...] > In unknown file: > ?: 0 [apply-smob/1 #<catch-closure 49b2be0> C++-EXCEPTION ...] > > ERROR: In procedure apply-smob/1: > ERROR: In procedure cog-fc: Not a node! (/home/vishnu/atomspace/ > opencog/atoms/base/Atom.h:193) > Function args: > ((InheritanceLink > (ConceptNode "fritz") > (ConceptNode "croaks") > ) > (ConceptNode "wikipedia-fc") > (VariableNode "x") > (SetLink > ) > ) > ABORT: C++-EXCEPTION > > > > Thanks and regards, > Vishnu > > -- > 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/2e5cc79a-85d4-4628-8115-d27e8cf8c329%40googlegroups.com > <https://groups.google.com/d/msgid/opencog/2e5cc79a-85d4-4628-8115-d27e8cf8c329%40googlegroups.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/CAHrUA35eMn%2BAHb5gRLZ%2BaMTN81PxJwzob6hvv2pvd_LmNib-kA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
