[plt-scheme] sandbox + scheme/enter

From: Tom Schouten (tom at zzz.kotnet.org)
Date: Thu Feb 21 14:37:57 EST 2008

hello again,

in mzscheme from
http://pre.plt-scheme.org/installers/plt-3.99.0.13-bin-i386-linux-ubuntu.sh
trying to combine scheme/enter with sandbox i ran into the following problem:

/tmp/entertest.ss contains:

  #lang scheme/base
  (require scheme/sandbox)

which gives the following error when loaded with enter!:

tom at zzz:~$ mzscheme
Welcome to MzScheme v3.99.0.13 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
> (enter! (file "/tmp/entertest.ss"))
 [loading /tmp/entertest.ss]
 [loading /usr/local/plt-3.99.0.13/collects/scheme/base/lang/compiled/reader_ss.zo]
 [loading /usr/local/plt-3.99.0.13/collects/syntax/compiled/module-reader_ss.zo]
 [loading /usr/local/plt-3.99.0.13/collects/scheme/compiled/sandbox_ss.zo]
 [loading /usr/local/plt-3.99.0.13/collects/syntax/compiled/moddep_ss.zo]
 [loading /usr/local/plt-3.99.0.13/collects/scheme/gui/compiled/dynamic_ss.zo]
module-path-index-resolve: expects argument of type <module-path-index>; given (0 
#<module-path-index> #<module-path-index>)

 === context ===
/usr/local/plt-3.99.0.13/collects/scheme/enter.ss:88:4: loop
/usr/local/plt-3.99.0.13/collects/scheme/enter.ss:88:4: loop
/usr/local/plt-3.99.0.13/collects/scheme/private/misc.ss:63:7


i ran into a similar error when trying to use enter! inside an evaluator 
made with make-evaluator from (lib "sandbox.ss")

cheers,
tom



Posted on the users mailing list.