Klowner/inkscape-applytransforms

SyntaxError: invalid syntax

Closed this issue · 3 comments

Extension does not work with my last Inkscape version. The following error is displayed :

  File "applytransform.py", line 1
    <?xml version="1.0" encoding="UTF-8"?>
    ^
SyntaxError: invalid syntax

Ubuntu 18.04
Inkscape 0.92.3 (2405546, 2018-03-11)

Sounds like maybe you saved applytransforms.inx as applytransforms.py? The first line of applytransforms.py should be #!/usr/bin/env python2 not the xml tag.

Feel free to re-open if you're still having an issue

You are right, I copied the content of applytransform.inx in both files applytransform.inx and applytransform.py.

Thank you for your help.