Python most definitely has exceptions: https://wiki.python.org/moin/HandlingExceptions
The C++ exception should have been converted into a python exception. -- linas On Mon, Mar 2, 2020 at 8:13 AM Alexander Gabriel <[email protected]> wrote: > >>> >>> If I exclude it from both I get: >>> terminate called after throwing an instance of >>> 'opencog::InvalidParamException' >>> what(): The variable (VariableNode "person2") does not appear >>> (unquoted) in any clause! >>> (/home/rasberry/git/atomspace/opencog/atoms/pattern/PatternLink.cc:508) >>> Aborted (core dumped) >>> >>> >> This is a bug -- an exception should never end with a core dump; the >> system should just report the exception and return to the python command >> line (or, alternately, run the python exception handler, if any) . Could >> you please report this as a bug? >> > > Hi Linas, > My guess is that any exception thrown in C will end in a python core dump. > At least I haven't encountered any python Exceptions that I can remember. > > Best, > Alex > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/opencog/1f0e3123-3108-4fbc-b770-4fc4289ee2f2%40googlegroups.com > <https://groups.google.com/d/msgid/opencog/1f0e3123-3108-4fbc-b770-4fc4289ee2f2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- cassette tapes - analog TV - film cameras - you -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CAHrUA34PWuwTDRVrPhBJDmgz1RNYNGdqTMY5spUnnYNNr1rYRA%40mail.gmail.com.
