[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Zip problems (Re: (no subject))
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-11-19 21:28:31
[Download RAW message or body]

I suppose that the problem is over now. Look at the revision 1.20 of the file 
kdelibs/kio/kio/kzip.cpp.

OpenOffice uses a variant of the ZIP format that KZip could not read. (However 
this variant is an official one and supported by PKUNZIP.)

Have a nice day/evening/night!

On Tuesday 19 November 2002 17:22, Holger Schroeder wrote:
> Hi,
>
> could you mail me a .sxw file, which does not work for you?
> then i will look into the problem.
>
> Holger
>
> On Thu, 14 Nov 2002, ismail donmez wrote:
> > > Yeah I can reproduce it too, now, with a .sxw file.
> > > The bug is in Holger Schröder's last commit to
> > > kzip.cpp (which was a rather
> > > big change). I'm trying to debug it, but it's a bit
> > > hard, without knowing the ZIP
> > > file format at all.
> > >
> > > $ ./kziptest list /k/mytext.sxw
> > > Read from offset : 0
> > > P
> > > K
> > > \x03
> > > \x04
> > > compressed file size=0    (looks wrong!)
> > > filenamelength=11         (which is ok for
> > > "contents.xml")
> > > extra field length=0
> > > skip=11
> > > dev->at()=41
> > > offset=41
> > > Read from offset : 41
> > > \xad
> > > V
> > > \xdb
> > > n
> > > KZip: WARNING: Invalid ZIP file. Unrecognized header
> > > at offset 41
> > >
> > > I tried changing the offset where the compressed
> > > file size is read, but I get 0
> > > in all cases....
> > >
> > > But unzip manages to find the data....
> > >  Length   Method    Size  Ratio   Date   Time
> > > CRC-32    Name
> > > - --------  ------  ------- -----   ----   ----
> > > ------    ----
> > >     2593  Defl:N      895  66%  03-06-02 19:12
> > > 29e00009  content.xml
> > > [...]
> > >
> > > Strange, I can't find 2593 nor 895 with khexedit
> > > (??)
> > > Holger - help!
> > >
> > > - --
> > > David FAURE, david@mandrakesoft.com, faure@kde.org
> > > http://people.mandrakesoft.com/~david/
> > > Contributing to: http://www.konqueror.org/,
> > > http://www.koffice.org/
> > > Get the latest KOffice -
> > > http://download.kde.org/stable/koffice-1.2/
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.0.7 (GNU/Linux)
> >
> > Ok We found our guy :-)
> >
> > Nice work David btw let me thank all Koffice crew for
> > the excellent software too :)
> >
> > =====
> > Microsoft Windows: made for the internet
> > The Internet: made for UNIX
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
> > http://webhosting.yahoo.com
> > _______________________________________________
> > koffice-devel mailing list
> > koffice-devel@mail.kde.org
> > http://mail.kde.org/mailman/listinfo/koffice-devel
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic