[racket] Pkg install error

From: Greg Hendershott (greghendershott at gmail.com)
Date: Sun Sep 8 09:55:24 EDT 2013

On Sun, Sep 8, 2013 at 8:09 AM, Laurent <laurent.orseau at gmail.com> wrote:
> Hi,
>
> (using this morning's racket build)
> I've just uploaded a package to pkg, but when I try to install it for
> testing I get the following error:
>
> % raco pkg install script-plugin
> Resolving "script-plugin" via https://pkg.racket-lang.org
> Downloading https://github.com/Metaxal/script-plugin/tarball/

GitHub.com responds 404 not found for that URL, which may account for
the unexpected EOF:

> =: contract violation
>   expected: number?
>   given: #<eof>
>   argument position: 1st
>   other arguments...:
>    31
>
> However, when I install it directly from github, with the exact same source,
> it works:
>
> % raco pkg install github://github.com/Metaxal/script-plugin/v2.18/
> Querying GitHub branches
> Querying GitHub tags
> Downloading
> https://github.com/Metaxal/script-plugin/tarball/d1691f01bbe3b72f4b79aef40b6a3db9f0ce061e

Whereas that URL seems valid. (At least, the browser offers to
download a file when I click it.)


Let me try downloading some older package as an experiment. To find
one, let me visit https://pkg.racket-lang.org/search. Unfortunately
this morning it's not responding. Although I'm not getting a
connection timeout error yet (well over 60 seconds) the circle is
still spinning in the browser.

Posted on the users mailing list.