-
Notifications
You must be signed in to change notification settings - Fork 8
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
Library search for asc_editor and spice_editor can be improved by looking at the simulator path #69
Comments
Just to trace the paths I found:
Under wine, Under windows or when using the native MacOS simulator, we can just use |
The paths are not the same everywhere and there is a reason for that. In one case we are looking for symbols, another we are looking for libraries, and another for other .asc files. |
Yes, /sub, /sym endings are needed of course. Didn't make that explicit. The main point is that the number of paths to search is not identical everywhere. Working on a POC to automate lib path searches, and to make it easier for the people under wine. |
Proposition: The situation right nowSimulators
EditorsAscEditor (for LTspice):
QschEditor (for Qspice):
asc_to_qsch (for LTspice to Qspice conversion):
SpiceCircuit/SpiceEditor (for LTspice, but potentially others):
Conclusions
Propositions
See branch library-searching-69 |
branch library-searching-69 was merged into trunk. |
Right now, I see these search paths:
3 issues show up:
SpiceCircuit.add_library_search_paths()
orSpiceEditor.LibSearchPaths.append()
), or potentially worse: point to a potentially outdated MacOS version without complaining.~/AppData/Local/Programs/ADI/LTspice/lib.zip
, as that points to the default installation, not the updated files that are normally in one of the paths mentioned above.I propose to tweak these searches to base the search on where the simulator really is installed. Will provide a PR.
The text was updated successfully, but these errors were encountered: