On Thu, Jun 20, 2019 at 9:35 AM Xabush Semrie <[email protected]> wrote:
> > Are you using rnrs on purpose, >> > > Yes. I am using (rnrs records) module. I will come up with a minimal > reproducible example but I wanted to understand the scheme error message > because it looks cryptic to me. > Well, given that the code normally works, my best guess is that the python wrapper accidentally dropped a single-quote, a double-quote, truncated the string in some way, or maybe corrupted a UTF-8 character. There are some very rare and hard-to-debug cases involving cut-n-paste from a web browser. Some web browsers sometimes insert .. weird whitespace UTF-8 characters, that (a) are invisible -- they're whitespace, and (b) cause scheme/python/c++/word-processor to mis-behave and act badly. Its very hard to debug .. because .. its whitespace. You can find them with tools like hexdump, and search for any non-ascii characters. Now, guile/python/c++/etc are "100%" UTF-8 safe, and work fine. But the weird whites-ace means that variable-names or other code might not be what you think it is... --linas -- 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 post to this group, send email to [email protected]. 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/CAHrUA37aHOpZusGy%2BrQGzRgbTznFDP4HWy4CbiPcBm%3DL76U0Gg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
