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

Simulation doesn't work after the *.sch file is moved #111

Closed
yurivict opened this issue Jul 9, 2022 · 2 comments
Closed

Simulation doesn't work after the *.sch file is moved #111

yurivict opened this issue Jul 9, 2022 · 2 comments
Assignees
Milestone

Comments

@yurivict
Copy link

yurivict commented Jul 9, 2022

When the file is moved to different folder/name - simulation doesn't show result any more.

It contains the old name in the file and this prevents simulation results from being displayed.

You probably need to update names in the file or better not store them at all.

@ra3xdh
Copy link
Owner

ra3xdh commented Jul 10, 2022

Yes, it is a well known issue. The old Qt4 Qucs was also affected. The paths for *.dat and *.dpl are saved in the schematic file and are not updated when you make a copy using the file manager. Always use the File->Save As as the workaround. You can also input dataset names in the schematic properties dialog. As the solution I can propose to show a warning when the basename of the schematic and dataset are not matching after the open file. Something like "The name of schematic and dataset are not matching. Correct it automatically? Yes|No" would be helpful.
image

@ra3xdh
Copy link
Owner

ra3xdh commented Jul 16, 2022

I have added a fix by commit 5331802 Now if the sch and dat/dpl file names are not matching the following message box will be shown. If the user press "Yes" the file names will be fixed automatically.
image

@ra3xdh ra3xdh closed this as completed Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants