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

[SKiDL BUG] Brackets not handled in component name #165

Open
Timot05 opened this issue Nov 12, 2022 · 2 comments
Open

[SKiDL BUG] Brackets not handled in component name #165

Timot05 opened this issue Nov 12, 2022 · 2 comments
Labels

Comments

@Timot05
Copy link

Timot05 commented Nov 12, 2022

my_led = Part(lib="default_lib.kicad_sym", name="0805G_(Green)", dest=TEMPLATE)

returns:

ValueError: Unable to find part 0805G_(Green) in library default_lib.kicad_sym.

Skidl does not seems to be able to find this component. Is that on purpose or should we fix it?

@Timot05 Timot05 added the bug label Nov 12, 2022
@devbisme
Copy link
Owner

I assume you're using the SKiDL 1.1.0.

I created the same error by adding parentheses to a part name in a KiCad V6 library. I think the parentheses are getting interpreted as part of the nested S-expression parentheses used in V6 symbol libraries. I'll have to investigate and make some changes in the V6 library handler. For now, you'll just have to use names that don't include parentheses.

Thanks for reporting this error!

@Timot05
Copy link
Author

Timot05 commented Nov 17, 2022

Got it! I'll stick to names without parenthesis until then.

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

No branches or pull requests

2 participants