<div dir="ltr">Okay, I've made a first attempt on two changes aimed at fixing these problems.<div><br></div><div>1) change the "image.rkt" to "htdp/image.rkt" and "2htdp/image.rkt" so there are no names that are exactly the same</div>
<div><br></div><div>2) have the teachpack dialog be sensitive to the already installed teachpacks and give a warning when a new one would conflict with an old.</div><div><br></div><div>Here's a screenshot:</div><div><br>
</div><div> <a href="http://oi40.tinypic.com/v4b9l4.jpg">http://oi40.tinypic.com/v4b9l4.jpg</a><br></div><div><br></div><div>showing what I imagine happening when you click on the 2htdp/image.rkt teachpack when you have the htdp/image.rkt one already installed.</div>
<div><br></div><div>(I would have pushed this already, but there are a few GUI niceties that I want to do before pushing.)</div><div><br></div><div>I'm slightly worried about 1) because there may be course notes out there that tell people "choose the image.rkt teachpack in the left column" that would have to be changed and thus would annoy instructors. Your opinions on this point welcome.</div>
<div><br></div><div>Robby</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 8, 2013 at 2:34 PM, Elena Machkasova <span dir="ltr"><<a href="mailto:elenam@morris.umn.edu" target="_blank">elenam@morris.umn.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Thanks, Robby and Marco! <br>
<br>
Yes, such things may be difficult to change - that's totally
understandable! I think a significant part of the confusion is
that these teachpacks are listed under "Pre-installed" which seems
to mean that they are already there when DrRacket is installed,
and that there are two teachpacks with the same name. Perhaps
using wording other than "pre-installed" and renaming one of the
taechpacks (if possible; I know that sometimes there are
dependencies that make it very difficult) would help. <br>
<br>
I posted a detailed clarification for my students, and hopefully
they are all set. <br>
<br>
And I generally don't ask them to remove teachpacks either, but
once they've added the wrong one (and many of them added both),
it's easier at this point to just clear all and add it again than
to make sure that they remove the one they should. <br>
<br>
Thanks!<span class="HOEnZb"><font color="#888888"><br>
<br>
Elena</font></span><div><div class="h5"><br>
<br>
On 9/6/2013 9:49 PM, Robby Findler wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Unfortunately, this is the way things work. Those
are actually two different teachpacks and the error message that
you are getting is a poorly worded "these two teachpacks
conflict with each other".
<div>
<br>
</div>
<div>Is there perhaps some other behavior you'd prefer?</div>
<div><br>
</div>
<div>And, I should also point that even if we do find some fix,
there is little chance that our release schedule can be
adjusted to respond to your lab installation schedule, I'm
sorry to say.</div>
<div><br>
</div>
<div>Robby</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Sep 6, 2013 at 9:29 PM, Elena
Machkasova <span dir="ltr"><<a href="mailto:elenam@morris.umn.edu" target="_blank">elenam@morris.umn.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good
evening,<br>
<br>
this may've come up before, but I looked through the last
few messages and did a bit of searching, and couldn't find
anything about this problem. My apologies if this is already
a known issue.<br>
<br>
When DrRacket is installed, it comes with 3 pre-installed
teachpacks, including image.rkt. However, image functions
(rotate, square, etc) are undefined. Installing the
teachpack from the middle column in the "add teachpack" list
fixes the issue.<br>
<br>
However, if the user then tries to add the teachpack and
happens to click on it in the first column, they get an
error message "module: identifier already imported from a
different source". The solution that seems to work then is
to clear both teachpacks and then install the one in the
middle column.<br>
<br>
This behavior takes place for both Racket 5.3.4 and 5.3.6,
for Windows and Linux (Fedora 18). I don't know if it's
happening on a Mac as well.<br>
<br>
If there is a plan to fix it in the next release, could you
let me know? We might wait a couple of weeks to upgrade our
lab to 5.3.6 is we can get an upgrade with this issue fixed.<br>
<br>
Many thanks!<br>
<br>
Elena<br>
University of Minnesota, Morris<br>
<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>
<br>
</div>
</blockquote>
<br>
</div></div></div>
<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></blockquote></div><br></div>