Stack overflow on hackage upload
duncan.coutts at worc.ox.ac.uk
Fri May 11 07:01:33 EDT 2007
On Fri, 2007-05-11 at 11:39 +0100, Ross Paterson wrote:
> On Fri, May 11, 2007 at 11:05:22AM +0200, Bjorn Bringert wrote:
> > On May 11, 2007, at 1:14 , Ross Paterson wrote:
> > >On Thu, May 10, 2007 at 10:30:17PM +0100, Duncan Coutts wrote:
> > >>I suspect it's a server side limit on the upload size.
> > >
> > >The problem is probably the use of getInputFPS for the uploaded
> > >file -- a lazy bytestring version would be handy.
> > getInputFPS already returns a lazy ByteString, iirc. Besides, even
> > strict bytestrings should work fine with 500k, right?
> Ah yes, getInputFPS works fine with large files. So much for that theory.
> The problem is in the package cabal-184.108.40.206.tar.gz itself: the name of
> the tar file, directory, .cabal file and package must match exactly.
> As the error message says:
> could not extract cabal-220.127.116.11/cabal.cabal from cabal-18.104.22.168.tar.gz
Ah! Getting that error message would have been very handy, rather than a
generic apache 400 error page.
Right, I'll fix it and upload.
Thanks for investigating.
More information about the cabal-devel