[plt-dev] Re: [plt-scheme] Planet HTTP 403 errors
Hmm. I suspect that's not it, since requires from planet fail when I'm
running mzscheme from the command line too. To be sure, though, I'll
try DrS from the command line too, and let you all know if it *does*
work.
Thanks for the idea.
Best,
Jordan
On Nov 23, 2009, at 4:31 PM, John Clements <clements at brinckerhoff.org>
wrote:
>
> On Nov 23, 2009, at 3:54 AM, Robby Findler wrote:
>
>> [ moving to plt-dev ]
>>
>> Anyone know of any security features in mac os x (or in his
>> router..!?) that might be defeating this?
>
> Ooh... vague bell ringing. I've reported before on a bug that can
> occur when drs is downloaded using a browser, but then run *only*
> from the command line. Try starting DrScheme by double-clicking on
> the icon, and see whether that signals an interesting error. There's
> a funny check that OS X applies to applications downloaded from the
> internet, and running these applications from the command-line
> sidesteps the "are you sure you want to run this application"
> warning, and it's concievable to me that such applications might not
> be allowed to make telnet connections.
>
> This is all total supposition. I think that to test it I would
> download a fresh version of DrS, start it from the command-line, and
> see whether auto-planet-downloading works.
>
> John
>
>> If it helps, this is what planet's is doing to download the file (run
>> the code in the module language and the url shouldn't have any
>> whitespace in it, just in case my or your email chops up the lines).
>>
>> #lang scheme
>> (require net/url)
>> (call/input-url
>> (string->url
>> "http://planet.plt-scheme.org/servlets/planet-servlet.ss?lang=%224.2.3.2%22&name=%22tiles.plt%22&maj=1&min-lo=14&min-hi=%23f&path=%28%22sbloch%22%29
>> ")
>> get-pure-port
>> (lambda (port)
>> (read-line port)))
>>
>> Robby
>>
>> On Sun, Nov 22, 2009 at 9:58 PM, Jordan Johnson
>> <jmj at fellowhuman.com> wrote:
>>> Hi Robby,
>>>
>>> In Safari it works, though again, in DrScheme (require (planet
>>> sbloch/tiles:1:14)) fails (and so does the old-style require).
>>>
>>> jmj
>>>
>>> On Nov 22, 2009, at 2:54 PM, Robby Findler wrote:
>>>
>>>> jmj, Steve:
>>>>
>>>> What happens if you try to visit the relevant link in your web
>>>> browser? Here's one example url, which I got from the planet
>>>> commandline tool:
>>>>
>>>> % planet url sbloch tiles.plt 1 14
>>>>
>>>> http://planet.plt-scheme.org/servlets/planet-servlet.ss?lang=%224.2.3.2%22&name=%22tiles.plt%22&maj=1&min-lo=14&min-hi=%23f&path=%28%22sbloch%22%29
>>>>
>>>> You should get a few screenfuls of gibberish, starting like this:
>>>>
>>>> H4sIAJF83EoAA+xdbXPTRtf
>>>> +jH7F3mIKNhPZjhNoSELaEt5SoPCQAKWdDs9KWltqJK0qreIY
>>>> hvu33+fsSrJky45tiONQZSaJvS9nz1579jr7Ju3rFydaw6O+aVPSiNg/
>>>> CYsF6VHXSyLWJA2L
>>>>
>>>> Robby
>>>
>>> _________________________________________________
>>> For list-related administrative tasks:
>>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>>
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-dev
>