Function plotter errors: change of python version required?

Asked by Florian Christie

Hi,

I am trying to plot a function in Inkscape using the function plotter, but it is not working. :(
When I hit apply Inkscape shows the following error:
"Traceback (most recent call last):
  File "funcplot.py", line 34, in <module>
    import simplepath
  File "/usr/share/inkscape/extensions/simplepath.py", line 51
    raise Exception, 'Invalid path data!'
                   ^
SyntaxError: invalid syntax"

To me that looks as if Python 2.x is required . I have both, 2.7 and 3.6 installed. How can I change the python Inkscape uses?

Thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Florian Christie
Solved:
Last query:
Last reply:
Revision history for this message
Florian Christie (cflorian) said :
#1

That was indeed the issue!
Editing my preferences.xml file according to http://wiki.inkscape.org/wiki/index.php/Extension_Interpreters solved the problem!

Revision history for this message
Hachmann (marenhachmann) said :
#2

Yes :)