<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">&lt;<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>&gt;</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 &quot;<a href="http://pkg.racket-lang.org" target="_blank">pkg.racket-lang.org</a>&quot; has recoreded a<br>


checksum of &quot;&quot; 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&#39;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 &quot;Manage Your Packages&quot; at &quot;<a href="http://pkg.racket-lang.org" target="_blank">pkg.racket-lang.org</a>&quot; and click &quot;Update<br>
checksums&quot;, 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 &quot;script-plugin-test&quot; 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 &quot;check url&quot; 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>
&gt; Hi,<br>
&gt;<br>
&gt; (using this morning&#39;s racket build)<br>
&gt; I&#39;ve just uploaded a package to pkg, but when I try to install it for<br>
&gt; testing I get the following error:<br>
&gt;<br>
&gt; % raco pkg install script-plugin<br>
&gt; Resolving &quot;script-plugin&quot; via <a href="https://pkg.racket-lang.org" target="_blank">https://pkg.racket-lang.org</a><br>
&gt; Downloading <a href="https://github.com/Metaxal/script-plugin/tarball/" target="_blank">https://github.com/Metaxal/script-plugin/tarball/</a><br>
&gt; =: contract violation<br>
&gt;   expected: number?<br>
&gt;   given: #&lt;eof&gt;<br>
&gt;   argument position: 1st<br>
&gt;   other arguments...:<br>
&gt;    31<br>
&gt;<br>
&gt; However, when I install it directly from github, with the exact same<br>
&gt; source, it works:<br>
&gt;<br>
&gt; % 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>
&gt; Querying GitHub branches<br>
&gt; Querying GitHub tags<br>
&gt; Downloading<br>
&gt; <a href="https://github.com/Metaxal/script-plugin/tarball/d1691f01bbe3b72f4b79aef40b6a3d" target="_blank">https://github.com/Metaxal/script-plugin/tarball/d1691f01bbe3b72f4b79aef40b6a3d</a><br>
&gt; b9f0ce061e<br>
&gt; raco setup: version: 5.90.0.9 [3m]<br>
&gt; [...]<br>
&gt;<br>
&gt; Am I doing something wrong?<br>
&gt;<br>
&gt; Laurent<br>
</div></div>&gt; ____________________<br>
&gt;   Racket Users list:<br>
&gt;   <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div></div>