[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2016-07-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=49819

Michael Stahl  changed:

   What|Removed |Added

  Attachment #61470|application/vnd.oasis.opend |application/vnd.openxmlform
  mime type|ocument.text|ats-officedocument.wordproc
   ||essingml.document

-- 
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 49819] FILEOPEN error when loading a particular .docx file.

2014-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Markus Mohrhard markus.mohrh...@googlemail.com changed:

   What|Removed |Added

  Attachment #61470|application/vnd.openxmlform |application/vnd.oasis.opend
  mime type|ats-officedocument.spreadsh |ocument.text
   |eetml.sheet |

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2014-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Terrence Enger lo_b...@iseries-guru.com changed:

   What|Removed |Added

 CC||markus.mohrhard@googlemail.
   ||com

--- Comment #23 from Terrence Enger lo_b...@iseries-guru.com ---
Markus,

Are you sure about the mime type you assigned to the attachment
Chapter 2 - Pink Ball, Knight  Penguin.docx?  `file` reports
Microsoft Word 2007+.

Terry.

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2013-11-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Michael Stahl mst...@redhat.com changed:

   What|Removed |Added

  Attachment #61470|application/octet-stream|application/vnd.openxmlform
  mime type||ats-officedocument.spreadsh
   ||eetml.sheet

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2013-01-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Björn Michaelsen bjoern.michael...@canonical.com changed:

   What|Removed |Added

   See Also||https://launchpad.net/bugs/
   ||1097748

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-10-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #22 from Terrence Enger lo_b...@iseries-guru.com ---
With master cc1a112 pulled 2012-10-01, the problem is indeed fixed.

Not that there was much doubt after Michael's assurance, but what else
would I do with my just-completed build? grin /

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Harri Pitkänen hatap...@iki.fi changed:

   What|Removed |Added

 CC||vger...@gmail.com

--- Comment #21 from Harri Pitkänen hatap...@iki.fi ---
*** Bug 44853 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Michael Meeks michael.me...@novell.com changed:

   What|Removed |Added

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

--- Comment #20 from Michael Meeks michael.me...@novell.com ---
Marking fixed, as it is fixed ;-)

I guess Office 2010 is just producing bad .zip output - which is a shame.

Thanks for the pointer :-)

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #19 from x...@fictionpress.com ---
This corrupted docx file was created on Windows using Microsoft Word 2010. The
user didn't provide much info from our feedback request.

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


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #5 from Michael Meeks michael.me...@novell.com 2012-09-21 
09:12:33 UTC ---
Looks like we detect a problem with the zip file:

(gdb) bt 15
#0  __cxxabiv1::__cxa_throw (obj=0x95443b8, tinfo=0xb06c5438 typeinfo for
com::sun::star::packages::zip::ZipIOException, dest=
0xb0689dc6
com::sun::star::packages::zip::ZipIOException::~ZipIOException()) at
../../../../libstdc++-v3/libsupc++/eh_throw.cc:63
#1  0xb068abab in ZipFile::readLOC (this=0x9545670, rEntry=...) at
/ssd/opt/libreoffice/master/package/source/zipapi/ZipFile.cxx:706

704if ( bBroken  !bRecoveryMode )
705throw ZipIOException(The stream seems to be broken!,
706uno::Reference XInterface () );

