Hi Linas,
On Thu, May 11, 2017 at 11:27 AM, Linas Vepstas <[email protected]>
wrote:
> OK, yes,
>
> for part 1) I think the README file explains almost all but the newest and
> greatest steps in detail. I'll update it shortly to add the newest steps.
> If there's confusion, ask. I keep detailed notes mostly because I can't
> remember how to replicate any of this stuff, myself.
>From the README file,
*********************************
8) Chose the corresponding `learn-pairs-??.scm` file, copy it from
the `run` directory to your working directory. Review and edit
the configuration as necessary. It contains the database
credentials -- that's probably the only thing you need to change.
9) Start the various servers. Eventually, you can use the
`run-all-servers.sh` file in the `run` directory to do this;
it creates a byobu session with different servers in different
terminals, where you can keep an eye on them. However, the
first time through, it is better to do all this by hand. So:
9a) Start `run/relex-server-any.sh` in a terminal.
9b) Start the cogserver, in another terminal, as follows:
```
guile -l learn-pairs-??.scm
**********************************
by "learn-pairs-??.scm", I guess you meant "pair-count-??.scm", because I
didn't find any file in the 'run' directory whose name starts with
"learn-pairs"
So when I run "guile -l pair-count-en.scm", I got the following errors:
;;; ERROR: Syntax error:
;;; opencog/nlp/learn/pseudo-csets.scm:309:8: definition in expression
context, where definitions are not allowed, in form (define n-tot
(get-stashed-count))
;;; WARNING: compilation of
/home/ruiting/hansonrobotics/opencog/opencog/opencog/nlp/learn/run/pair-count-en.scm
failed:
;;; ERROR: Syntax error:
;;; opencog/nlp/learn/pseudo-csets.scm:309:8: definition in expression
context, where definitions are not allowed, in form (define n-tot
(get-stashed-count))
Backtrace:
1 (primitive-load "/home/ruiting/hansonrobotics/opencog/o…")
0 Exception thrown while printing backtrace:
ERROR: Wrong type (expecting output port): #<output: string 1593620>
ERROR: In procedure opencog-extension:
ERROR: Wrong type (expecting output port): #<output: string 1593e70>
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
Then I tried to load the pair-count-en.scm file from the guile shell after
starting the cogserver, and got the same error..
I have installed the guile 2.2.2 before trying this.
Any idea how to fix it? Thanks a lot.
--
Ruiting
--
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/CANXBDVvVm3xHbmTOmAAOtvOts8U%2B9MEZo0RB8%3DkH-W3%2BP0NgWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.