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")
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:
Backtrace:
In ice-9/boot-9.scm:
157: 12 [catch #t #<catch-closure 26ea620> ...]
In unknown file:
?: 11 [apply-smob/1 #<catch-closure 26ea620>]
In ice-9/boot-9.scm:
157: 10 [catch #t #<catch-closure 26ea220> ...]
In unknown file:
?: 9 [apply-smob/1 #<catch-closure 26ea220>]
?: 8 [call-with-input-string "(cog-satisfying-set find-body)\n" ...]
In ice-9/boot-9.scm:
2401: 7 [save-module-excursion #<procedure 279c7e0 at
ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
44: 6 [read-and-eval #<input: string 23c2750> #:lang ...]
37: 5 [lp (cog-satisfying-set find-body)]
In ice-9/eval.scm:
386: 4 [eval #<memoized (cog-satisfying-set find-body)> ()]
393: 3 [eval #<memoized cog-satisfying-set> ()]
In unknown file:
?: 2 [memoize-variable-access! # #]
In ice-9/boot-9.scm:
102: 1 [#<procedure 279a200 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
unbound-variable ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 26ea1e0> unbound-variable ...]
ERROR: In procedure apply-smob/1:
ERROR: Unbound variable: cog-satisfying-set
ABORT: unbound-variable
2. I have the following in my testAtomspace.scm file
(EvaluationLink
(PredicateNode "tweet-info ")
(ListLink
(ConceptNode "[-77.0325, 38.8749]")
(ConceptNode "US")
(ConceptNode "Washington")
(ConceptNode "Attend the #LiteraryExperience #NYFW edition on Sept
8th. VIP tickets available now at https://t.co/4rNiQSchnp")
)
)
(EvaluationLink
(PredicateNode "tweet-info ")
(ListLink
(ConceptNode "")
(ConceptNode "")
(ConceptNode "")
(ConceptNode "RT @Brandonwoelfel: Photo of me taking a photo
https://t.co/i65A4uNr8w")
)
)
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 :
(EvaluationLink
(PredicateNode "tweet-info ")
(ListLink
(ConceptNode "")
(ConceptNode "")
(ConceptNode "")
(ConceptNode "RT @Brandonwoelfel: Photo of me taking a photo
https://t.co/i65A4uNr8w")
)
)
Is it right? or am i missing anything?
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.
For more options, visit https://groups.google.com/d/optout.