#2  0xb068c05e in ZipFile::getDataStream (this=0x9545670, rEntry=...,
rData=..., bIsEncrypted=0 '\000', aMutexHolder=...)
at /ssd/opt/libreoffice/master/package/source/zipapi/ZipFile.cxx:577
#3  0xb06a9c0f in ZipPackageStream::getDataStream (this=0xad6363e0)
at
/ssd/opt/libreoffice/master/package/source/zippackage/ZipPackageStream.cxx:551
#4  0xac4df7b3 in OWriteStream_Impl::GetStream_Impl (this=0x9544278,
nStreamMode=1, bHierarchyAccess=1 '\001')
at
/ssd/opt/libreoffice/master/package/source/xstor/owriteablestream.cxx:1357
#5  0xac4e2b0f in OWriteStream_Impl::GetStream (this=0x9544278, nStreamMode=1,
bHierarchyAccess=1 '\001')
at
/ssd/opt/libreoffice/master/package/source/xstor/owriteablestream.cxx:1337
#6  0xac4fb209 in OStorage::openStreamElementByHierarchicalName
(this=0xad632458, aStreamPath=..., nOpenMode=1)
at /ssd/opt/libreoffice/master/package/source/xstor/xstorage.cxx:6241
#7  0xac4d3da1 in OHierarchyElement_Impl::GetStreamHierarchically
(this=0xaf28ea38, nStorageMode=1, 
aListPath=std::vector of length 0, capacity 2, nStreamMode=1,
aEncryptionData=...)
at
/ssd/opt/libreoffice/master/package/source/xstor/ohierarchyholder.cxx:106
#8  0xac4d404f in OHierarchyElement_Impl::GetStreamHierarchically
(this=0xaf28e618, nStorageMode=1, 
aListPath=std::vector of length 0, capacity 2, nStreamMode=1,
aEncryptionData=...)
at
/ssd/opt/libreoffice/master/package/source/xstor/ohierarchyholder.cxx:148
#9  0xac4d432d in OHierarchyHolder_Impl::GetStreamHierarchically
(this=0xad63132c, nStorageMode=1, 
aListPath=std::vector of length 0, capacity 2, nStreamMode=1,
aEncryptionData=...)
at /ssd/opt/libreoffice/master/package/source/xstor/ohierarchyholder.cxx:42
#10 0xac4fb2bb in OStorage::openStreamElementByHierarchicalName
(this=0xa2de4e04, aStreamPath=..., nOpenMode=1)
at /ssd/opt/libreoffice/master/package/source/xstor/xstorage.cxx:6253
#11 0xa2f5cd3b in oox::docprop::(anonymous namespace)::lclGetRelatedStreams
(rxStorage=..., rStreamType=...)
at /ssd/opt/libreoffice/master/oox/source/docprop/ooxmldocpropimport.cxx:89
#12 0xa2f5d184 in oox::docprop::DocumentPropertiesImport::importProperties
(this=0xad630368, rxSource=..., rxDocumentProperties=...)
at
/ssd/opt/libreoffice/master/oox/source/docprop/ooxmldocpropimport.cxx:155
#13 0xa096b8bc in writerfilter::dmapper::DomainMapper::DomainMapper
(this=0x9540b90, xContext=..., xInputStream=..., xModel=..., eDocumentType=
writerfilter::dmapper::DOCUMENT_OOXML) at
/ssd/opt/libreoffice/master/writerfilter/source/dmapper/DomainMapper.cxx:117
#14 0xa09db041 in WriterFilter::filter (this=0xa2de4d14, aDescriptor=...)
at
/ssd/opt/libreoffice/master/writerfilter/source/filter/ImportFilter.cxx:104

which I imagine is what causes the ultimate General Error dialog:

(gdb) p rEntry
$4 = (ZipEntry ) @0xad636418: {nVersion = 20, nFlag = 6, nMethod = 8, nTime =
1083022683, nCrc = 2030890763, nCompressedSize = 356, nSize = 
396, nOffset = 12688, nPathLen = 17, nExtraLen = 0, sPath = {pData =
0xa2deef44}}


693bBroken = rEntry.nVersion != nVersion
694|| (rEntry.nFlag  ~6L) != (nFlag  ~6L)
695|| rEntry.nTime != nTime
696|| rEntry.nPathLen != nPathLen
697|| !rEntry.sPath.equals( sLOCPath );

(gdb) p rEntry.nVersion
$5 = 20
(gdb) p nVersion
$6 = 20
(gdb) p rEntry.nFlag  ~6L
$7 = 0
(gdb) p nFlag  ~6L
$9 = 0
(gdb) p rEntry.nTime
$10 = 1083022683
(gdb) p nTime
$11 = 1083088142
(gdb) p rEntry.nPathLen 
$12 = 17
(gdb) p nPathLen
$13 = 17

So - seems like it has a different time stamp: odd ...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #6 from Michael Meeks michael.me...@novell.com 2012-09-21 
09:26:02 UTC ---
So - why would the directory timestamp differ from the stream header:

1083022683 = Mon, 26 Apr 2004 23:38:03 GMT
1083088142 = Tue, 27 Apr 2004 17:49:02 GMT

As an immediate workaround, unzipping and re-zipping the file works fine :-)

The question would be: how was this .docx produced ? and/or damaged.

Secondly - it looks like we don't re-try loading with a this file is damaged
prompt and being more tolerant as/when we hit this sort of error for .docx.

I guess that needs fixing too.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Michael Meeks michael.me...@novell.com changed:

   What|Removed |Added

 CC||saaz@gmail.com

