As a clarification question: have executables created with old versions stopped working, or is it only executables created with the pre-release version that fail to work?<div><br></div><div>Robby<span></span><br><br>On Sunday, July 15, 2012, Jussi Salmela wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Versions: Win 7 & Racket 5.3.0.13--2012-07-05(467bde3/a)<br>
<br>
I have a program starting like this:<br>
<br>
#lang racket/gui<br>
<br>
(require 2htdp/batch-io)<br>
(require racket/mpair)<br>
(require srfi/13)<br>
<br>
;;; Jussi Salmela, <a href="http://www.saunalahti.fi/jussalme" target="_blank">http://www.saunalahti.fi/jussalme</a><br>
;;;<br>
;;; This program produces graphs for blood pressure monitor (==> bpm)<br>
;;; data. The data (in CSV format) has been downloaded from a<br>
;;; blood pressure measurement device, model OMRON M10-IT.<br>
;;;<br>
<br>
It reads a CSV formatted file containing diastolic and systolic BP values<br>
amongst other data. It creates a GUI window drawing a chart of the d/s<br>
value lines for<br>
every date/line. When a button is clicked in the window the program creates<br>
a PDF file and shows it in Adobe Reader using shell-execute.<br>
<br>
Everything fine and dandy when run in DrRacket but not when I create<br>
an executable. I create the executable with the middle selection ie.<br>
"a standalone exe for this computer". When I run the resulting exe I get:<br>
<br>
standard-module-name-resolver: collection not found<br>
collection: "lang/private"<br>
in collection directories:<br>
context...:<br>
standard-module-name-resolver<br>
#%embedded:g10080:htdp-beginner: [traversing imports]<br>
#%embedded:g10047:prim: [traversing imports]<br>
#%embedded:g9942:batch-io: [traversing imports]<br>
bpm-graph-printer: [traversing imports]<br>
loop<br>
<br>
[Exited. Close box or Ctrl-C closes the console.]<br>
<br>
What follows reminds me of my teaching assistant times looong ago:<br>
people came to see me with their card decks and program listings<br>
claiming that they had not changed anything, the program just had<br>
mysteriously stopped working!<br>
<br>
When subjected to the third degree they admitted to having edited a line or two<br>
and changing the order of a few lines but insisted that surely that can't be<br>
the cause of the changed behavior.<br>
<br>
But I am going to stick to my claim: this used to work earlier and<br>
I have not changed anything. What this means is that I created an<br>
exe in February of 2011 and used it successfully in March, September,<br>
and March 2012 again.<br>
<br>
I don't remember what version of Racket I used and I don't have<br>
it on my computer any more, so I get an error of a missing DLL when<br>
I try to start the old exe.<br>
<br>
I use the read-lines function from batch-io and this trouble<br>
obviously has something to do with that.<br>
<br>
Either my program is incorrect and DrRacket is too kind in not turning me down<br>
when running it or there's something funny going on in the exe creation.<br>
<br>
Jussi<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div>