I've tried to run it on Windows XP, Inkscape 0.47 and trunk revision 9674, and nothing is exported (no error message).
"Directory to save" set to C:\ (also tried C:/) and "Image name" not changed.
SVG document attached.
There's a little bug that prevent the script from running when the document height and width elements have units (tested with the French default template).
Replacing (lines 126 and 142)
height = root.attrib['height'] and width = iroot.attrib['width']
with
height = inkex.unittouu(root.attrib['height']) and width = inkex.unittouu(root.attrib['width'])
seems to fix this issue.
Thanks for this extension!
I've tried to run it on Windows XP, Inkscape 0.47 and trunk revision 9674, and nothing is exported (no error message).
"Directory to save" set to C:\ (also tried C:/) and "Image name" not changed.
SVG document attached.
There's a little bug that prevent the script from running when the document height and width elements have units (tested with the French default template). 'height' ] and width = iroot.attrib[ 'width' ] root.attrib[ 'height' ]) and width = inkex.unittouu( root.attrib[ 'width' ])
Replacing (lines 126 and 142)
height = root.attrib[
with
height = inkex.unittouu(
seems to fix this issue.