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

2014-02-12 Thread Doug Williams
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 mfl...@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.willi...@gmail.com
Cc: dev@racket-lang.org dev@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?
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


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

2014-02-12 Thread Matthew Flatt
I added a test for `scribble/manual` (which was the part that went
wrong), but not specifically for `plot`.

At Wed, 12 Feb 2014 12:50:28 -0700, Doug Williams wrote:
 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 mfl...@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.willi...@gmail.com
 Cc: dev@racket-lang.org dev@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?
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev
_
  Racket Developers list:
  http://lists.racket-lang.org/dev