My script to generate kinetic typography is running fine from the command line but not when I call it from the Synfig Scripts Menu. Any idea where that may come frome?
I guess it’s a difference in python version or import path… but don’t know how to check this, nor how to fix.
The error I get is
SyntaxError: invalid syntax
File "import-audacity-labels-keyframes/pystache/parser.py", line 15
NON_BLANK_RE = re.compile(ur'^(.)', re.M)
unzip github.com/berteh/import-audaci … master.zip into your Synfig script directory (/opt/synfig/share/synfig/plugins/ in ubuntu)
open import-audacity-labels-keyframes/test/keyframe-import-test.sif with Scribus
run Scripts > Import Audacity Labels as Keyframes
And instead of having a set of animated text objects animated for you from the timing of the “labels.txt” file… you get an error
To get a glimpse at the expected effect simply run the script from the command line instead:
./import-audacity-labels-keyframes.py test/keyframe-import-test.sif test/labels2.txt ~/generated.sif
synfigstudio ~/generated.sif &
Any idea how I can check the import path from within Synfig? (by the way: any use of print() would generate a SyntaxError too…maybe it’s related)
Have a nice day!