Stretch icon indicating copy to clipboard operation
Stretch copied to clipboard

TypeError: can only concatenate str (not "list") to str

Open electronsandstuff opened this issue 9 months ago • 3 comments

Thanks for the plugin! I just installed it in kicad 8.0 from the plugin manager. After setting up bs4 (ie from #36) I tried to export one of my boards to SVG and get the following exception.

TypeError: can only concatenate str (not "list") to str

Here is a screenshot of the error message. image

electronsandstuff avatar May 08 '24 08:05 electronsandstuff

Thanks!

I'll take a look when I have time. I'd suspect that changing zone.py line 287 from self.keepout to str(self.keepout[0]) would work as a temporary stop-gap

JarrettR avatar May 15 '24 21:05 JarrettR

Hi, same issue here with last version of KiCAD and the plugin. Tried some workarounds in zone.py line 287 (str, .join, print, .format...) but same error appears every time. If I have some time I will try more things and I will let you know. Thanks in advance.

juamonsan avatar Jul 24 '24 23:07 juamonsan

Seems to work fine again after updating KiCAD to 8.0.5. SVG file is being exported correctly with the exact same project I had trouble with on 8.0.4.

juamonsan avatar Oct 12 '24 22:10 juamonsan