-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.7.0 unable to open generated PPT #276
Comments
We have experienced similar issues, with PowerPoint on the Mac, using v0.7. |
I am also experiencing issues with two versions of PowerPoint on the Mac - 2008 and 2016. I can also tell you the exact commit where things stopped working. On April 1 there were a series of commits. If I check out the second last commit from April 1 (ee07eb7) then the PowerPoint files I generate open fine on both versions of PowerPoint. However, if I check out the very next commit (f33d8f3), PowerPoint 2008 fails to open the file at all and PowerPoint 2016 complains about corruption and offers to repair the file, warning that some content may be lost. I haven't had time to go through the code in that commit, as there were quite a few files changed, but I definitely think this would be a good place to start looking for problems. |
@gurnzbot @informed-source @jamesggordon : Could you test the last version of the develop branch ? @jrking4 has fixed its version for PowerPoint for Mac |
Will do. On 16 Nov 2016, at 12:42, Progi1984 [email protected] wrote: @gurnzbot https://github.com/gurnzbot @informed-source https://github.com/informed-source @jamesggordon https://github.com/jamesggordon : Could you test the last version of the develop branch ? @jrking4 https://github.com/jrking4 has fixed its version for PowerPoint for Mac — |
I am still receiving the error: PowerPoint found a problem with content in the file xyz.pptx. PowerPoint can attempt to repair the file. If you trust the source of this file, click "Repair". My file is quite complicated and uses a lot of in-memory drawing objects and other features. What I will do is strip it back step-by-step until I can generate a clean file and then I'll be able to identify which feature is causing problems. This could take a few hours, though, so probably won't be able to do it until the weekend. Stay tuned... PS My version of PowerPoint for Mac just updated this morning, so I'm on version 15.28 (161115). |
There seems to be a problem rendering images using the As a simple test, I ran But when I commented out lines 29 to 39 in |
I also get a PowerPoint error. I am still using PowerPoint for Mac 2011 14.5.2. I get a similar PowerPoint error with other sample files, such as Sample_05_Chart.php. The latest dev version still breaks my own slide creation script, resulting in the same PowerPoint error. |
I might add that with my own script, with the working version of PHPPresentation, opening the generated file in PowerPoint and then saving it from PowerPoint allows it to be opened in Keynote, with the chart intact. This suggests there is something different with the structure or syntax of the file generated by PHPPresentation. |
@informed-source Could you test this PR #303 ? Please and thanks for advance |
@informed-source @jamesggordon @gurnzbot The PR #303 has been merged in develop branch. Thanks. |
Using v0.7.0, I am able to generate a PPT file. When I attempt to open the resulting file, I am unable to open it.
I've tried to do the bare minimum when generating the presentation file.
My PHP code:
I rolled back to v0.6.0 and was able to open the file generated using the same script.
If I can help at all please let me know :)
The text was updated successfully, but these errors were encountered: