What Joel says.

Are you using rnrs on purpose, or did that just somehow sneak into the code?

--linas

On Tue, Jun 18, 2019 at 8:52 AM Xabush Semrie <[email protected]> wrote:

> Hi,
>
> When run a scheme function through the guile shell it runs perfectly fine
> and I get the expected result. However, running the same function through 
> *scheme-eval
> *Python function*, *I get the following error:
>
> Failed to execute '*(parse (append (list (gene-info (mapSymbol (list
> "MAP2K4" )))) (list ( gene-go-annotation (list "MAP2K4" )
> "biological_process cellular_component molecular_function" 1))))*'
> Backtrace: 14 (apply-smob/1 #<catch-closure 7f499ee92700>) 13
> (apply-smob/1 #<catch-closure 7f499ee92600>) In ice-9/boot-9.scm: 2312:4 12
> (save-module-excursion _) In ice-9/eval-string.scm: 38:6 11 (read-and-eval
> #<input: string 7f497b0995b0> #:lang_ ) In ice-9/eval.scm: 619:8 10 (
> _#(#(#(#(#(#(#(#(#(#(#(#) …) …) …) …) …) …) …) …) …) …)) 626:19 9 (_
> #(#(#(#(#(#(#(#(#(#(#(#) …) …) …) …) …) …) …) …) …) …)) 619:8 8 (
> _#(#(#(#(#(#(#(#<directory (guile-…>) …) …) …) …) …) …)) In
> srfi/srfi-1.scm: 640:9 7 (for-each #<procedure 7f499ee92b00 at
> ice-9/eval.scm:3…> …) 640:9 6 (for-each #<procedure 7f499ee928c0 at
> ice-9/eval.scm:3…> …) In ice-9/eval.scm: 259:9 5 (_ #(#(#<directory
> (guile-user) 7f498001a140> #<v…> …) …)) 298:42 4 ( _#(#(#<directory
> (guile-user) 7f498001a140>) "MAP2…" …)) 155:9 3 (_ #(#(#<directory
> (guile-user) 7f498001a140>) "MAP2…" …)) In rnrs/records/procedural.scm:
> 218:2 2 (_ "MAP2K4") In ice-9/boot-9.scm: 751:25 1 (dispatch-exception 0
> r6rs:exception (#<r6rs:record:&r…>)) In unknown file: 0 (apply-smob/1
> #<catch-closure 7f499ee925c0> # #<r6rs:re…>) ERROR: In procedure
> apply-smob/1: In procedure #<r6rs:record:&raise-object-wrapper>: Error
> while printing exception. ABORT: r6rs:exception
> (/root/atomspace/opencog/cython/opencog/PyScheme.cc:63)
>
> Has anyone had similar issue? The code for the scheme function can be
> found here
> <https://github.com/MOZI-AI/annotation-scheme/blob/master/functions/parser.scm>
> .
>
> --
> 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/b7b5b656-3f86-4296-8d12-b9373b02dfcf%40googlegroups.com
> <https://groups.google.com/d/msgid/opencog/b7b5b656-3f86-4296-8d12-b9373b02dfcf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
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/CAHrUA37PeDYJnV8HdRpc8RWu6OsZsrCaAsuDHhySAmfj6paY6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to