<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Sep 8, 2013 at 4:06 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The problem seems to be that "<a href="http://pkg.racket-lang.org" target="_blank">pkg.racket-lang.org</a>" has recoreded a<br>
checksum of "" for your package.<br></blockquote><div><br></div><div>Indeed!<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
We'll have to investigate more how things got into a bad state (and<br>
change `raco pkg install` to deal with it in a better way), but if you<br>
go to "Manage Your Packages" at "<a href="http://pkg.racket-lang.org" target="_blank">pkg.racket-lang.org</a>" and click "Update<br>
checksums", does it fix the checksum?<br></blockquote><div><br></div><div>No it does not.<br></div><div>I just tried to create a second package "script-plugin-test" with the same url, but no checksum either.<br>
<br></div><div>Tried with:<br>github://<a href="http://github.com/Metaxal/script-plugin/master/">github.com/Metaxal/script-plugin/master/</a><br><br></div><div>But this failed too.<br>Then tried with<br>github://<a href="http://github.com/Metaxal/script-plugin/">github.com/Metaxal/script-plugin/</a><br>
<br></div><div>and it worked.<br></div><div>(I have now removed the test packages.)<br></div><div><br></div><div>Maybe adding a "check url" button can help?<br><br></div><div>Laurent<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div class="h5"><br>
At Sun, 8 Sep 2013 14:09:07 +0200, Laurent wrote:<br>
> Hi,<br>
><br>
> (using this morning's racket build)<br>
> I've just uploaded a package to pkg, but when I try to install it for<br>
> testing I get the following error:<br>
><br>
> % raco pkg install script-plugin<br>
> Resolving "script-plugin" via <a href="https://pkg.racket-lang.org" target="_blank">https://pkg.racket-lang.org</a><br>
> Downloading <a href="https://github.com/Metaxal/script-plugin/tarball/" target="_blank">https://github.com/Metaxal/script-plugin/tarball/</a><br>
> =: contract violation<br>
> expected: number?<br>
> given: #<eof><br>
> argument position: 1st<br>
> other arguments...:<br>
> 31<br>
><br>
> However, when I install it directly from github, with the exact same<br>
> source, it works:<br>
><br>
> % raco pkg install github://<a href="http://github.com/Metaxal/script-plugin/v2.18/" target="_blank">github.com/Metaxal/script-plugin/v2.18/</a><br>
> Querying GitHub branches<br>
> Querying GitHub tags<br>
> Downloading<br>
> <a href="https://github.com/Metaxal/script-plugin/tarball/d1691f01bbe3b72f4b79aef40b6a3d" target="_blank">https://github.com/Metaxal/script-plugin/tarball/d1691f01bbe3b72f4b79aef40b6a3d</a><br>
> b9f0ce061e<br>
> raco setup: version: 5.90.0.9 [3m]<br>
> [...]<br>
><br>
> Am I doing something wrong?<br>
><br>
> Laurent<br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div></div>