[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2023-05-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

Justin L  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #15 from Justin L  ---
(In reply to Xisco Faulí from comment #13)
> it seems, after Atilla's work, that the file can be open, 
Agree. Fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2023-04-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

Xisco Faulí  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||5005

--- Comment #14 from Xisco Faulí  ---
(In reply to Xisco Faulí from comment #13)
> (In reply to Justin L from comment #11)
> > I had expected this to be fixed in LO 7.6, where work was done to enable
> > zip64 import and export. However, export64.ods still didn't open - crashed
> > on "do you want to repair this" prompt.
> 
> it seems, after Atilla's work, that the file can be open, However, another
> commit introduced the crash, I'll report it in another ticket

-> bug 155005

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2023-04-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #13 from Xisco Faulí  ---
(In reply to Justin L from comment #11)
> I had expected this to be fixed in LO 7.6, where work was done to enable
> zip64 import and export. However, export64.ods still didn't open - crashed
> on "do you want to repair this" prompt.

it seems, after Atilla's work, that the file can be open, However, another
commit introduced the crash, I'll report it in another ticket

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2023-04-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #12 from Joshua  ---
That's funny. The files are supposed to be differential testing between
ICSharpCode.SharpZipLib in default streaming and force 32 bit streaming output.

As some others have pointed out they ended up being not totally valid files,
but the 32 bit version was always valid enough to open. The difference between
them was literally one boolean property changed whether to force 32 bit
generation or not. So I'd expect once fixed the files would behave identically.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2023-04-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

Justin L  changed:

   What|Removed |Added

 CC||attila.sz...@collabora.com

--- Comment #11 from Justin L  ---
I had expected this to be fixed in LO 7.6, where work was done to enable zip64
import and export. However, export64.ods still didn't open - crashed on "do you
want to repair this" prompt.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2022-09-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

Justin L  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=94
   ||915

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2021-12-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

Michael Warner  changed:

   What|Removed |Added

 Blocks||109530, 143352


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=109530
[Bug 109530] [META] File opening issues
https://bugs.documentfoundation.org/show_bug.cgi?id=143352
[Bug 143352] [META] XLSX (OOXML) Opening files from external generators
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2020-01-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

Julien Nabet  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=82
   ||984

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #10 from Mike Kaganski  ---
The Zip64 document in attachment 155237 differs from that in attachment 155152
by including something that Info-Zip's zipinfo (i.e., `unzip -Z
path/to/file.ods`) explains as "extended local header". Both include "extra
fields" (that's natural, since [1] defines "ZIP64 extended information extra
field"), but what is in the "extended local header" in the attachment 155237
(both ODS there have it) is unclear.

In general, let's not throw in here more and more random files, and just focus
this issue on supporting of Zip64 spec (i.e., not giving a warning mentioned in
comment 5). The problem of possibly incorrect handling of "extended local
header" looks independent, and likely needs a different issue.

[1] https://www.pkware.com/documents/APPNOTE/APPNOTE-6.2.0.txt

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #9 from Joshua  ---
I noted a difference in the repair effect between my sample and yours so I made
yet another test pair. This time, the 32 bit one opens without error in
LibreOffice but the 64 bit one still fails to recover at all.

At this point I think the online validator is having trouble and the content
actually is valid.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #8 from Joshua  ---
Created attachment 155237
  --> https://bugs.documentfoundation.org/attachment.cgi?id=155237&action=edit
Another pair of test files

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

Xisco Faulí  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||xiscofa...@libreoffice.org
 Status|UNCONFIRMED |NEW

--- Comment #7 from Xisco Faulí  ---
Moving to NEW based on Mike Kaganski's analysis

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #6 from Mike Kaganski  ---
Forgot to mention the python script source in comment 5:

[1] https://gist.github.com/gumblex/5573ddb33c21fca4aecf

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #5 from Mike Kaganski  ---
Created attachment 155152
  --> https://bugs.documentfoundation.org/attachment.cgi?id=155152&action=edit
Zip64 test kit

I have created a simple lorem ipsum spreadsheet ('lorem ipsum.ods' in
attachment) using LibreOffice; extracted its content into a 'loremipsum'
directory; and used a script from [1] (modified to use ZIP_STORED compression
level for all files; 'zip64.py' in the attachment) like `zip64.py
/path/to/zip64.ods /path/to/loremipsum/mimetype /path/to/loremipsum/*` to
create 'zip64.ods' with mimetype stored first (also in the attachment). So the
two ODS files in the kit have identical contents, but zip64.ods has all files
stored without compression, *and* it uses Zip64.

The file opens with "The file 'zip64.ods' is corrupt and therefore cannot be
opened. LibreOffice can try to repair the file" warning; it *can* be repaired.
It seems that the resulting file is conformant, and should be opened without
warnings.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #4 from Mike Kaganski  ---
To provide a compliant ODF using Zip64, one needs a method to generate such a
package from a known-good fileset, like a lorem ipsum document created with LO,
extracted and then re-compressed by a tool creating Zip64 (and making sure that
mimetype is not compressed, and other files are either not compressed, or
deflate-compressed). Then a different issue of specific document having
non-compliant content would be eliminated.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

m.a.riosv  changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #3 from m.a.riosv  ---
Neither of files are ODF compliant, so if they are not generated by
LibreOffice, I think there is nothing LibreOffice must do.

https://odfvalidator.org/

ODF Validator Result Page
Result for 15714198122809178.ods

The document is NOT conformant ODF 'Missing ODF version'!
Details:
15714198122809178.ods/META-INF/manifest.xml: Error: The ODF package
'15714198122809178.ods' shall contain the 'META-INF/manifest.xml' file!
15714198122809178.ods/mimetype: Error: The file 'mimetype' shall not be
compressed in the ODF package '15714198122809178.ods'!
15714198122809178.ods[-1,-1]: Error: The ODF package '15714198122809178.ods'
contains a 'mimetype' file containing
'application/vnd.oasis.opendocument.spreadsheet', but no mediatype for its root
document in its 'META-INF/manifest.xml'!
15714198122809178.ods/META-INF/manifest.xml: Warning: The file 'content.xml'
shall be listed in the 'META-INF/manifest.xml' file as it exists in the ODF
package '15714198122809178.ods'!
15714198122809178.ods/META-INF/manifest.xml: Warning: The file 'meta.xml' shall
be listed in the 'META-INF/manifest.xml' file as it exists in the ODF package
'15714198122809178.ods'!
15714198122809178.ods/META-INF/manifest.xml: Warning: The file 'styles.xml'
shall be listed in the 'META-INF/manifest.xml' file as it exists in the ODF
package '15714198122809178.ods'!
15714198122809178.ods: Error: At least 'content.xml' or 'styles.xml' have to be
contained in the ODF XML Schema package '15714198122809178.ods'!
internal:/schema/odf1.1/OpenDocument-manifest-schema-v1.1.rng: Info: parsed.
15714198122809178.ods/mimetype: Info: 1 errors, no warnings
15714198122809178.ods: Info: Media Type:
internal:/schema/odf1.1/OpenDocument-schema-v1.1.rng: Info: parsed.
15714198122809178.ods/meta.xml: Info: Generator:
Cedaron.FormBuilder.Presentation
15714198122809178.ods/meta.xml: Info: no errors, no warnings
15714198122809178.ods/styles.xml: Info: no errors, no warnings
15714198122809178.ods/content.xml[11,22]: Error: tag name "table:table-row" is
not allowed. Possible tag names are:

 ^ 15714198122809178.ods/content.xml[81,81]: Error:
attribute "office:boolean-value" has a bad value. Possible values are:
false,true
"boolean" office:boolean-value="False">FalseFalseFalse12:00 AM12:34 PM
 ^ 15714198122809178.ods/content.xml[145,22]: Error: tag
name "table:table-row" is not allowed. Possible tag names are:

 ^ 15714198122809178.ods/content.xml[154,22]: Error: tag
name "table:table-row" is not allowed. Possible tag names are:

 ^ 15714198122809178.ods/content.xml: Info: 9 errors, no
warnings
15714198122809178.ods: Info: 13 errors, 3 warnings


ODF Validator Result Page
Result for 15714198492559842.ods

The document is NOT conformant ODF 'Missing ODF version'!
Details:
15714198492559842.ods: Fatal: ZIP entry 'content.xml': invalid entry size
(expected 0 but got 23018 bytes)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #2 from Joshua  ---
Created attachment 155137
  --> https://bugs.documentfoundation.org/attachment.cgi?id=155137&action=edit
File that cannot be opened

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 128244] OD* files can't be opened if Zip64 was used in their creation

2019-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=128244

--- Comment #1 from Joshua  ---
Created attachment 155136
  --> https://bugs.documentfoundation.org/attachment.cgi?id=155136&action=edit
File that can be opened

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs