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

Crashes in Windows #2

Open
psb1558 opened this issue Dec 6, 2022 · 1 comment
Open

Crashes in Windows #2

psb1558 opened this issue Dec 6, 2022 · 1 comment

Comments

@psb1558
Copy link
Owner

psb1558 commented Dec 6, 2022

There are various differences in file handling between Windows and Unix-like systems. I would like to track down any that are causing trouble. One was reported here, but I haven't been able to reproduce this yet. I did get a crash when trying to save and open a temporary file (for the preview), and this is solved by using a better (more recent) temp file method in the xgridfit dependency. (I have updated xgridfit in the repo, but not yet on PyPi.)

Consider this a thread for reporting any crashes in Windows. Report Python version and system version, please.

@psb1558
Copy link
Owner Author

psb1558 commented Dec 16, 2022

One error message that has been coming up in Windows has to do with failure to read the preferences file, which in Unix-like systems is kept in ~/.ygt/ygt_config.yaml. In Windows systems it is better to keep configuration info in the registry, and that is what ygt now does.

So ygt now keeps preferences when run in Windows, and the error message about failure to locate ygt_config.yaml should no longer appear.

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

1 participant