Stack overflow on hackage upload

Duncan Coutts 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-1.1.6.2.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-1.1.6.2/cabal.cabal from cabal-1.1.6.2.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.

Duncan



More information about the cabal-devel mailing list