backface / stitchcode

python embroidery tools
http://www.stitchcode.com
GNU Affero General Public License v3.0
32 stars 9 forks source link

Error when converting svg to exp #1

Open FFY00 opened 6 years ago

FFY00 commented 6 years ago
Warning: SVG import is experimental!Traceback (most recent call last):
  File "/home/anubis/.local/bin/stitchconv.py", line 109, in <module>
    emb.load(infile)
  File "/home/anubis/.local/lib/python2.7/site-packages/stitchcode.py", line 379, in load
    self.import_svg(filename)
  File "/home/anubis/.local/lib/python2.7/site-packages/stitchcode.py", line 1304, in import_svg
    x = int(p.split(' ')[0])
ValueError: invalid literal for int() with base 10: '128.00106,0'
backface commented 6 years ago

What kind of file did you try to open? Currently the SVG import is really just a quick hack that only reads in files that are also created by this tool/library...