You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by jiBeya <an...@jibeya.com> on 2005/06/30 14:49:40 UTC
Zip problems
Hi,
I am currently using Cocoon 2.1.7 on OS X 10.4.1 and am having a
problem with zip archives not decompressing. I never experienced this
problem when using OS X 10.3.9/Cocoon 2.1.5 and the code has been
unchanged!
I receive the following error message:
'An error has occurred while expanding the file
"yourOrder.zip" (Unexpected end of file)'.
The code I am using is as follows (zip.jx):
<?xml version="1.0"?>
<zip:archive
xmlns:zip="http://apache.org/cocoon/zip-archive/1.0"
xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
>
<zip:entry name="legalnote.rtf" src="downloads/legalnote.rtf"/>
<zip:entry name="Borderline.mp3" src="downloads/Borderline.mp3"/>
</zip:archive>
The problem lays with the mp3 entry. If I remove that line of code
then the zip file is uncompressed successfully. What is the issue
here? What encryption method is used by cocoon to zip files??
regards
Re: Zip problems
Posted by andrew <an...@jibeya.com>.
Is anyone successfully using zip on OS X 10.4.1
to zip files 1 - 7 meg and above?
The zip process seems to break when trying
to zip large files
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Zip problems
Posted by andrew <an...@jibeya.com>.
On further investigation using a different
decompression program for OS X, OpenUp,
I get the following error message:
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of
/Users/mydirectory/Desktop/yourOrder.zip or
/Users/mydirectory/Desktop/yourOrder.zip.zip,
and cannot find /Users/mydirectory/Desktop/yourOrder.zip.ZIP
, period.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Zip problems
Posted by andrew <an...@jibeya.com>.
I have registered it as a bug:
http://issues.eu.apache.org/bugzilla/show_bug.cgi?id=35566
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Zip problems
Posted by Stavros Kounis <sk...@gmail.com>.
i know that an entry about zip exist in bugzilla [1]. but i can not
say if it is releated with your problem or not
[1] http://issues.eu.apache.org/bugzilla/show_bug.cgi?id=29365
On 6/30/05, andrew <an...@jibeya.com> wrote:
> Any ideas anyone?
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Stavros S. Kounis
Osmosis networks & consulting http://www.osmosis.gr
Read my weblog at http://tools.osmosis.gr/blog
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Zip problems
Posted by andrew <an...@jibeya.com>.
Any ideas anyone?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Zip problems
Posted by jiBeya <an...@jibeya.com>.
Hi,
if I access the file directly i.e.:
www.mysite.com/downloads/borderline.mp3
the file plays with no problem at all. Could it be that the files are
being corrupted during the zip process?
regards
On 30 Jun 2005, at 14:10, Geert Josten wrote:
> What happens if you access the download uri's directly?
Re: Zip problems
Posted by andrew <an...@jibeya.com>.
Hi,
if I access the file directly i.e.:
www.mysite.com/downloads/borderline.mp3
the file plays with no problem at all.
Could it be that the files are being corrupted during the zip process?
regards
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Zip problems
Posted by Geert Josten <Ge...@daidalos.nl>.
What happens if you access the download uri's directly?
Cheers,
Geert
jiBeya wrote:
> Hi,
> I am currently using Cocoon 2.1.7 on OS X 10.4.1 and am having a problem
> with zip archives not decompressing. I never experienced this problem
> when using OS X 10.3.9/Cocoon 2.1.5 and the code has been unchanged!
>
> I receive the following error message:
>
> '*An error has occurred while expanding the file "yourOrder.zip"
> (Unexpected end of file)*'.
>
> The code I am using is as follows (zip.jx):
>
> <?xml version="1.0"?>
>
> <zip:archive
> xmlns:zip="http://apache.org/cocoon/zip-archive/1.0"
> xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
> >
> <zip:entry name="legalnote.rtf" src="downloads/legalnote.rtf"/>
> <zip:entry name="Borderline.mp3" src="downloads/Borderline.mp3"/>
> </zip:archive>
>
> The problem lays with the mp3 entry. If I remove that line of code then
> the zip file is uncompressed successfully. What is the issue here? What
> encryption method is used by cocoon to zip files??
>
> regards
>
>
--
Geert.Josten@Daidalos.nl
IT-consultant at Daidalos BV, Bleiswijk (NL)
http://www.daidalos.nl/
tel:+31-(0)10-850 12 00
fax:+31-(0)10-850 11 99
GPG: 1024D/12DEBB50
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Zip problems
Posted by andrew <an...@jibeya.com>.
The zip process is having problems with *.mp3/m4a file formats. Why?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org