[racket-dev] DrRacket PF1 Search Bug?

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Fri Nov 21 09:45:19 EST 2014

On Fri, Nov 21, 2014 at 9:29 AM, Eli Barzilay <eli at barzilay.org> wrote:
> On Fri, Nov 21, 2014 at 8:46 AM, Robby Findler
> <robby at eecs.northwestern.edu> wrote:
>> On Fri, Nov 21, 2014 at 12:34 AM, Eli Barzilay <eli at barzilay.org> wrote:
>>> Not that it matters, but did you try to see if it's the file
>>> permissions?
>>
>> Oh, they are!
>>
>> [...]
>>
>> And that was it!!
>>
>> If I run:
>>
>>   $ xattr -d com.apple.quarantine /Applications/r/doc/search/index.html
>>
>> then osascript works again!
>> [...]
>>
>> ... I don't know the ramifications of just calling "xattr" from inside
>> DrRacket to fix things up. It may be better to just create the file in
>> the user's directory instead.
>
> That (the first thing) sounds like a very bad idea, and one that will
> most likely fail in a case of a non-private machine.  The second is also
> pretty bad since you'd be exluding a central setup in such a situation.
> (Not that I see any reason to have a lab of Macs...)

We have labs of macs here at IU.

> And this is why I said that it's not really relevant -- AFAICT, the fact
> that things are setup in a way that prevents passing queries and
> fragments means that you just have to deal with it rather than try to
> play games with the filesystem.

Could we just write a file with the query embedded in it, and open that?

Sam

Posted on the dev mailing list.