I have tracked it down finally to a very stupid error. Some uses of
@examples or @interaction-eval were not given quoted expressions and this
was the problem. It's actually surprising that it works in DrRacket, which
was very misleading.

Deren

On Sun, Aug 23, 2015 at 10:54 PM, Deren Dohoda <deren.doh...@gmail.com>
wrote:

> I have a scribble document with several examples. When I view the scribble
> html output by using DrRacket, all the examples are fine, the output is
> correct, and I see no errors.
>
> Then I go to the directory, use raco pkg install, and I get a major text
> dump which starts with "cannot instantiate 'racket/gui/base' a second time
> in the same process." But I didn't even try to instantiate it the first
> time. There's no use of gui at all in any part of the collection. I only
> create one evaluator for scribble examples:
> @(define this-eval
>    (let ([eval (make-base-eval)])
>      (eval '(begin
>               (require racket/math "main.rkt")))
>      eval))
>
> What could I be doing wrong?
>
> Thanks,
> Deren
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to