Apache OpenOffice (AOO) Bugzilla – Issue 115944
Can't open pptx in Impress
Last modified: 2017-05-20 10:30:44 UTC
Tried to open a PPTX made in office 2007 and an error occurred in opening/converting the file. It asked to recover the file but nothing happened. An earlier issue was closed similar to this because of lack of information.
Created attachment 75249 [details] pptx file for issue 115944
Opening the file in PPT2007 works. Opening the file in OOO330_m17 crashes the Office. I have saved a copy of the file with a new name in PPT2007 and this new copy can be opened wihtout problems in OOO330_m17. Please have a try if this solves your problem.
Sent auto report after trying to open file this morning (Dec 7. 6:30 am US Eastern Time). This crash was from 3.3.0 RC 7 OOO330m17 Build:9551
Did you try to save it under an new name and open the new file?
I did not try and resave it . I was sent this file and do not have office 2007. I had them resend it under 2003 format and I could open it. Do you know what is wrong with the name? Using the same name but under 2003 ppt format it opened fine.
I think that re-saving the file fixes a problem in the file. In my opinion the origianl fiel is broken somehow and a new save fixes this.
The orignial fiel crashes OOo. Reassigned. Any idea to this crash, sj?
I had a friend re-save the original file with the same name and re-save the original file with a new name using office 2007. In both cases Impress crashed about half through the progress bar. I added a new file called renamed-resaved.zip
Created attachment 75275 [details] a new attachment
Tried original file in 3.3.0 rc8 and it still crashed on conversion.
had a quick look, problem is that "ppt/slideLayouts\_relsßslideLayout44.xml.rels" is not readable by our storage implementation. This leads to a crash in PresentationFragmentHandler::endDocument() while accessing empty reference pMasterPersistPtr in line 251. My guess is that there is either a nonstandard zip encoding used for that file or maybe the file is locked somewhere else.
Contacted the author of the file. They did nothing out of the ordinary in creating the file except using Power Point 2007 and saving it as a pptx. She saved the same file as a Power Point 2003 ppt format by doing the save as in Power Point and I could open that. The file was not compressed but downloaded from the company ftp site.
Created attachment 75465 [details] A basic macro that shows that the ooo storage api implementation can indeed open "slideLayout44.xml.rels" correctly
The problem happens since we open the zip package in 'repair' mode. To reproduce with my Basic macro change the following Dim aProps(1) as new com.sun.star.beans.PropertyValue aProps(0).Name = "StorageFormat" aProps(0).Value = "ZipFormat" aProps(1).Name = "RepairPackage" aProps(1).Value = true Mikhail is currently investigating
fixed in cws impress208, thanks mav
verified in cws, back to qa
fixed target
Verified in CWS.