Re: Zip on the fly problem

Scott Gifford <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Tue, Jan 12, 2010 at 7:49 AM, Thomas den Braber <[email protected]> wrote:
[ ... ]

> The error is: 'IO error: seeking to rewrite local header : Invalid
> argument'
>

That error means that after writing something to the ZIP archive, it tried
to go backwards to put what it just wrote in the header, but found it
couldn't do that because it's output is going over the network and what's
already sent can't be changed.

A temporary file is certainly one fix, as people here have suggested.  The
fact that it used to work means that it must be possible to generate a ZIP
file without seeking around, so my advice would be to poke around in the
options and see if you find anything useful.

Hope this is at least a little helpful!

----Scott.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.