My first attempt was to download textext.py and textext.inc and just drop them into the Inkscape.app/Contents/Resources/Extensions file, as suggested on the textext website. Textext appeared in the Effects menu put when I clicked on it I got the following error:
Code: Select all
Traceback (most recent call last):
File "Contents/Resources/extensions/textext.py", line 785, in ?
e = TexText()
File "Contents/Resources/extensions/textext.py", line 315, in __init__
dest="text", default=None)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/optparse.py",
line 820, in add_option
option = self.option_class(*args, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/optparse.py",
line 430, in __init__
checker(self)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/optparse.py",
line 499, in _check_type
raise OptionError("invalid option type: %r" % self.type, self)
optparse.OptionError: option -t/--text: invalid option type: 'str'
A little phased by this I decided to try the other approach - downloading the dependencies using MacPorts and dropping the files into the .inkscape/extensions folder. (I didn't re-download the whole of inkscape via macports, just py25-gtk py25-lxml pstoedit).
This time when I ran it it complained that it couldn't find inkex. So I went the the Extensions folder, created a copy of inkex.py and placed it in the .inkscape/extensions folder. It now fails with the same error as the first attempt.
Does anyone know what's going wrong/has anyone managed to get textext working on mac osx10.4?