[racket] Pkg install error
On Sun, Sep 8, 2013 at 4:06 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> The problem seems to be that "pkg.racket-lang.org" has recoreded a
> checksum of "" for your package.
>
Indeed!
> We'll have to investigate more how things got into a bad state (and
> change `raco pkg install` to deal with it in a better way), but if you
> go to "Manage Your Packages" at "pkg.racket-lang.org" and click "Update
> checksums", does it fix the checksum?
>
No it does not.
I just tried to create a second package "script-plugin-test" with the same
url, but no checksum either.
Tried with:
github://github.com/Metaxal/script-plugin/master/
But this failed too.
Then tried with
github://github.com/Metaxal/script-plugin/
and it worked.
(I have now removed the test packages.)
Maybe adding a "check url" button can help?
Laurent
>
> At Sun, 8 Sep 2013 14:09:07 +0200, Laurent 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/
> > =: 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/d1691f01bbe3b72f4b79aef40b6a3d
> > b9f0ce061e
> > raco setup: version: 5.90.0.9 [3m]
> > [...]
> >
> > Am I doing something wrong?
> >
> > Laurent
> > ____________________
> > Racket Users list:
> > http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130908/2f57a325/attachment.html>