Skip Menu |
 

This queue is for tickets about the OpenOffice-OODoc CPAN distribution.

Report information
The Basics
Id: 93725
Status: open
Priority: 0/
Queue: OpenOffice-OODoc

People
Owner: Nobody in particular
Requestors: M.Traxler [...] gsi.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: can't handle .odt files generated by libreoffice
Date: Mon, 10 Mar 2014 23:22:37 +0100 (CET)
To: bug-OpenOffice-OODoc [...] rt.cpan.org
From: Michael Traxler <M.Traxler [...] gsi.de>
Download (untitled) / with headers
text/plain 837b
Hi, I have the following basic problem: I start Version: 4.1.5.3 Build-ID: 410m0(Build:3) and type 3 lines in a text-document and save the file as test.odt (attached). Now I want to highlight the characters "cd" in the text. So I start odfhighlight and get the following outout. % odfhighlight test.odt cd format error: CRC or size mismatch while skipping data descriptor at /usr/lib/perl5/site_perl/5.18.1/OpenOffice/OODoc/XPath.pm line 700. format error: can't find EOCD signature at /usr/bin/odfhighlight line 163. [OpenOffice::OODoc::File::save] Archive I/O error This error also occurs with files generated by libreoffice Version 3.6:build-304 (Build ID: 360m1(Build:304)) If I take the generated odftest.odt from oodoc_test I can use the odfhighlight without problems. Any idea what goes wrong here? Thanks, Michael
Download test.odt
application/vnd.oasis.opendocument.text 8.7k

Message body not shown because it is not plain text.

Sorry, but I can't reproduce the issue.

I ran "odfhighlight test.odt cd" on my own PC with your "test.odt" file and all is OK.

Then I tried the same command with a new "test.odt" file, created using LibreOffice 4.2.1, and again everything is right.

Your error message means that odfhighlight fails at the very end, when it tries to write the changed document back to the disk. Maybe a low-level file system error ?

However, I've Perl 5.14 and Archive::Zip 1.30. I can presently afford to set up a test with your exact config (Perl 5.18, etc). May I suggest you to run your test with another machine ?

???

Le 2014-03-10 18:22:55, M.Traxler@gsi.de a écrit :
Show quoted text
> Hi,
>
> I have the following basic problem:
>
> I start Version: 4.1.5.3 Build-ID: 410m0(Build:3) and type 3 lines in
> a
> text-document and save the file as test.odt (attached).
>
> Now I want to highlight the characters "cd" in the text.
> So I start odfhighlight and get the following outout.
>
> % odfhighlight test.odt cd
> format error: CRC or size mismatch while skipping data descriptor
> at /usr/lib/perl5/site_perl/5.18.1/OpenOffice/OODoc/XPath.pm line 700.
> format error: can't find EOCD signature
> at /usr/bin/odfhighlight line 163.
> [OpenOffice::OODoc::File::save] Archive I/O error
>
> This error also occurs with files generated by libreoffice
> Version 3.6:build-304 (Build ID: 360m1(Build:304))
>
> If I take the generated odftest.odt from oodoc_test I can use the
> odfhighlight
> without problems.
>
> Any idea what goes wrong here?
>
> Thanks,
>
> Michael


Ooops, I want to say "I can't presently afford to set up a test with your exact config"
Not "I can" !

Le 2014-03-11 05:36:01, JMGDOC a écrit :
Show quoted text
> Sorry, but I can't reproduce the issue.
>
> I ran "odfhighlight test.odt cd" on my own PC with your "test.odt"
> file and all
> is OK.
>
> Then I tried the same command with a new "test.odt" file, created
> using
> LibreOffice 4.2.1, and again everything is right.
>
> Your error message means that odfhighlight fails at the very end, when
> it tries
> to write the changed document back to the disk. Maybe a low-level file
> system
> error ?
>
> However, I've Perl 5.14 and Archive::Zip 1.30. I can presently afford
> to set up
> a test with your exact config (Perl 5.18, etc). May I suggest you to
> run your
> test with another machine ?
>
> ???
>
> Le 2014-03-10 18:22:55, M.Traxler@gsi.de a écrit :
> > Hi,
> >
> > I have the following basic problem:
> >
> > I start Version: 4.1.5.3 Build-ID: 410m0(Build:3) and type 3 lines in
> > a
> > text-document and save the file as test.odt (attached).
> >
> > Now I want to highlight the characters "cd" in the text.
> > So I start odfhighlight and get the following outout.
> >
> > % odfhighlight test.odt cd
> > format error: CRC or size mismatch while skipping data descriptor
> > at /usr/lib/perl5/site_perl/5.18.1/OpenOffice/OODoc/XPath.pm line
> > 700.
> > format error: can't find EOCD signature
> > at /usr/bin/odfhighlight line 163.
> > [OpenOffice::OODoc::File::save] Archive I/O error
> >
> > This error also occurs with files generated by libreoffice
> > Version 3.6:build-304 (Build ID: 360m1(Build:304))
> >
> > If I take the generated odftest.odt from oodoc_test I can use the
> > odfhighlight
> > without problems.
> >
> > Any idea what goes wrong here?
> >
> > Thanks,
> >
> > Michael


