-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
The list of paths to look for modules is entirely hardwired in
<COGUTILS_ROOT>/opencog/util/files.cc
Both the atomspace and opencog repos rely on it (which is why it is in cogutils) but it prevents from running the cogserver from certain places like
<OPENCOG_ROOT>/scripts
which contains run_cogserver.sh
, thus failing to run the cogserver..
I guess there are 2 ways to properly deal with that
- have it look for a certain environment variable like
OPENCOG_MODULE_PATHS
- add a config variable MODULES_PATH in opencog*.conf
meanwhile I've added ../build
in the list of hardwired default module paths which I suppose should accommodate 90% of the users wanting to run the cogserver from that script.
Metadata
Metadata
Assignees
Labels
No labels