David Storrs
unread,Apr 1, 2021, 3:41:45 PM4/1/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Racket Users
I cargo-culted this chunk of code and, predictably, it is now failing
for reasons I don't understand. This is in the value-evt scribble
file; it works fine when I build the file manually but it's failing in
the package server build:
@(define eval
(call-with-trusted-sandbox-configuration
(lambda ()
(parameterize ([sandbox-output 'string]
[sandbox-error-output 'string]
[sandbox-memory-limit 50])
[make-evaluator #:requires (list "main.rkt") 'racket]))))
Clearly the issue is with 'main.rkt' as opposed to '../main.rkt'. I
had that originally and it worked when I did 'scribble
value-evt.scrbl' while in the scribblings directory but it failed or
misgenerated the files when I was in a different directory or I used
raco setup.
Weirdly, this is being reported as a failing test, which surprised me.
Why is that?
What should I do instead?