On Thu, Sep 15, 2016 at 10:28 AM, <[email protected]> wrote: > Hello, > > my ~/.guile has > > (use-modules (ice-9 readline)) (activate-readline) > (add-to-load-path "/usr/local/share/opencog/scm") > (add-to-load-path ".") > (use-modules (opencog)) > (use-modules (opencog query)) > (use-modules (opencog exec)) > (load-from-path "opencog.scm") >
You almost surely should not be doing this last line. > > 1. When i run, > -->(define find-body(GetLink(ChoiceLink(EvaluationLink(PredicateNode > "tweet-info")(ListLink(VariableNode "$body")(ConceptNode "Montgomery"))) > (EvaluationLink(PredicateNode "tweet-info")(ListLink (VariableNode > "$body")(ConceptNode "Washington")))))) > > -->(cog-satisfying-set find-body), > > it throws a following error: > Beats me, it works for me. My best guess is that some earlier compile failed, and/or you did not do a "make install" after some compile, or that possibly you have some old version of the query module that does not contain cog-satisfying-set. You can verify by hand that its there, in /usr/local/share/opencog/scm/opencog/query.scm Looking at that file, it tries to load two shared libraries: libexecution and libquery berhaps one or both of these are borked or not installed. You can verify these by saying ldd -r /usr/local/lib/opencog/libexecution.so and also libquery and make sure there are no errors about unlinked functions. It is also possible that, by directly loading opencog.scm, which you should never do, that you clobbered the LTDL_LIBRRY_PATH causing the two libraries not to be found. > > > 2. I have the following in my testAtomspace.scm file > > > > when i run > (add-to-load-path "/home/vishnu/Documents/opencog_relatedPackages/ > opencog/build") > (add-to-load-path "/home/vishnu/Documents/opencog_relatedPackages/ > opencog/opencog/scm") > (load-from-path "testAtomspace.scm") > > It always shows only the last part : > That's normal. You can suppress even that by adding *unspecified* to the bottom of the file, and so nothing at all will be printed. --linas > > > > Thanks in advance , > 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/cb5a0ebe-6095-42ee-ba2a-fcea5453dc6d%40googlegroups.com > <https://groups.google.com/d/msgid/opencog/cb5a0ebe-6095-42ee-ba2a-fcea5453dc6d%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/CAHrUA36R6Pp--SJtoCF6LwSJm%2B8HprX2D49qtM4SqYh6x3m4%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