--- Comment #7 from Michael Meeks michael.me...@novell.com 2012-09-21 
15:43:29 UTC ---
*** Bug 45207 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Michael Meeks michael.me...@novell.com changed:

   What|Removed |Added

 CC||lo_b...@iseries-guru.com

--- Comment #8 from Michael Meeks michael.me...@novell.com 2012-09-21 
15:47:35 UTC ---
*** Bug 54968 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #9 from Michael Meeks michael.me...@novell.com 2012-09-21 
15:55:29 UTC ---
bug#54609 is a band-aid for basically the same issue as this - but of course
the band-aid only works for some files.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #10 from Michael Meeks michael.me...@novell.com 2012-09-21 
17:29:28 UTC ---
Created attachment 67516
  -- https://bugs.freedesktop.org/attachment.cgi?id=67516
debugging patch

Attached patch allows the document to load by first detecting the zip exception
and returning the right error - so we can get repair mode turned on.

However - I then force repair-mode on - since there seems to be no way to force
it down through the domain-mapper  associated logic.

We get the flag set right coming into:

Breakpoint 1, WriterFilter::filter (this=0xaca5fa00, aDescriptor=uno::Sequence
of length 13 = {...})
at
/ssd/opt/libreoffice/master/writerfilter/source/filter/ImportFilter.cxx:50
...
{Name = RepairPackage, Handle = 0, Value = uno::Any 1 '\001', State = 
com::sun::star::beans::PropertyState_DIRECT_VALUE}

But that needs pushing down.

End goal: throw up a dialog, offering to repair, and import the file anyway. I
can at least see the contents now with that hard-coded.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #11 from x...@fictionpress.com 2012-09-21 17:45:39 UTC ---
This is great news that this bug is traced and squashed.  

Mike, for your proposed end goal of throw(ing) up a dialog might be a problem
for some that use the uno or cli component for file conversion where GUI popup
dialog interaction is not feasible in a --headless environment. 

Perhaps the default should be forced-repair as your patch currently has or only
popup repair dailog when --headless is not enabled and force-repair
otherwise.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #12 from Michael Meeks michael.me...@novell.com 2012-09-21 
20:06:09 UTC ---
The bug is not yet fixed; this is a prototype patch. I still really want to
know *why* these documents have inconsistent file / time-stamps in them, that's
really unclear to me.

Xing - where did this document come from ? and/or how was it made ? - can you
find that out ?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #13 from x...@fictionpress.com 2012-09-21 20:24:23 UTC ---
Just emailed the original user of this test file for more information but the
chance of response is very low. However and hopefully with some luck I will try
to find another test-case/subject over the next few days.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

--- Comment #14 from Michael Meeks michael.me...@novell.com 2012-09-21 
20:37:55 UTC ---
pushed a fix to master, I'd appreciate widespread testing - it should complain
the file is broken then allow it to be 'repaired' (ie. a sloppier more
accepting import).

Unlikely to make 3.6.2 - perhaps (with some feedback) into 3.6.3 :-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Joel Madero jmadero@gmail.com changed:

   What|Removed |Added

  QAContact||jmadero@gmail.com
 CC||jmadero@gmail.com

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-06-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

x...@fictionpress.com changed:

   What|Removed |Added

   Severity|major   |critical
   Priority|medium  |high

--- Comment #4 from x...@fictionpress.com 2012-06-10 19:54:08 PDT ---
Increasing the priority of this ticket as it is high priority with bug
confirmations and reproducible test file.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

s-joyemuseq...@vf.uni-konstanz.de changed:

   What|Removed |Added

Version|LibO 3.4.5 release  |LibO 3.3.4 release

--- Comment #3 from s-joyemuseq...@vf.uni-konstanz.de 2012-05-13 00:10:25 PDT 
---
Same problem with version 3.3.4 (tested under Windows XP).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49819] FILEOPEN error when loading a particular .docx file.

2012-05-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49819

Korrawit Pruegsanusak detective.conan.1...@gmail.com changed:

   What|Removed |Added

 CC||detective.conan.1412@gmail.
   ||com
Version|LibO 3.5.3 release  |LibO 3.4.5 release

--- Comment #2 from Korrawit Pruegsanusak detective.conan.1...@gmail.com 
2012-05-12 21:38:52 PDT ---
[REPRODUCIBLE] 3.5.3.2 Windows XP, show error popup.

Version field should be the earliest one with problem.
http://wiki.documentfoundation.org/BugReport_Details#Version So, change to
3.4.5 per comment 1.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs