I tried to move the files to the folder you mentioned and deleted the files from the first one. Inkscape seems to recognize scripts in both folders. However, the same problem still appears. Looking at the error message there is somehow a String value where a float value is expected. But I'm not sure why there is a String value at all. I'll try later some coding and fixing the script on my own.
Yes, even with a single rectangle object and nothing else. Honestly, I'm used to inkscape and will stay there, especially because it's open source. I do not want to buy illustrator just to do a fast export.
Okay, I did some coding and found something possibly helpful out:
I replaced this line (line 131)
return float(x), float(y), float(width), float(height)
with this one:
try:
return float(x), float(y), float(width), float(height)
except:
exit(x)
and tested all values. Surprisingly they are all empty Strings "".
I replaced the code later with:
try:
return float(x), float(y), float(width), float(height)
except:
return float(0), float(0), float(100), float(100)
and got a functional export. However, all images are thrown into the center of spines coordinate system. Of course that's no benefit, but at least the image export works now. Only the JSON Output has to be fixed now. I hope you have some idea, what might causes the error at all?