[racket-dev] Fwd: GUI executables created with DrRacket fail

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Wed Feb 12 14:50:28 EST 2014

Neil,

Would it make sense to add a test that makes an executable and runs it. I'm
not sure if that could be added to any automated test scripts though.

Doug

---------- Forwarded message ----------
From: Matthew Flatt <mflatt at cs.utah.edu>
Date: Tue, Feb 11, 2014 at 10:26 AM
Subject: Re: [racket-dev] GUI executables created with DrRacket fail
To: Doug Williams <m.douglas.williams at gmail.com>
Cc: "dev at racket-lang.org" <dev at racket-lang.org>


The problem was due to changes in `scribble/manual` that didn't
preserve a delay on finding files in the "scribble" collection.
Scribble is referenced by `plot` in a way that needs `scribble/manual`
to work in an executable, and your program uses `plot`.

I've pushed a repair to Scribble.

At Sun, 2 Feb 2014 16:36:50 -0700, Doug Williams wrote:
> The animation program I sent out a bit ago, and attached here, runs fine
> under DrRacket but when I create an executable (using either raco or
> DrRacket) and try to run it, it fails with the following:
>
> collection-file-path: collection not found
>   collection: "scribble"
>   in collection directories:
>   context...:
>    c:\program files\racket\collects\racket\private\pre-base.rkt:115:58:
fail
>    define-on-demand-bound-promise
>    c:\program files\racket\collects\racket\private\promise.rkt:104:10
>    c:\program files\racket\collects\racket\private\more-scheme.rkt:264:2:
> call-w
> ith-exception-handler
>    c:\program files\racket\collects\racket\private\promise.rkt:96:0:
> force/gener
> ic
>    define-on-demand-bound-promise
>    c:\program files\racket\collects\racket\private\promise.rkt:104:10
>    c:\program files\racket\collects\racket\private\more-scheme.rkt:264:2:
> call-w
> ith-exception-handler
>    c:\program files\racket\collects\racket\private\promise.rkt:96:0:
> force/gener
> ic
>    #%embedded:g4484:manual-scheme: [running body]
>    #%embedded:g3956:manual: [traversing imports]
>    #%embedded:g3927:defthing: [traversing imports]
>    #%embedded:g3903:parameters: [traversing imports]
>    #%embedded:g3891:parameters: [traversing imports]
>    #%embedded:g3874:no-gui: [traversing imports]
>    #%embedded:g3848:main: [traversing imports]...
>
> This happens under 5.92 and 5.93.
>
> Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20140212/b41e72a5/attachment.html>

Posted on the dev mailing list.