Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
electronsandstuff opened this issue May 8, 2024 · 3 comments
Open

Comments

@electronsandstuff
Copy link

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

@JarrettR
Copy link
Owner

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

@juamonsan
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants