[racket] many permissions & other problems using packages in 5.3.6... workarounds?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat Oct 12 20:36:59 EDT 2013

On Sat, Oct 12, 2013 at 7:01 PM, Jay McCarthy <jay.mccarthy at gmail.com>wrote:

> On Sat, Oct 12, 2013 at 3:02 PM, John Clements
> <clements at brinckerhoff.org> wrote:
> > My students are using 5.3.6 with packages... in particular, with the
> rsound
> > package, that depends on the portaudio package. They've had a wide
> variety
> > of problems; I'm hoping that these are fixed in 5.90, but short of
> telling
> > my whole class to install a pre-release version, I'm not sure how to test
> > that, so I'm just going to list them, and maybe y'all can tell me they've
> > been fixed.
> >
> > 1) The most pervasive problem is one of permissions on Windows, where an
> > update gets jammed because DrR can't delete the existing directory. This
> > seems to happen pretty much every time a windows user updates. Nearly
> all of
> > my students now know how to navigate to AppData/Roaming/Racket to delete
> > these directories.
>
> I don't know what this means.
>
>
The Windows filesystem has an unfortunate property that deleting files can
signal permissions errors when someone else has the file open, IIUC. This
also generalizes to deleting directories when someone else still has a file
in the directory open.

>From what John says, I imagine you'd be able to reproduce this pretty
easily by firing up a windows vm and updating something (perhaps when it
depends on something else).

John: do you have a stacktrace for those errors, by chance?

>> 3) There's a "just plain bug" where installing the depending package
>> (rsound) without installing the depended-on package asks "do you want to
>> install the depended-on package" (paraphrased)... but takes its stdin
from a
>> port that's already closed, so the install window goes into a busy loop
of
>> #<EOF>-ing that requires a very forceful quit.
>
> It should be using the --deps=auto where there is no question asked at
> all. Matthew, do you know how the GUI calls install? But also, I can
> fix this problem.

The GUI tells you how it calls install when you click on the "show details"
button.

It does "--deps search-auto" by default, I believe.

Robby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131012/a2c36a3d/attachment.html>

Posted on the users mailing list.