[plt-scheme] Error using sandbox

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Mar 23 22:31:49 EDT 2008

On Mar 23, Noel Welsh wrote:
> Hi,
> I'm trying to use the sandbox to document some code.  I have the
> following in my Scribble document:
> @(require scheme/sandbox)
> @(define schemeunit-eval
>     (make-evaluator 'scheme/base
>                     #:requires '(planet "test.ss" ("schematics"
> "schemeunit.plt" 3 0))))
> I then get this error:
>  [Running /Users/noel/programming/planet/schematics/schemeunit.plt/3/0/doc/schemeunit.scrbl]
> get-module-code: cannot use extension file;
> #<path:/usr/local/plt/collects/planet/compiled/native/i386-macosx/3m/main_ss.dylib>

Perhaps it's a problem with `get-module-code'?  I also tried to
`enter!' the same module and that fails too.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.