[racket-dev] make-evaluator fails for honu

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Mon May 7 13:46:02 EDT 2012

I'm trying to evaluate honu programs inside a sandbox but I get an error from `make-evaluator'. Other languages work (racket/base, typed/racket), its only 'honu that fails so I must have set up something incorrectly. Any idea what it could be?

current-directory: `exists' access denied for /home/jon/tmp/

 === context ===
/home/jon/bin/plt/collects/setup/private/main-collects.rkt:19:4: find-main-collects
/home/jon/bin/plt/collects/racket/private/more-scheme.rkt:268:2: call-with-exception-handler

>From this code

#lang at-exp racket/base

(require racket/sandbox)

(define (test input)
  (define honu-eval (make-evaluator 'honu))
  (honu-eval input))

(define input string-append)

(test @input{1})

Posted on the dev mailing list.