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

Possible incompatibility with parasitics #35

Open
shyne99 opened this issue Feb 7, 2025 · 1 comment
Open

Possible incompatibility with parasitics #35

shyne99 opened this issue Feb 7, 2025 · 1 comment

Comments

@shyne99
Copy link

shyne99 commented Feb 7, 2025

Hello,

I don't know if this is a specific issue with my setup, but I want to share it anyway had it might help others.

I have installed this plugin along with the Parasitics plugins, and I had a conflict regarding an internal module.

The impart plugin tried to import "search_recursive" from "s_expression_parse", but it tried to import it from "s_expression_parse" that exists inside parasitics.

Here is the error that I have. The impact is that impart does not work at all, it does not show up inside the plugins menu at all. After removing both plugins, restarting and reinstalling Impart, everything load and works as it should.

Traceback (most recent call last):
  File "/home/mehdi/.local/share/kicad/8.0/3rdparty/plugins/com_github_Steffen-W_impartGUI/impart_action.py", line 18, in <module>
    from .KiCadImport import import_lib
  File "/home/mehdi/.local/share/kicad/8.0/3rdparty/plugins/com_github_Steffen-W_impartGUI/KiCadImport.py", line 17, in <module>
    from s_expression_parse import parse_sexp, search_recursive, extract_properties
ImportError: cannot import name 'search_recursive' from 's_expression_parse' (/home/mehdi/.local/share/kicad/8.0/3rdparty/plugins/com_github_Steffen-W_KiCad-Parasitics/s_expression_parse.py)
@Steffen-W
Copy link
Owner

Hi @shyne99,
You have installed the other plugin from me. Unfortunately, this causes a conflict. It is best to uninstall parasitics then impart should work. I still have to solve this problem somehow. Unfortunately, I seem to have made a mistake when importing python libraries.

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

2 participants