Error pulling in an image, pulling my hair out

Asked by PeaceByFire on 2014-02-27

I keep getting:
"Error while evaluating expression "do text from document(at='%s' % mymap)". invalid syntax (<string>, line 1)"

Format of my 'track changes' text:
do text
from document(at='%s' % mymap)

In Python:
mymap = os.getcwd()+'\\'+'file.png'

Renderer defined as:
renderer = Renderer('testTemplate.odt', d, 'result.odt', overwriteExisting=True)

I'm on windows 8.1 with appy 0.8.5. LibreOffice 4.2.1.1
iPython is my interpreter.

I've tried 100 different ways to write the track changes text. With or without the file extension, with and without string formatting, etc.

Please tell me what is going wrong. Thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
Appy Edit question
Assignee:
No assignee Edit question
Solved by:
PeaceByFire
Solved:
2014-02-27
Last query:
2014-02-27
Last reply:
PeaceByFire (peacebyfire) said : #1

Solved. I was using track-changes, I should have been using comments. All's right with the world.