There was a related problem that Sam noticed a while back about how the same set of parameters (if not the same uses) leaked out into his program and the best I came up with was the advice to disable the automatic compilation in DrRacket (in the language dialog's "show details" section).<div>
<br></div><div>Robby<br><br>On Friday, February 1, 2013, Matthew Flatt wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think the issue is that DrRacket sets `use-compiled-file-paths' to<br>
include "compiled/drracket/errortrace", and the installation doesn't<br>
includes compiled files there, so CM tries to add them.<br>
<br>
In other words, there's a collision between your use of CM via<br>
`managed-compiled-zo' and a use already in place for the load handler.<br>
You can work around the problem by setting `use-compiled-path-paths'<br>
back to just `(list "compiled")'.<br>
<br>
Meanwhile, I'm not sure which part of the system to blame. I think the<br>
pile of parameters and callbacks isn't right, since DrRacket interferes<br>
with your program, but I don't immediately see how to fix it.<br>
<br>
At Wed, 30 Jan 2013 18:15:48 +0100, "Jos Koot" wrote:<br>
> When compiling with managed-compile-zo, manager-compile-notify-handler and<br>
> manager-trace-handler, I see that parts of the racket directory are<br>
> (re)compiled, for example:<br>
><br>
> TRACE: compiling: C:\Program Files<br>
> (x86)\Racket-Full-5.3.1.10\collects\racket\private\small-scheme.rkt<br>
><br>
> Thìs even happens again when compiling again without modifying anything. Is<br>
> this expected behaviour?<br>
><br>
> I do this with Window 7 Home Premium. Another odd thing is that sometimes<br>
> after installing new nightly build, DrRacket does not have all required<br>
> permissions in its collects directory. I sometimes have to grant these<br>
> permissions via the properties of the directory.<br>
><br>
> Thanks Jos.<br>
><br>
> PS<br>
> I compile from DrRacket with the following:<br>
><br>
> #lang racket<br>
> (require compiler/cm)<br>
> (manager-compile-notify-handler (λ (str) (printf "NOTIFY: ~a~n~n" str)))<br>
> (manager-trace-handler (λ (str) (printf "TRACE: ~a~n~n" str)))<br>
> (managed-compile-zo "my-program.rkt")<br>
> (managed-compile-zo "my-other-program.rkt")<br>
> etc.<br>
><br>
> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<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>