[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
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-]
 [loading /usr/local/plt-]
 [loading /usr/local/plt-]
 [loading /usr/local/plt-]
 [loading /usr/local/plt-]
module-path-index-resolve: expects argument of type <module-path-index>; given (0 
#<module-path-index> #<module-path-index>)

 === context ===
/usr/local/plt- loop
/usr/local/plt- loop

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


Posted on the users mailing list.