My goal is to access views or charts I have stored in my Looker folder and add those automatically to power point slides. The tutorial I am following is this one: https://discourse.looker.com/t/generating-a-powerpoint-presentation-from-all-looks-in-a-space/8191.
My problem is at the point #Generate the PowerPoint (as per tutorial). When I run that command, the failure message states:
103 chart_test
Look failed 103: chart_test
Failed to add image to slide
This corresponds to this piece of code where it fails:
try:
image = looker_client.LookApi(client).run_look(**look_request)
image_file = ''.join([str(look.id), '.png'])
shutil.move(image, image_file)
except:
print(f'Look failed {look.id}: {look.title}')
image_file = None
When I print 'image_file', is empty ('None') although I have one line chart saved in this folder 2703 called 'chart_test'.
Can someone help please?