strange error with the python scheme wrapper

40 views
Skip to first unread message

Johannes Castner

unread,
Feb 8, 2019, 8:14:20 AM2/8/19
to opencog
Hi everyone,

I'm encountering an error that I don't understand. Please help!

[2019-02-08 13:06:34:698] [ERROR] Python-Scheme Wrapper: Syntax error in input: '(has_desc "ENVO:00002236" "Cryosols comprise mineral soils formed in a permafrost environment. Where water is present, it occurs primarily in the form of ice. Cryogenic processes are the dominant soil-forming processes.")' (/home/ubuntu/atomspace/opencog/cython/opencog/PyScheme.cc:66)
    Stack Trace:
    2: Logger.cc:512      opencog::Logger::logva(opencog::Logger::Level, char const*, __va_list_tag*)
    3: Logger.cc:524      opencog::Logger::Error::operator()(char const*, ...)
    4: exceptions.cc:55      opencog::StandardException::parse_error_message(char const*, __va_list_tag*, bool)
    5: exceptions.cc:82      opencog::StandardException::parse_error_message(char const*, char const*, __va_list_tag*, bool)
    6: exceptions.cc:142      opencog::RuntimeException::RuntimeException(char const*, char const*, ...)
    7: PyScheme.cc:67      opencog::eval_scheme(opencog::AtomSpace*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    8: basic_string.h:589      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
    9: [0x4ea137] ??() ??:0
    10: [0x536d94] ??() ??:0
    11: [0x53fc97] ??() ??:0
    12: [0x53b83f] ??() ??:0
    13: [0x53b294] ??() ??:0
    14: [0x53fc97] ??() ??:0
    15: [0x5409bf] ??() ??:0
    16: [0x60cb42] ??() ??:0
    17: [0x60efea] ??() ??:0
    18: [0x60f7dc] ??() ??:0
    19: [0x640256] ??() ??:0
    20: [0x4d0001] ??() ??:0
    21: libc-start.c:325    __libc_start_main()
    22: [0x5d6999] ??() ??:0

Johannes

Linas Vepstas

unread,
Feb 8, 2019, 3:05:25 PM2/8/19
to opencog
Its probably yet another python bug.  You're on the bleeding-edge: very few users use python, and we've fixed dozens of python bugs in the last 6 months. My guess is that it is this bug: https://github.com/opencog/atomspace/pull/2064  which I will merge in about 1/2 hour .

--linas


--
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 opencog+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/3eec11c4-84c9-4e4a-af44-342868bfc330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
cassette tapes - analog TV - film cameras - you

Johannes Castner

unread,
Feb 10, 2019, 7:29:07 AM2/10/19
to opencog
Okay, cool, should I just pull the latest changes and try again?

Johannes

Linas Vepstas

unread,
Feb 11, 2019, 10:58:34 PM2/11/19
to opencog
Yes.

The bug that got fixed was one that, after the first error, every subsequent attempt would generate an error, even if the subsequent attempt was fine. This made debugging hard. Your original email contained an expression that looked perfectly valid, and so I was thinking it was valid, and was being incorrectly reported.

--linas


For more options, visit https://groups.google.com/d/optout.

Johannes Castner

unread,
Feb 12, 2019, 5:27:33 AM2/12/19
to ope...@googlegroups.com
Thank you! 

Johannes 


For more options, visit https://groups.google.com/d/optout.
--
Johannes

--------------------------------------------------------------------------------------------------------
"Peace cannot be kept by force; it can only be achieved by understanding."

- Albert Einstein
Reply all
Reply to author
Forward
0 new messages