Sigh. Indeed, I get the same  crash

I can fix it by saying
(use-modules (opencog nlp oc))

--linas

On Mon, Aug 30, 2021 at 4:45 AM Michele Thiella <[email protected]>
wrote:

> Hi Linas,
>
> I built lg-atomese and then rebuilt atomspace and opencog.
> Is it normal that (nlp-parse ".....") doesn't work anymore?
>
> guile> (nlp-parse "The book is on the table")
> Error: Cannot connect to RelEx server: unbound-variable
> (#f Unbound variable: ~S (LemmaLink) #f)
> Backtrace:
>            7 (apply-smob/1 #<catch-closure 561c08863de0>)
>            6 (apply-smob/1 #<catch-closure 561c08863be0>)
> In ice-9/boot-9.scm:
>    2312:4  5 (save-module-excursion #<procedure 561c08859040 at ice-…>)
> In ice-9/eval-string.scm:
>      38:6  4 (read-and-eval #<input: string 561c08c728c0> #:lang _)
> In opencog/nlp/chatbot/chat-utils.scm:
>    197:16  3 (nlp-parse _)
> In unknown file:
>            2 (scm-error misc-error #f "~A" ("The RelEx server seem…") …)
> In ice-9/boot-9.scm:
>    751:25  1 (dispatch-exception 0 misc-error (#f "~A" ("The Rel…") …))
> In unknown file:
>            0 (apply-smob/1 #<catch-closure 561c08863ba0> misc-error # …)
>
> ERROR: In procedure apply-smob/1:
> The RelEx server seems to have crashed!
> ABORT: misc-error
>
>
> But no errors or crashes appear in the Relex server shell:
>
> Info: Waiting for socket connection
> Loop count=1 Restart count=0
> Info: Waiting for socket connection
> Info: Enter thread with handler 1
> Info: hndlr=1 recv input: "The book is on the table"
> Info: hndlr=1 sentence: "The book is on the table"
> Link-parsing: 8 milliseconds (avg=8 millisecs, cnt=1)
> RelEx processing: 75 milliseconds (avg=75 millisecs, cnt=1)
> Info: hndlr=1 sent parse 1 of 1
> Info: hndlr=1 Closed input socket
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/opencog/74e5cb86-a9da-4b0a-904e-9eba8b8889e8n%40googlegroups.com
> <https://groups.google.com/d/msgid/opencog/74e5cb86-a9da-4b0a-904e-9eba8b8889e8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Patrick: Are they laughing at us?
Sponge Bob: No, Patrick, they are laughing next to us.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/CAHrUA35Uyj58f%2BVfC24s4x3Yx3TwigpSC6HbiqAaz6TLeNFVVw%40mail.gmail.com.

Reply via email to