Closed amebel closed 9 years ago
I don't think entries on .guile matter, i get the following
guile> %load-path
(/usr/share/guile/2.0 /usr/share/guile/site/2.0 /usr/share/guile/site /usr/share/guile)
I know what's going on on the cogserver (that thing I mentioned on Slack). A module for cog-execute! primitive is missing.
The modules are auto generated, right?
No. It needs something like this https://github.com/opencog/opencog/blob/master/opencog/modules/QueryModule.cc but for https://github.com/opencog/atomspace/blob/master/opencog/atoms/execution/ExecSCM.cc
thanks, i will check it out
I should have opened this issue @ https://github.com/opencog/opencog, lesson learned :smile:
I apologize, this is my fault, I have an excuse: my dog ate my homework.
I mean, I had to re-organize the shared libs to get python to work. This means that cog-execute (because it calls python) could not live with the other scheme code. The fix is to do this:
(add-to-load-path "/usr/local/share/opencog/scm")
(use-modules (opencog exec))
The load path points to the opencog guile modules. cog-execute! is now in the exec module...
The cogserver completely ignores ~/.guile
That file is used only by the command-line guile
repl.
Thanks
Trying to run https://github.com/opencog/atomspace/issues/57
on the cogserver. .guile has the following
It used to work without the following lines in .guile
what am i missing?