Skip to content
New issue

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

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

Already on GitHub? # to your account

[SKiDL BUG] an error with function "generate_schematic" #233

Closed
d111e opened this issue Dec 4, 2024 · 4 comments
Closed

[SKiDL BUG] an error with function "generate_schematic" #233

d111e opened this issue Dec 4, 2024 · 4 comments
Labels

Comments

@d111e
Copy link

d111e commented Dec 4, 2024

Describe the bug
i was able to use the function "generate_schematic" to generate .sch file in kicad 5, but now after i change all the key words "KICAD5" into "KICAD8" i got an error: "NameError: name 'active_logger' is not defined"
To Reproduce
Steps to reproduce the behavior:
1.simply by using the function "generate_schematic(tool=KICAD8)"

Expected behavior
it should be able to generate a .sch file

Screenshots
image

image

Desktop (please complete the following information):

  • OS [type & version]: win 10
  • Python version: 3.8.20
  • SKiDL version [e.g. 22] 2.0.0
@d111e d111e added the bug label Dec 4, 2024
@devbisme
Copy link
Owner

devbisme commented Dec 4, 2024

Thanks for reporting this error! I was able to re-create it as well. The error is triggered by this line:

active_logger.warning("Schematic generation is not implemented for KiCad version 8.")

I will fix this error, but you can see from the error message that schematic generation isn't implemented for KiCad 8. So even without the error, you still can't generate a schematic.

@d111e
Copy link
Author

d111e commented Dec 5, 2024

Thanks for reporting this error! I was able to re-create it as well. The error is triggered by this line:

active_logger.warning("Schematic generation is not implemented for KiCad version 8.")

I will fix this error, but you can see from the error message that schematic generation isn't implemented for KiCad 8. So even without the error, you still can't generate a schematic.

ok, thanks for replying to my question, i guess i'll have to return to kicad 5, lol

@devbisme
Copy link
Owner

After working for 1.5 years getting generating schematics for KiCad 5, I halted work for other versions because I couldn't see a viable design flow. For example, once you edited a generated schematic, how would you propagate those changes back into the SKiDL code?

Can you provide some details of how you're using SKiDL and the generated schematics?

@d111e
Copy link
Author

d111e commented Dec 19, 2024 via email

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

No branches or pull requests

2 participants