The scripts don't work for me either (Inkscape v1.2.2).
When I click "Extensions > Spine > Spine Export...", nothing happens and no popup appears.
When I click "Extensions > Spine > Spine Export - Paths...", the popup appears and works just fine, but there's the same error all the time:
/home/metaphore/.config/inkscape/extensions/PathsToSpine.py:52: DeprecationWarning: inkex.elements.svg.width -> Use :func:viewport_width instead
self.hw = self.svg.unittouu(self.svg.width) / 2
/home/metaphore/.config/inkscape/extensions/PathsToSpine.py:53: DeprecationWarning: inkex.elements.svg.height -> Use :func:viewport_height instead
self.hh = self.svg.unittouu(self.svg.height) / 2
/home/metaphore/.config/inkscape/extensions/PathsToSpine.py:240: DeprecationWarning: inkex.deprecated.main.transform_mul -> Use @ operator instead
m2 = inkex.Transform(m2) * inkex.Transform(m)
Traceback (most recent call last):
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 308, in <module>
e.run()
File "/usr/share/inkscape/extensions/inkex/base.py", line 231, in run
self.save_raw(self.effect())
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 59, in effect
self._main_function()
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 300, in _main_function
self.traverse(node, [], [])
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 280, in traverse
self.parsePath(node, transforms, names)
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 259, in parsePath
self.opened2curves(csp)
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 143, in opened2curves
self.closed2curves(csp)
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 121, in closed2curves
if self.is_line(csp[0], csp[0][i + 1]):
File "/home/metaphore/.config/inkscape/extensions/PathsToSpine.py", line 98, in is_line
return p1[1][0] == p1[2][0] and p1[1][1] == p1[2][1] and p2[0][0] == p2[1][0] and p2[0][1] == p2[1][1]
IndexError: string index out of range
Seems like the scripts are out of date.