-
Notifications
You must be signed in to change notification settings - Fork 106
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
Feature-reqiest: Backup old options.cfg before upgrade #390
Comments
Not sure if this is needed:
|
well, this request is because installing pysol 3.0 lost my settings from 2.18, see |
I know. I believe it's more likely there was an issue with the file before the upgrade than it is that the upgrade itself caused it. No changes are made to the options.cfg file by the upgrade. |
So I'm going to change this one around a bit. This logic has nothing to do with the upgrade. The config will be overwritten if there's a fatal error when trying to read it (i.e. the file is corrupt), or it's missing outright. If the config file is present and valid but still treated as invalid, that is a bug, and the focus should be on fixing said bug. I'll look into what would need to be done to duplicate the old config as a log/reference file if PySol determines it to be invalid. |
if installing a new version of pysol,
make a copy of the old file options.cfg to a filename like
options_old.cfg, options_v218.cfg or options_2024-09-30.cfg
The text was updated successfully, but these errors were encountered: