Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
It appears that clips.PrintFacts() stops printing after a bad Assert, as below:
For a total of 2 facts.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-i686/egg/clips/_clips_wrap.py", line 3152, in Assert
_clips.ClipsError: C12: could not assert
<Fact 'f-2': fact object at 0x844f700>
[<Fact 'f-0': fact object at 0x831bb40>, <Fact 'f-1': fact object at 0x8300280>, <Fact 'f-2': fact object at 0x8300740>]
[<Fact 'f-0': fact object at 0x83006c0>, <Fact 'f-1': fact object at 0x8300900>, <Fact 'f-2': fact object at 0x844fc60>]
One would expect no correlation between assert error and fact printing.
Is there a way to 'clean' pyclips enough, after the '... C12: could not assert'
to keep the clips.PrintFacts() operational?
it looks like the "(facts)" function does not work after a bad call to Assert(), even when it is called directly via SendCommand(). I have to investigate a little about it, to verify where the problem takes place!