On Mon, 31 Jan 2005, Matthias Radestock wrote:
> > tf@ouija:~/Java/sisc-1.10.0/sisc$ ./sisc.sh
> > SISC (1.10.0-alpha) - main
> > #;> (load "src/sisc/modules/std-modules.scm")
>
> Why are you doing that?
Because I am still learning to navigate through sisc by trial and error -
as there is very little documentation for what I intend to do with it.
> > #;> (load "tests/s2j.scm")
> > Error: #<java java.lang.StringIndexOutOfBoundsException
> > java.lang.StringIndexOutOfBoundsException: String index out of range: 3>
> > Error in load.
> > Uncaught error: ((message . expected type Scheme type, got '#0=#<record
> > #1=#<record #2=#<r...'.) (location . type<=) (java-exception . #<java
> > java.lang.RuntimeException java.lang.RuntimeException: expected type Scheme
> > type, got '#0=#<record #1=#<record #2=#<r...'.>))
> > Please report this error to sisc-devel@xxxxxxxxxxxxxxxxxxxxx
> > Uncaught error: ((message . expected type Scheme type, got '#0=#<record
> > #1=#<record #2=#<r...'.) (location . type<=) (java-exception . #<java
> > java.lang.RuntimeException java.lang.RuntimeException: expected type Scheme
> > type, got '#0=#<record #1=#<record #2=#<r...'.>))
> > Please report this error to sisc-devel@xxxxxxxxxxxxxxxxxxxxx
> > (...)
>
> std-modules.scm gets loaded during heap build. Things will go wrong if
> you try loading it again. That's why the "uncaught error" is reported.
Well... if it cries for being reported, I report that.
I think, it would be a good thing to make this script idempotent.
> When loading s2j.scm without loading std-modules.scm first I get:
>
> SISC (1.10.0-alpha) - main
> #;> (load "/home/rade/programs/sisc/tests/s2j.scm")
> Error: #<java java.lang.StringIndexOutOfBoundsException
> java.lang.StringIndexOutOfBoundsException: String index out of range: 3>
> file:../modules/s2j/reflection.scm:123:18: <from call to
> @s2j-reflection::java/invoke-method>
> Error in load.
> ?:?:?: <indeterminate call>
> ?:?:?: <indeterminate call>
> ?:?:?: <indeterminate call>
> file:repl.scm:128:39: <indeterminate call>
> file:repl.scm:123:25: <indeterminate call>
> file:repl.scm:149:26: <indeterminate call>
> file:repl.scm:137:14: <from call to call/cc>
> file:repl.scm:136:13: <indeterminate call>
> Caused by Error: #<java java.util.NoSuchElementException
> java.util.NoSuchElementException>
> file:/home/rade/programs/sisc/tests/s2j.scm:175:9: <from call to load>
> #;>
>
> That's actually two error reports. The first gets printed by code that
> tests exception handling & reporting, so is not actually an error.
>
> The second error is a bug in the test. I fixed it but there are a few
> more errors after that which I need to work through.
Is it already in the CVS?
--
regards, tf@xxxxxxxxxxxxxxxxxxxxxxxxxx (o_
Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1)) (Debian GNU)
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
|