evil-mad / EggBot

Software for The Original EggBot
GNU General Public License v3.0
287 stars 140 forks source link

Error when selecting single layers to print #132

Closed mberneis closed 4 years ago

mberneis commented 4 years ago

Unable to print with multiple layers - getting following error (Driver: eggbot-inkv1.zip)

Traceback (most recent call last):
  File "eggbot.py", line 1178, in <module>
    e.affect()
  File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/axidraw_deps/ink_extensions/inkex.py", line 285, in affect
    self.effect()
  File "eggbot.py", line 230, in effect
    self.plotToEggBot()
  File "eggbot.py", line 456, in plotToEggBot
    self.recursivelyTraverseSvg(self.svg, self.svgTransform)
  File "eggbot.py", line 519, in recursivelyTraverseSvg
    self.DoWePlotLayer(self.sCurrentLayerName)
  File "eggbot.py", line 918, in DoWePlotLayer
    if str.isdigit(current_layer_name[:string_pos]):
TypeError: descriptor 'isdigit' requires a 'str' object but received a 'bytes'
oskay commented 4 years ago

This has already been fixed upstream; just pushed eggbot-inkv1r2.zip to the releases page.