Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CogServer does not error on module load failure #4

Closed
inflector opened this issue Jun 7, 2017 · 3 comments
Closed

CogServer does not error on module load failure #4

inflector opened this issue Jun 7, 2017 · 3 comments

Comments

@inflector
Copy link
Member

If you launch the CogServer and it cannot load a module because it has not been installed or is not present in the module search path, there is no error. It only prints some log entries at WARN level.

To duplicate, put a module in the MODULES section of a config file. Then remove the module from the install directory.

@linas
Copy link
Member

linas commented Jun 7, 2017

FWIW, I think the correct long-term strategy is to get rid of cogserver modules; its a pre-req for getting rid of the cogserver itself. I wouldn't waste time on this.

@linas
Copy link
Member

linas commented Jun 7, 2017

I also want to get rid of the config file, and the whole config mechanism.

@linas linas transferred this issue from opencog/opencog Sep 14, 2019
linas pushed a commit that referenced this issue Jul 4, 2021
@linas
Copy link
Member

linas commented Aug 28, 2022

Closing. At this time, I get this:

opencog> list
   Module Name           Library            Module Directory Path
   -----------           -------            ---------------------
BuiltinRequestsModule libbuiltinreqs.so  /usr/local/lib/opencog/modules
JsonShellModule       libjson-shell.so   /usr/local/lib/opencog/modules
SchemeShellModule     libscheme-shell.so /usr/local/lib/opencog/modules
SexprShellModule      libsexpr-shell.so  /usr/local/lib/opencog/modules
TopShellModule        libtop-shell.so    /usr/local/lib/opencog/modules
opencog> load "foo"
Unable to load module "foo". Check the server logs for details.
opencog> 

@linas linas closed this as completed Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants