On 29/10/2012 21:40, David Christian Berg wrote:
Seems that with http://www.inkscapeforum.com/viewtopic.php?f=5&t=12478 I found the right place. Now I'm faced with another error:
Traceback (most recent call last): File "sozi.py", line 30, in <module> from sozi.document import * File "/Applications/Inkscape.app/Contents/Resources/extensions/sozi/document.py", line 81 self.layers = { l.attrib[group_attr] : SoziLayer(self, l) for l in self.xml.xpath("sozi:layer", namespaces=inkex.NSS) if group_attr in l.attrib } ^ SyntaxError: invalid syntax
Maybe it really is a Sozi issue? Any clues? Anybody working with Sozi on Mountain Lion?
It seems that the latest release of Sozi now requires Python 2.7, which makes it not compatible with the current available Inkscape package for OS X (which supports Python <= 2.6 for extensions): « Requires Python 2.7.» http://sozi.baierouge.fr/wiki/en:changelog#version_1209_current
Maybe try with an older release… and follow the instructions (aka ugly but working hack) posted on the Sozi web site: http://sozi.baierouge.fr/wiki/en:install#installation_on_macos_x -> http://www.lifl.fr/~riquetd/installing-sozi-on-mac-os-x.html
Or - alternatively, since you will require to install MacPorts anyway to get pygtk - install Inkscape itself with Macports (it will use Python 2.7 by default).