I’m getting errors whenever layers are present in my svg file, whether they’re created in Inkscape or elsewhere (Adobe Illustrator). I tried multiple layer methods (using the syntax as well as hiding layers). If I do a file with no layers everything is fine. I get this message whenever I try to do anything in the Axidraw extension, even just raising or lowering the pen:
Traceback (most recent call last):
File "axidraw.py", line 2719, in <module>
e.affect()
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 265, in affect
self.getposinlayer()
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 207, in getposinlayer
x = self.unittouu( xattr[0] + 'px' )
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 351, in unittouu
return retval * (self.__uuconv[u.string[u.start():u.end()]] / self.__uuconv[self.getDocumentUnit()])
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 304, in getDocumentUnit
p = param.match(svgwidth)
TypeError: expected string or buffer
Files without layers seem to work fine.
I’m using the V3/A3 with Inkscape 0.91 on Mac OS X 10.14 Mojave