Import error in Inkscape extensions

Post questions on how to use or achieve an effect in Inkscape.
shoaib.nawaz
Posts: 1
Joined: Mon Dec 07, 2009 3:52 am
Location: Islamabad Pakistan

Import error in Inkscape extensions

Postby shoaib.nawaz » Mon Dec 07, 2009 4:07 am

I am using ink-scape as a primary tool of drawing. I like its expandable features in the form of extensions. I downloaded a number of extensions from ink-scape extension repository.
When I try to apply some extension (like: perspective) it shows a dialog indicating a caution as under:
"
Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.

Traceback (most recent call last):
File "/usr/share/inkscape/extensions/perspective.py", line 21, in <module>
import sys, inkex, os, re, simplepath, cubicsuperpath
File "/usr/share/inkscape/extensions/inkex.py", line 23, in <module>
import xml.dom.ext
ImportError: No module named ext
"

How can I deal with issue.
I am using Inkscape 0.47 on Ubuntu 9.10 x86_64

User avatar
sas
Posts: 404
Joined: Sat Oct 06, 2007 5:42 am

Re: Import error in Inkscape extensions

Postby sas » Mon Dec 07, 2009 5:03 am

For some reason you seem to have a very old version of inkex.py. Try replacing it with the current version.


Return to “Help with using Inkscape”