Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix "Could not find shape for Powerpoint content Error: pandoc document conversion failed with error 63" Error

I am trying to render an R markdown slideshow as a Powerpoint with a corporate template.

I work on AWS EC2, without PowerPoint, so I have to upload the template to S3, download it on the EC2, and then try to use it. I have set up the slide sequence according to the documentation I've seen before (title, title and content, section header, two content), so that shouldn't be the issue. I am not sure if I need to put my file in a different location, but when I explicitly state the path, it is not recognized either.

title: "myreport"
author: "me"
date: "today"
output: 
  powerpoint_presentation:
    reference_doc: corporate_template.potx
---

I would expect a normal Powerpoint presentation to be created, but instead I get the error in the title.

like image 262
Thomas Campbell Avatar asked May 21 '19 17:05

Thomas Campbell


People also ask

How to fix PowerPoint found a problem with content error?

1 Method 1: Disabling Protected Views. As it turns out, the most common culprit that will cause the “ PowerPoint found a problem with content ” error are several Trust Center ... 2 Method 2: Adding the location of the file to the trust list. ... 3 Method 3: Moving the file out from the synchronized folder. ... 4 Method 4: Unblocking the File. ...

How to repair PowerPoint presentation when it fails?

Often this error message: PowerPoint found a problem with content can attempt to repair the presentation, ask the users to click on the Repair button. In some scenarios, clicking this button does not resolve the problem Even though, it can lead to another error.

What does “ppt found a problem with content in the presentation filename” mean?

While opening a PowerPoint file, people sometimes encounter an error message that says, “PPT found a problem with content in the presentation filename.pptx” Undoubtedly this is an annoying problem. Often this error message: PowerPoint found a problem with content can attempt to repair the presentation ask the users to click on the Repair button.

Why won’t PowerPoint let me open a file?

If the PowerPoint file was obtained externally (via email, direct download or retrieved via USB stick), chances are PowerPoint will not let you open it if it’s stored in a location that is not considered secure.


1 Answers

I have had this same problem, and the following helped me solve:

  1. Go into View -> Slide Master to make sure the slides in the master are the format you expect (one time I thought I made the changes, but they showed up on the Home menu and not the Slide Master)

  2. Under the Home menu, click the Dropdown under Layout and make sure AT THE LEAST that you see these four slide types:

    • Title
    • Section Header
    • Title and Content
    • Two Content

When all of these are taken care of, my slides knit fine from the Rmd without the "Could not find shape" error. I think "shape" refers to the four slide types that are needed.

like image 186
mysteRious Avatar answered Sep 28 '22 06:09

mysteRious