Subject: Re: [rt.cpan.org #93725] can't handle .odt files generated by libreoffice
Date: Tue, 11 Mar 2014 23:08:13 +0100 (CET)
To: Jean-Marie Gouarné via RT <bug-OpenOffice-OODoc [...] rt.cpan.org>
From: Michael Traxler <M.Traxler [...] gsi.de>
Download (untitled) / with headers
text/plain 2.7k
Hi, thanks for the fast answer.... By the way: Your OODoc-software is great! It enables me to do really complicated things in an very efficient way (perl + libreoffice)! The error: I tried the combination: - perl v5.16.2 - OpenOffice-OODoc-2.125 - perl-Archive-Zip-1.37-46.1 The same error. Then I changed the Archive::Zip version to perl-Archive-Zip-1.30-22.1.1 then everything is fine with the libre-office generated file. Also with perl-v5.18.1. But I want to remind you: When I use oodoc_test to generate a .odt-file it works with the new Archive::Zip. So, is this a bug in Archive::Zip? Thanks a lot, Michael --------------------------------------- On Tue, 11 Mar 2014, Jean-Marie Gouarné via RT wrote: Show quoted text
> Date: Tue, 11 Mar 2014 05:44:28 -0400 > From: Jean-Marie Gouarné via RT <bug-OpenOffice-OODoc@rt.cpan.org> > To: M.Traxler@gsi.de > Subject: [rt.cpan.org #93725] can't handle .odt files generated by libreoffice > > <URL: https://rt.cpan.org/Ticket/Display.html?id=93725 > > > Ooops, I want to say "I can't presently afford to set up a test with your exact > config" > Not "I can" ! > > Le 2014-03-11 05:36:01, JMGDOC a écrit :
>> Sorry, but I can't reproduce the issue. >> >> I ran "odfhighlight test.odt cd" on my own PC with your "test.odt" >> file and all >> is OK. >> >> Then I tried the same command with a new "test.odt" file, created >> using >> LibreOffice 4.2.1, and again everything is right. >> >> Your error message means that odfhighlight fails at the very end, when >> it tries >> to write the changed document back to the disk. Maybe a low-level file >> system >> error ? >> >> However, I've Perl 5.14 and Archive::Zip 1.30. I can presently afford >> to set up >> a test with your exact config (Perl 5.18, etc). May I suggest you to >> run your >> test with another machine ? >> >> ??? >> >> Le 2014-03-10 18:22:55, M.Traxler@gsi.de a écrit :
>>> Hi, >>> >>> I have the following basic problem: >>> >>> I start Version: 4.1.5.3 Build-ID: 410m0(Build:3) and type 3 lines in >>> a >>> text-document and save the file as test.odt (attached). >>> >>> Now I want to highlight the characters "cd" in the text. >>> So I start odfhighlight and get the following outout. >>> >>> % odfhighlight test.odt cd >>> format error: CRC or size mismatch while skipping data descriptor >>> at /usr/lib/perl5/site_perl/5.18.1/OpenOffice/OODoc/XPath.pm line >>> 700. >>> format error: can't find EOCD signature >>> at /usr/bin/odfhighlight line 163. >>> [OpenOffice::OODoc::File::save] Archive I/O error >>> >>> This error also occurs with files generated by libreoffice >>> Version 3.6:build-304 (Build ID: 360m1(Build:304)) >>> >>> If I take the generated odftest.odt from oodoc_test I can use the >>> odfhighlight >>> without problems. >>> >>> Any idea what goes wrong here? >>> >>> Thanks, >>> >>> Michael
>
Subject: [rt.cpan.org #93725]
Date: Mon, 24 Mar 2014 11:43:02 +0100
To: bug-OpenOffice-OODoc [...] rt.cpan.org
From: Alméras Yannick <yalmeras [...] free.fr>
Download (untitled) / with headers
text/plain 148b
Hello ! I have the same issue... and if I revert to perl-Archive-Zip-1.30, the problem disappears (thanks to Michael !). Yannick (on arch linux)
Subject: [rt.cpan.org #93725] can't handle .odt files generated by libreoffice
Date: Wed, 30 Apr 2014 00:31:27 +0300
To: bug-OpenOffice-OODoc [...] rt.cpan.org
From: Stephen McGregor <lists [...] stephen-mcgregor.com>
Download (untitled) / with headers
text/plain 188b
exactly the same problem here, exactly the same solution. version 1.37 crashes the document generation process (with the OODoc modules) version 1.30 works fine. version 1.37 is corrupt
From: info [...] tokon.net
This problem was solved with Archive::Zip 1.40.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.