How do I get my bot to not display debug info? How do I fix it.

34 views
Skip to first unread message

Michael Israel

unread,
Jun 29, 2013, 7:07:17 PM6/29/13
to ope...@googlegroups.com
It kind of works now. How can I fix this? Here is a transcript of my bot at work.

  cogita-bot here we are

Mike3620__Hello

Mike3620__ cogita-bot: Hello there

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: Hello there

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cognita-bot: hi

Mike3620__cogita-bot: hi

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: hi

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: Gamerkitten has aids.

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: Gamerkitten has aids.

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: who has aids?

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mHello Mike3620__, you asked a WH-question: who has aids?

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot SVO pattern match found: Gamerkitten

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__ It's kind of working but wtf is [0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: Gamerkitten got aids by having unprotected sex.

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: Gamerkitten got aids by having unprotected sex.

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: how did gamerkitten get aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: how did gamerkitten get aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mBacktrace:

cogita-botIn unknown file:

cogita-bot ?: 19 [apply-smob/1 #<catch-closure 1e469a0>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 18 [catch #t #<catch-closure 1e46820> ...]

cogita-bot In unknown file:

cogita-bot ?: 17 [apply-smob/1 #<catch-closure 1e46820>]

cogita-bot ?: 16 [call-with-input-string " (say-declaration) \n" ...]

cogita-botIn ice-9/boot-9.scm:

cogita-bot2320: 15 [save-module-excursion #<procedure 10d5b10 at ice-9/eval-string.scm:65:9 ()>]

cogita-botIn ice-9/eval-string.scm:

cogita-bot 44: 14 [read-and-eval #<input: string 1e57a90> #:lang ...]

cogita-bot 37: 13 [lp (say-declaration)]

cogita-botIn ice-9/eval.scm:

cogita-bot 432: 12 [eval # #]

cogita-bot 432: 11 [eval # #]

cogita-botIn srfi/srfi-1.scm:

cogita-bot 619: 10 [for-each #<procedure 10d55d0 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]

cogita-botIn unknown file:

cogita-bot ?: 9 [opencog-extension cog-bind-crisp (#)]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 8 [catch #t #<catch-closure 253cbc0> ...]

cogita-bot In unknown file:

cogita-bot ?: 7 [apply-smob/1 #<catch-closure 253cbc0>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 6 [catch #t #<catch-closure 253ca40> ...]

cogita-botIn unknown file:

cogita-bot ?: 5 [apply-smob/1 #<catch-closure 253ca40>]

cogita-botIn ice-9/eval.scm:

cogita-bot 386: 4 [eval # ()]

cogita-bot 393: 3 [eval #<memoized make-prep-phrase> ()]

cogita-botIn unknown file:

cogita-bot ?: 2 [memoize-variable-access! # #]

cogita-bot In ice-9/boot-9.scm:

cogita-bot 102: 1 [#<procedure 1ed6580 at ice-9/boot-9.scm:97:6 (thrown-k . args)> unbound-variable ...]

cogita-botIn unknown file:

cogita-bot ?: 0 [apply-smob/1 #<catch-closure 253ca00> unbound-variable ...]

cogita-botERROR: In procedure apply-smob/1:

cogita-botERROR: Unbound variable: make-prep-phrase

cogita-bot ABORT: unbound-variable

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: the sun is yellow.

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: the sun is yellow.

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mBacktrace:

cogita-botIn unknown file:

cogita-bot ?: 19 [apply-smob/1 #<catch-closure 1fbafe0>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 18 [catch #t #<catch-closure 1fbae80> ...]

cogita-bot In unknown file:

cogita-bot ?: 17 [apply-smob/1 #<catch-closure 1fbae80>]

cogita-bot ?: 16 [call-with-input-string " (say-declaration) \n" ...]

cogita-botIn ice-9/boot-9.scm:

cogita-bot2320: 15 [save-module-excursion #<procedure dfae70 at ice-9/eval-string.scm:65:9 ()>]

cogita-botIn ice-9/eval-string.scm:

cogita-bot 44: 14 [read-and-eval #<input: string 270b820> #:lang ...]

cogita-bot 37: 13 [lp (say-declaration)]

cogita-botIn ice-9/eval.scm:

cogita-bot 432: 12 [eval # #]

cogita-bot 432: 11 [eval # #]

cogita-botIn srfi/srfi-1.scm:

cogita-bot 619: 10 [for-each #<procedure dfa390 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]

cogita-botIn unknown file:

cogita-bot ?: 9 [opencog-extension cog-bind-crisp (#)]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 8 [catch #t #<catch-closure 16ffec0> ...]

cogita-bot In unknown file:

cogita-bot ?: 7 [apply-smob/1 #<catch-closure 16ffec0>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 6 [catch #t #<catch-closure 16ffd40> ...]

cogita-botIn unknown file:

cogita-bot ?: 5 [apply-smob/1 #<catch-closure 16ffd40>]

cogita-botIn ice-9/eval.scm:

cogita-bot 386: 4 [eval # ()]

cogita-bot 393: 3 [eval #<memoized make-prep-phrase> ()]

cogita-botIn unknown file:

cogita-bot ?: 2 [memoize-variable-access! # #]

cogita-bot In ice-9/boot-9.scm:

cogita-bot 102: 1 [#<procedure 2fea840 at ice-9/boot-9.scm:97:6 (thrown-k . args)> unbound-variable ...]

cogita-botIn unknown file:

cogita-bot ?: 0 [apply-smob/1 #<catch-closure 16ffd00> unbound-variable ...]

cogita-botERROR: In procedure apply-smob/1:

cogita-botERROR: Unbound variable: make-prep-phrase

cogita-bot ABORT: unbound-variable

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__It was working for a minute. Now it borked again

Mike3620__cogita-bot: who has aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0mHello Mike3620__, you asked a WH-question: who has aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-botSVO pattern match found: Gamerkitten

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: gamerkitten got aids from unprotected sex.

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: gamerkitten got aids from unprotected sex.

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: how did gamerkitten get aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: how did gamerkitten get aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mBacktrace:

cogita-botIn unknown file:

cogita-bot ?: 19 [apply-smob/1 #<catch-closure 253cda0>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 18 [catch #t #<catch-closure 253cc00> ...]

cogita-bot In unknown file:

cogita-bot ?: 17 [apply-smob/1 #<catch-closure 253cc00>]

cogita-bot ?: 16 [call-with-input-string " (say-declaration) \n" ...]

cogita-botIn ice-9/boot-9.scm:

cogita-bot2320: 15 [save-module-excursion #<procedure 251ef30 at ice-9/eval-string.scm:65:9 ()>]

cogita-botIn ice-9/eval-string.scm:

cogita-bot 44: 14 [read-and-eval #<input: string 3000680> #:lang ...]

cogita-bot 37: 13 [lp (say-declaration)]

cogita-botIn ice-9/eval.scm:

cogita-bot 432: 12 [eval # #]

cogita-bot 432: 11 [eval # #]

cogita-botIn srfi/srfi-1.scm:

cogita-bot 619: 10 [for-each #<procedure 251e900 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]

cogita-botIn unknown file:

cogita-bot ?: 9 [opencog-extension cog-bind-crisp (#)]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 8 [catch #t #<catch-closure 1f27f80> ...]

cogita-bot In unknown file:

cogita-bot ?: 7 [apply-smob/1 #<catch-closure 1f27f80>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 6 [catch #t #<catch-closure 1f27dc0> ...]

cogita-botIn unknown file:

cogita-bot ?: 5 [apply-smob/1 #<catch-closure 1f27dc0>]

cogita-botIn ice-9/eval.scm:

cogita-bot 386: 4 [eval # ()]

cogita-bot 393: 3 [eval #<memoized make-prep-phrase> ()]

cogita-botIn unknown file:

cogita-bot ?: 2 [memoize-variable-access! # #]

cogita-bot In ice-9/boot-9.scm:

cogita-bot 102: 1 [#<procedure 11289c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> unbound-variable ...]

cogita-botIn unknown file:

cogita-bot ?: 0 [apply-smob/1 #<catch-closure 1f27d80> unbound-variable ...]

cogita-botERROR: In procedure apply-smob/1:

cogita-botERROR: Unbound variable: make-prep-phrase

cogita-bot ABORT: unbound-variable

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cognita-bot: The color of the sun is yellow.

Mike3620__ cogita-bot: The color of the sun is yellow.

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mHello Mike3620__, you made a statement: The color of the sun is yellow.

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mBacktrace:

cogita-botIn unknown file:

cogita-bot ?: 19 [apply-smob/1 #<catch-closure 254cd60>]

cogita-bot In ice-9/boot-9.scm:

cogita-bot 157: 18 [catch #t #<catch-closure 254cbc0> ...]

cogita-botIn unknown file:

cogita-bot ?: 17 [apply-smob/1 #<catch-closure 254cbc0>]

cogita-bot ?: 16 [call-with-input-string " (say-declaration) \n" ...]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 2320: 15 [save-module-excursion #<procedure 30dd6c0 at ice-9/eval-string.scm:65:9 ()>]

cogita-bot In ice-9/eval-string.scm:

cogita-bot 44: 14 [read-and-eval #<input: string 3000820> #:lang ...]

cogita-bot 37: 13 [lp (say-declaration)]

cogita-botIn ice-9/eval.scm:

cogita-bot 432: 12 [eval # #]

cogita-bot 432: 11 [eval # #]

cogita-botIn srfi/srfi-1.scm:

cogita-bot 619: 10 [for-each #<procedure 30e6cc0 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]

cogita-botIn unknown file:

cogita-bot ?: 9 [opencog-extension cog-bind-crisp (#)]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 8 [catch #t #<catch-closure 15648a0> ...]

cogita-bot In unknown file:

cogita-bot ?: 7 [apply-smob/1 #<catch-closure 15648a0>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 6 [catch #t #<catch-closure 1564720> ...]

cogita-botIn unknown file:

cogita-bot ?: 5 [apply-smob/1 #<catch-closure 1564720>]

cogita-botIn ice-9/eval.scm:

cogita-bot 386: 4 [eval # ()]

cogita-bot 393: 3 [eval #<memoized make-prep-phrase> ()]

cogita-botIn unknown file:

cogita-bot ?: 2 [memoize-variable-access! # #]

cogita-bot In ice-9/boot-9.scm:

cogita-bot 102: 1 [#<procedure 2794180 at ice-9/boot-9.scm:97:6 (thrown-k . args)> unbound-variable ...]

cogita-botIn unknown file:

cogita-bot ?: 0 [apply-smob/1 #<catch-closure 15646e0> unbound-variable ...]

cogita-botERROR: In procedure apply-smob/1:

cogita-botERROR: Unbound variable: make-prep-phrase

cogita-bot ABORT: unbound-variable

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: what color is the sun?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0mHello Mike3620__, you asked a WH-question: what color is the sun?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0mBacktrace:

cogita-botIn unknown file:

cogita-bot ?: 19 [apply-smob/1 #<catch-closure 2504140>]

cogita-bot In ice-9/boot-9.scm:

cogita-bot 157: 18 [catch #t #<catch-closure 2520fe0> ...]

cogita-botIn unknown file:

cogita-bot ?: 17 [apply-smob/1 #<catch-closure 2520fe0>]

cogita-bot ?: 16 [call-with-input-string " (say-try-triple-qa) \n" ...]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 2320: 15 [save-module-excursion #<procedure 30d0a20 at ice-9/eval-string.scm:65:9 ()>]

cogita-bot In ice-9/eval-string.scm:

cogita-bot 44: 14 [read-and-eval #<input: string 3000a90> #:lang ...]

cogita-bot 37: 13 [lp (say-try-triple-qa)]

cogita-botIn ice-9/eval.scm:

cogita-bot 432: 12 [eval # #]

cogita-bot 432: 11 [eval # #]

cogita-botIn srfi/srfi-1.scm:

cogita-bot 619: 10 [for-each #<procedure 30d9d20 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]

cogita-botIn unknown file:

cogita-bot ?: 9 [opencog-extension cog-bind-crisp (#)]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 8 [catch #t #<catch-closure 1e947c0> ...]

cogita-bot In unknown file:

cogita-bot ?: 7 [apply-smob/1 #<catch-closure 1e947c0>]

cogita-botIn ice-9/boot-9.scm:

cogita-bot 157: 6 [catch #t #<catch-closure 1e94640> ...]

cogita-botIn unknown file:

cogita-bot ?: 5 [apply-smob/1 #<catch-closure 1e94640>]

cogita-botIn ice-9/eval.scm:

cogita-bot 386: 4 [eval # ()]

cogita-bot 393: 3 [eval #<memoized make-prep-phrase> ()]

cogita-botIn unknown file:

cogita-bot ?: 2 [memoize-variable-access! # #]

cogita-bot In ice-9/boot-9.scm:

cogita-bot 102: 1 [#<procedure 2704e40 at ice-9/boot-9.scm:97:6 (thrown-k . args)> unbound-variable ...]

cogita-botIn unknown file:

cogita-bot ?: 0 [apply-smob/1 #<catch-closure 1e94600> unbound-variable ...]

cogita-botERROR: In procedure apply-smob/1:

cogita-botERROR: Unbound variable: make-prep-phrase

cogita-bot ABORT: unbound-variable

cogita-bot[0;32mopencog[1;32m> [0m

Mike3620__cogita-bot: who has aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0mHello Mike3620__, you asked a WH-question: who has aids?

cogita-bot [0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-botSVO pattern match found: Gamerkitten

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot[0;32mopencog[1;32m> [0m

cogita-bot [0;32mopencog[1;32m> [0m

Linas Vepstas

unread,
Jun 30, 2013, 1:33:00 PM6/30/13
to opencog
Hi,

Read the error messages. Its exactly the same error message as the last time, except for a different function: the file containing 'make-prep-phrase' wasn't loaded.

Most of the error messages are a stack trace. The actual error is at the bottom.   


--
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 opencog+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/opencog.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mitch Francis

unread,
Jul 16, 2017, 4:52:50 AM7/16/17
to opencog, michaels...@gmail.com
This post is old, but in case someone else is reviewing the older entries, here is the solution to the issue.

The ANSI_PROMPT parameter in the opencog-chatbot.conf file was missing, causing the prompt to be echoed to the IRC session. Adding the following line to your configuration file, or checking out the latest opencog-chatbot.conf will fix this.

ANSI_PROMPT     =   ""

Reply all
Reply to author
Forward
0 new messages