Open EskenderTamrat opened 5 years ago
Recreated from https://github.com/opencog/opencog/issues/3061 and https://github.com/opencog/opencog/issues/3312
For clearing the atomspace, one can only restart the cogserver now as OpenPsi is not working well with it. Running ghost-parse-file after (clear) would result in the following error.
scheme@(guile-user) > (clear) scheme@(guile-user) > (ghost-parse-file "rule.top")
In ghost.scm: 258:2 4 (ghost-parse-file ) In system/base/lalr.upstream.scm: 1956:16 3 ( ) In opencog/ghost/cs-parse.scm: 290:8 2 ( #(0 #t 25 #<lexical-token category: TOPIC source: #<source-location input: "/root/ghost/chatru…> …) …) In opencog/ghost/translator.scm: 810:2 1 (create-topic ) In unknown file: 0 (cog-set-value! (ConceptNode "GHOST introductions")
@leungmanhin Any pointers on this one? ,d cog-atomspace-clear remove atoms from atomspace but once you call (clear) you've to restart the cogserver.
see https://github.com/opencog/atomspace/blob/master/examples/atomspace/copy-on-write.scm for https://github.com/opencog/opencog/issues/3061
Recreated from https://github.com/opencog/opencog/issues/3061 and https://github.com/opencog/opencog/issues/3312
For clearing the atomspace, one can only restart the cogserver now as OpenPsi is not working well with it. Running ghost-parse-file after (clear) would result in the following error.
scheme@(guile-user) > (clear) scheme@(guile-user) > (ghost-parse-file "rule.top")
@leungmanhin Any pointers on this one? ,d cog-atomspace-clear remove atoms from atomspace but once you call (clear) you've to restart the cogserver.