well, its hard to guess where it is, without a backtrace.  You should add
these lines to your `~/.guile` file:
```
(debug-enable 'backtrace)
;;; Record positions of source code expressions.
  (read-enable 'positions)
```

I believe that the above should be enough to pinpoint the issue.

--linas

On Thu, Sep 1, 2016 at 7:22 AM, <[email protected]> wrote:

> Now it says, it caught an Exception, which is as follows:
>
> guile> Hello luser, you said: "are you a bot"
> You asked a Truth Query
> I can't process truth query for now
>
> guile> (nlp-parse "mary eats apple")
> ((SentenceNode "sentence@b2d9f1db-524d-4c79-a7e2-5e28f0db00b2")
> )
> guile> (nlp-parse "tom eats mango")
> ((SentenceNode "sentence@b3820f2c-5ae4-4029-ab0d-089d790ca0e2")
> )
> guile>    (process-query "luser" "who eats apple")
> Hello luser, you said: "who eats apple"
> You made an Interrogative SpeechAct
> wrong-type-arg
> (display Wrong type argument in position ~A: ~S (2 0) (0))
> Sorry, I caught an exception
>
> But what is this wrong type argument?
> How can i fix this?
>
>>
>>

-- 
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/CAHrUA37KgH0qJKFUS3wSZjygcvDuk5kSt3RYFX8d205hQeNcWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to